Resolved NPC resists weapons

test

Heir
Customer
в резистах от оружия для npc есть вопрос по скилу. Правильно понимаю, там отнимается показатель, и чем ниже он тем выше сопротивляемость?
(id 4443-4449)
пример

XML:
<skill id="4448" levels="5" name="Higher resist Daggers/Rapier Weapon">
    <table name="#Tab-daggerRcpt">30 35 40 45 50</table>
    <set name="icon" val="icon.skill4448"/>
    <set name="magicLevel" val="1"/>
    <set name="target" val="TARGET_SELF"/>
    <set name="skillType" val="BUFF"/>
    <set name="operateType" val="OP_PASSIVE"/>
    <for>
      <sub order="0x40" stat="daggerWpnVuln" val="#Tab-daggerRcpt"/>
    </for>
  </skill>

тогда почему например резист от двуручного оружие другой параметр имеет. Непонятно

XML:
  <skill id="4449" levels="5" name="Greater Resist Two-handed Weapons">
    <table name="#vuln">0.5 0.4 0.3 0.2 0.1</table> 
    <set name="icon" val="icon.skill4449"/> 
    <set name="magicLevel" val="1"/> 
    <set name="magicLvl" val="1"/> 
    <set name="operateType" val="OP_PASSIVE"/> 
    <set name="skillType" val="BUFF"/> 
    <set name="target" val="TARGET_SELF"/> 
    <for>
      <mul order="0x30" stat="swordWpnVuln" val="#vuln"/> 
      <mul order="0x30" stat="bluntWpnVuln" val="#vuln"/>
      <mul order="0x30" stat="dualWpnVuln" val="#vuln"/>
    </for>
  </skill>
 
Last edited:
в резистах от оружия для npc есть вопрос по скилу. Правильно понимаю, там отнимается показатель, и чем ниже он тем выше сопротивляемость?
(id 4443-4449)
пример

XML:
<skill id="4448" levels="5" name="Higher resist Daggers/Rapier Weapon">
    <table name="#Tab-daggerRcpt">30 35 40 45 50</table>
    <set name="icon" val="icon.skill4448"/>
    <set name="magicLevel" val="1"/>
    <set name="target" val="TARGET_SELF"/>
    <set name="skillType" val="BUFF"/>
    <set name="operateType" val="OP_PASSIVE"/>
    <for>
      <sub order="0x40" stat="daggerWpnVuln" val="#Tab-daggerRcpt"/>
    </for>
  </skill>

тогда почему например резист от двуручного оружие другой параметр имеет. Непонятно

XML:
  <skill id="4449" levels="5" name="Greater Resist Two-handed Weapons">
    <table name="#vuln">0.5 0.4 0.3 0.2 0.1</table>
    <set name="icon" val="icon.skill4449"/>
    <set name="magicLevel" val="1"/>
    <set name="magicLvl" val="1"/>
    <set name="operateType" val="OP_PASSIVE"/>
    <set name="skillType" val="BUFF"/>
    <set name="target" val="TARGET_SELF"/>
    <for>
      <mul order="0x30" stat="swordWpnVuln" val="#vuln"/>
      <mul order="0x30" stat="bluntWpnVuln" val="#vuln"/>
      <mul order="0x30" stat="dualWpnVuln" val="#vuln"/>
    </for>
  </skill>

In the first skill, the parameter is "sub", so the value is subtracted. In the second, the parameter is "mul", so the value is multiplied.
 
Здесь есть все ответы на твои вопросы, прочитай внимательнее и вдумчиво
 
1. the skills you posted above are not used nowhere, not used by any npc in the datapack
2. the difference that you "found out" between the one skill that has "sub" and the other skill that has "mul" parameters->
this is pure math knowledge.

MATH: look closer again, the one skill has "sub order" but the values are Rcpt "30 35 40 45 50"
Explanation: so when you substitute by 30/35/40/45/50 you lower the result by a certain rate. in this case the damage from a bow will be lower.

