L2JMobius

High Five Should skill 1559 have armor restriction?

Ikemen · 2 · 1186

Offline Ikemen

  • Heir
  • **
    • Posts: 27
Hi, is this " Requires a light armor to be equipped" a client wrong tipo?

Code: [Select]
<skill id="1559" levels="3" name="Potential Ability">
<!-- When equipped with a dagger or a dual dagger, increases Critical Rate by 20% and Critical Damage by 177. Requires a light armor to be equipped. -->
<table name="#cAtkAdd">117 295 384</table>
<table name="#magicLevel">28 40 58</table>
<table name="#rCrit">1.2 1.3 1.4</table>
<set name="icon" val="icon.skill1559" />
<set name="magicLevel" val="#magicLevel" />
<set name="operateType" val="P" />
<set name="targetType" val="SELF" />
<for>
<effect name="Buff">
<mul stat="critRate" val="#rCrit">
<using kind="DAGGER,DUALDAGGER" />
</mul>
<add stat="critDmgAdd" val="#cAtkAdd">
<using kind="DAGGER,DUALDAGGER" />
</add>
</effect>
</for>
</skill>

if isn't wrong tipo, would be this enough?

Code: [Select]
<using kind="DAGGER,DUALDAGGER,LIGHT" />
or

Code: [Select]
<using kind="DAGGER,DUALDAGGER,LIGHT" />
<and>
<not>
<using kind="HEAVY,MAGIC" />
</not>
</and>

thanks in advance


Offline Ikemen

  • Heir
  • **
    • Posts: 27
worked using

Code: [Select]
<skill id="1559" levels="3" name="Potential Ability">
<!-- When equipped with a dagger or a dual dagger, increases Critical Rate by 20% and Critical Damage by 177. Requires a light armor to be equipped. -->
<table name="#cAtkAdd">117 295 384</table>
<table name="#magicLevel">28 40 58</table>
<table name="#rCrit">1.2 1.3 1.4</table>
<set name="icon" val="icon.skill1559" />
<set name="magicLevel" val="#magicLevel" />
<set name="operateType" val="P" />
<set name="targetType" val="SELF" />
<for>
<effect name="Buff">
<mul stat="critRate" val="#rCrit">
<using kind="DAGGER,DUALDAGGER,LIGHT" />
<and>
<not>
<using kind="HEAVY,MAGIC" />
</not>
</and>
</mul>
<add stat="critDmgAdd" val="#cAtkAdd">
<using kind="DAGGER,DUALDAGGER,LIGHT" />
<and>
<not>
<using kind="HEAVY,MAGIC" />
</not>
</and>
</add>
</effect>
</for>
</skill>

using like that, a light armor is required, at the same time, heavy and robe won't activate skill