Can someone help me create a skill that works like the grade penalty? I'd like to put a penalty on magic classes when using a heavy set, for example.
The problem is that I'm creating a permanent passive skill. My goal is to create a skill that only activates when the heavy set is equipped and deactivates when I take the set off.
The problem is that I'm creating a permanent passive skill. My goal is to create a skill that only activates when the heavy set is equipped and deactivates when I take the set off.
<skill id="6213" levels="1" name="Heavy Armor Penalty">
<!--
6213 4 Armor Grade Penalty When equipped with armor or accessories whose grade doesn't fit with your level, a penalty is incurred ith decreases in evasion by 10, Atk. Spd./Casting Spd./moving speed by 51.77%.
-->
<table name="#rEvas">10</table>
<table name="#rate">0.12</table>
<set name="icon" val="icon.skill4267"/>
<set name="magicLevel" val="1"/>
<set name="target" val="TARGET_SELF"/>
<set name="skillType" val="DEBUFF"/>
<set name="operateType" val="OP_PASSIVE"/>
<for>
<sub order="0x80" stat="rEvas" val="#rEvas"/>
<mul order="0x70" stat="pAtkSpd" val="#rate"/>
<mul order="0x70" stat="mAtkSpd" val="#rate"/>
<mul order="0x70" stat="runSpd" val="#rate"/>
</for>
<and>
<using armor="Heavy"/>
</and>
</skill>
Last edited: