- Хроники
- Prelude
- Исходники
- Присутствуют
- Сборка
- 26360
Hello experts, i'm using l2scripts zaken and all duelist/GK skills who need charges to use are bugged, because you can use without charges so how i fix it?
So the skill can be used with 0 charges, if you have 3 charges it consumes 3 charges.
Skill example: Break Duress (grand khavatari)
So the skill can be used with 0 charges, if you have 3 charges it consumes 3 charges.
Skill example: Break Duress (grand khavatari)
Код:
<skill id="461" levels="3" name="Break Duress">
<!--
Description:
Lvl 1 - Use your spirit to escape from an immobile state. Level 2 Focused Force charge required.
Lvl 2 - Use your spirit to escape from a slow or immobile state. Level 3 Focused Force charge required.
-->
<table name="#num_charges">2 3</table>
<table name="#magicLevel">60 66</table>
<table name="#dispel_sd_max_abnormal_lvl">0 3</table>
<table name="#mp_consume">29 33 37</table>
<table name="#reuseDelay">600000 420000 300000</table>
<set name="icon" value="icon.skill0461"/>
<set name="reuseDelay" value="#reuseDelay"/>
<set name="hitTime" value="3000"/>
<set name="mp_consume" value="#mp_consume"/>
<set name="ride_state" value="NONE"/>
<set name="magicLevel" value="#magicLevel"/>
<set name="hitCancelTime" value="500"/>
<set name="target" value="TARGET_SELF"/>
<set name="operate_type" value="A2"/>
<set name="num_charges" value="#num_charges"/>
<set name="skillType" value="BUFF"/>
<for>
<effect name="i_dispel_by_slot">
<def name="abnormal_type" value="speed_down"/>
<def name="max_abnormal_level" value="#dispel_sd_max_abnormal_lvl"/>
</effect>
<effect name="i_dispel_by_slot">
<def name="abnormal_type" value="root_magically"/>
<def name="max_abnormal_level" value="3"/>
</effect>
<effect name="i_dispel_by_slot">
<def name="abnormal_type" value="root_physically"/>
<def name="max_abnormal_level" value="3"/>
</effect>
</for>
</skill>