MATH2: look the next one, the skill has "mul order" but the values are Rcpt "0.5 0.4 0.3 0.2 0.1"
Explanation: so when you multiply with 0.5 / 0.4 / 0.3 / 0.2 / 0.1 THEN AGAIN you lower the result by a certain rate. in this case too the result will be lower damage.
 
меседж был непонят тк geoniz снова пытался перевести автоматом и смысл был утерян вновь.
сам покопался и понял что

в параметре *****resist чем выше число тем сильнее резист
в параметра *****vuln чем ниже число тем сильнее резист тк это (уязвимость, обратное от резиста) поэтому если vuln то нужно отнимать если resit то прибавлять, уможения не имеет смысла в данном случае.
Здесь есть все ответы на твои вопросы, прочитай внимательнее и вдумчиво
там нет того что описал.
Сомнения возникли когда один и тот же пак скилов (типы оружия\елементы магии) имеют разные параметры, что нелогично.
лук\кинжал\кулаки\блант\лук - имеют sub в резистах, а следом двуручное mul. это смущает.
 
the message was not understood because geoniz again tried to translate automatically and the meaning was lost again.
I dug around and realized that

in the parameter *****resist the higher the number the stronger the resist
in the parameter *****vuln the lower the number the stronger the resistance because this is (vulnerability, the inverse of the resistance) therefore if vuln then you need to subtract if resit then add, the possibility does not make sense in this case.

what I described is not there.
Doubts arose when the same skill pack (weapon types/magic elements) had different parameters, which was illogical.
bow\dagger\fists\blunt\bow - have sub in resistances, and then a two-handed mul. this is confusing.

you can translate this for sure: learn more mathematics, leave grammar outside.
and yes some skills are messed up a bit, this does not stop them from working :D

here example with out translate:
mul: 1 x 30.3 = 30 another ex.: 10 x 0.1 = 1

sub: 1 / 0.033 = 30.3 another ex.: 10 / 10 = 1
 
you can translate this for sure: learn more mathematics, leave grammar outside.
and yes some skills are messed up a bit, this does not stop them from working :D

here example with out translate:
mul: 1 x 30.3 = 30 another ex.: 10 x 0.1 = 1

sub: 1 / 0.033 = 30.3 another ex.: 10 / 10 = 1
и снова автопереводчик не смог перевести смысл поста )) менталитет не перенести :rolleyes:

тема закрыта я разобрался самостоятельно. Но спасибо за попуск меня в математике просто так.
 
меседж был непонят тк geoniz снова пытался перевести автоматом и смысл был утерян вновь.
сам покопался и понял что

в параметре *****resist чем выше число тем сильнее резист
в параметра *****vuln чем ниже число тем сильнее резист тк это (уязвимость, обратное от резиста) поэтому если vuln то нужно отнимать если resit то прибавлять, уможения не имеет смысла в данном случае.

там нет того что описал.
Сомнения возникли когда один и тот же пак скилов (типы оружия\елементы магии) имеют разные параметры, что нелогично.
лук\кинжал\кулаки\блант\лук - имеют sub в резистах, а следом двуручное mul. это смущает.
Там есть всё! Тебе видимо если в упор показать все равно скажешь это не то.
 
and again the autotranslator couldn't translate the meaning of the post, says that guy.

meanwhile the post:
mathematics: 1 x 30.3 = 30.3 or 1 / 0.033 = 30.3
more maths : 10 x 0.1 = 1 or 10 / 10 = 1
 
Там есть всё! Тебе видимо если в упор показать все равно скажешь это не то.
классно что там есть всё, только я спрашивал совсем не это. Чувство что я с ботами порой переписываюсь, которые видят ключевые слова в посте и дают шаблонный ответ, когда смысл совсем в другом.
я не спрашивал что такое адд саб мул сет, что такое 00 01 02 03 04 в формулах лол.
вопрос был в том что почему для повышения резиста магии нужно добавлять параметр а для повышения резиста от оружия уменьшать. и почему у всех резистов на оружие параметр уменьшения, а на двуручный меч умножение. никто не ответил, методами теста нашел ответ сам, который и описал выше.
 
Last edited:
  • Like
Reactions: aly
Back
Top