L2-scripts Форум

L2-scripts Форум (http://l2-scripts.ru/forum/index.php)
-   Archive Lindvior, Ertheia, Odyssey, Undergeround, Helios, Grand Crusade (http://l2-scripts.ru/forum/forumdisplay.php?f=103)
-   -   Про Guts и Frienzy (FIXED) (http://l2-scripts.ru/forum/showthread.php?t=5294)

Scorpius 11.04.2015 21:12

Про Guts и Frienzy (FIXED)
 
Давно собирался написать, в общем, у Вас эти два бафа, при вашей конфигурации висят бесконечное время. Я себя исправил таким образом:

Код:

<skill id="139" levels="9" name="Guts">
                <table name="#pDef">2 2.1 2.2 2.3 2.4 2.5 2.6 2.8 3</table>
                <table name="#debuffResist">1.5 1.55 1.6 1.65 1.7 1.75 1.8 1.85 1.9</table>
                <table name="#effectPoint">341 408 495 674 734 846 951 1011 1106</table>
                <table name="#magicLevel">36 43 52 64 74 85 90 95 99</table>
                <table name="#abnormal_level">1 2 3 4 5 6 7 8 9</table>
                <table name="#mp_consume">16 19 24 26 28 30 35 40 45</table>
                <table name="#percentHP">60 60 60 60 60 90 90 90 90</table>
                <table name="#abnormal_time">60</table>
                <set name="reuseDelay" value="300000"/>
                <set name="hitTime" value="1500"/>
                <set name="mp_consume" value="#mp_consume"/>
                <set name="ride_state" value="NONE"/>
                <set name="abnormal_level" value="#abnormal_level"/>
                <set name="abnormal_time" value="#abnormal_time"/>
                <set name="abnormal_type" value="pinch"/>
                <set name="magicLevel" value="#magicLevel"/>
                <set name="icon" value="icon.skill0139"/>
                <set name="hitCancelTime" value="500"/>
                <set name="effectPoint" value="#effectPoint"/>
                <set name="target" value="TARGET_SELF"/>
                <set name="skillType" value="BUFF"/>
                <set name="operateType" value="OP_ACTIVE"/>
                <cond msgId="113">
                        <player percentHP="#percentHP"/>
                </cond>
                <enchant type="1" levels="10" group="7" name="Time">
                        <table name="#abnormal_time">62 64 66 68 70 72 74 76 78 80</table>
                </enchant>
                <enchant type="2" name="Penalty">
                        <table name="#percentHP">91 92 93 94 95 96 97 98 99 100</table>
                </enchant>
                <for>
                        <effect>
                                <mul order="0x30" stat="pDef" value="#pDef"/>
                                <mul order="0x30" stat="debuffResist" value="#debuffResist"/>
                        </effect>
                </for>
        </skill>

Код:

<skill id="176" levels="9" name="Frenzy">
                <table name="#pAtk">1.1 1.11 1.12 1.13 1.14 1.15 1.16 1.8 2</table>
                <table name="#pAtkSpd">1.1 1.12 1.15 1.17 1.2 1.22 1.25 1.27 1.3</table>
                <table name="#basePCritRate">10 11 12 13 14 15 16 18 20</table>
                <table name="#pCritDamage">1.1 1.11 1.12 1.13 1.14 1.15 1.16 1.18 1.2</table>
                <table name="#runSpd">10 11 12 13 14 15 16 18 20</table>
                <table name="#pAccCombat">0 0 0 0 0 8 8 8 8</table>
                <table name="#pAtkWeaponCond">1 1 1 1 1 1.1 1.1 1.1 1.1</table>
                <table name="#pAtk60PercentCond">1 1 1 1 1 1.1 1.1 1.1 1.1</table>
                <table name="#basePCritRate60PercentCond">0 0 0 0 0 100 100 100 100</table>
                <table name="#pAtk30PercentCond">1 1 1 1 1 1.3 1.3 1.3 1.3</table>
                <table name="#basePCritRate30PercentCond">0 0 0 0 0 300 300 300 300</table>
                <table name="#stunPower">0</table>
                <table name="#percentHP">60 60 60 60 60 90 90 90 90</table>
                <table name="#effectPoint">303 438 523 674 734 846 951 1011 1106</table>
                <table name="#magicLevel">32 46 55 64 74 85 90 95 99</table>
                <table name="#abnormal_level">1 2 3 4 5 6 7 8 9</table>
                <table name="#reuseDelay">300000</table>
                <table name="#mp_consume">14 21 25 31 36 40 43 45 47</table>
                <table name="#abnormal_time">60</table>
                <set name="abnormal_time" value="#abnormal_time"/>
                <set name="reuseDelay" value="#reuseDelay"/>
                <set name="hitTime" value="1500"/>
                <set name="mp_consume" value="#mp_consume"/>
                <set name="ride_state" value="NONE"/>
                <set name="abnormal_level" value="#abnormal_level"/>
                <set name="abnormal_type" value="pinch"/>
                <set name="magicLevel" value="#magicLevel"/>
                <set name="icon" value="icon.skill0176"/>
                <set name="hitCancelTime" value="500"/>
                <set name="effectPoint" value="#effectPoint"/>
                <set name="target" value="TARGET_SELF"/>
                <set name="skillType" value="BUFF"/>
                <set name="operateType" value="OP_ACTIVE"/>
                <cond msgId="113">
                        <player percentHP="#percentHP"/>
                </cond>
                <enchant type="1" levels="10" group="7" name="Cost">
                        <table name="#mp_consume">45 43 41 39 37 35 33 31 30 28</table>
                </enchant>
                <!--<enchant type="9" name="Reuse">
                        <table name="#reuseDelay">291000 282000 273000 264000 255000 246000 237000 228000 219000 210000</table>
                </enchant>-->
                <enchant type="2" name="Time">
                        <table name="#abnormal_time">62 64 66 68 70 72 74 76 78 80</table>
                </enchant>
                <enchant type="3" name="Penalty">
                        <table name="#percentHP">91 92 93 94 95 96 97 98 99 100</table>
                </enchant>
                <enchant type="4" name="Stun Power">
                        <table name="#stunPower">1 2 3 4 5 6 7 8 9 10</table>
                </enchant>
                <for>
                        <effect>
                                <mul order="0x30" stat="pAtk" value="#pAtk"/>
                                <mul order="0x30" stat="pAtkSpd" value="#pAtkSpd"/>
                                <add order="0x40" stat="basePCritRate" value="#basePCritRate"/>
                                <add order="0x30" stat="pCritDamage" value="#pCritDamage"/>
                                <add order="0x40" stat="runSpd" value="#runSpd"/>
                                <add order="0x40" stat="pAccCombat" value="#pAccCombat"/>
                                <mul order="0x30" stat="pAtk" value="#pAtkWeaponCond">
                                        <using kind="Big Sword, Dual Blunt, Pole"/>
                                </mul>
                                <mul order="0x50" stat="pAtk" value="#pAtk60PercentCond">
                                        <and>
                                                <player percentHP="60"/>
                                                <not>
                                                        <player percentHP="30"/>
                                                </not>
                                        </and>
                                </mul>
                                <add order="0x60" stat="basePCritRate" value="#basePCritRate60PercentCond">
                                        <and>
                                                <player percentHP="60"/>
                                                <not>
                                                        <player percentHP="30"/>
                                                </not>
                                        </and>
                                </add>
                                <mul order="0x50" stat="pAtk" value="#pAtk30PercentCond">
                                        <player percentHP="30"/>
                                </mul>
                                <add order="0x60" stat="basePCritRate" value="#basePCritRate30PercentCond">
                                        <player percentHP="30"/>
                                </add>
                                <add order="0x40" stat="stunPower" value="#stunPower"/>
                        </effect>
                </for>
        </skill>


Core 13.04.2015 18:31

Спасибо. Исправлено.


Часовой пояс GMT +4, время: 09:19.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd. Перевод: zCarot