L2JMobius
Public Development => General Discussion => Topic started by: Ikemen on January 11, 2025, 08:06:13 AM
-
Hi, is this " Requires a light armor to be equipped" a client wrong tipo?
<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?
<using kind="DAGGER,DUALDAGGER,LIGHT" />
or
<using kind="DAGGER,DUALDAGGER,LIGHT" />
<and>
<not>
<using kind="HEAVY,MAGIC" />
</not>
</and>
thanks in advance
-
worked using
<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