07-19-2010, 07:39 PM
День добрый! Можете обьяснить? Вот мне например нужно увеличить шанс летала у скилла Turn Undead, Мне нужно поставить значение в процентах?
Тоесть если я хочу шанс 60% то заместо 30% вписать 60%?
<skill id="1400" levels="10" name="Turn Undead">
<!--
Done by: Diamond
Last modify: 22.06.2009, Diamond
Description:
Strikes fear into undead for 20 seconds, causing them to flee. Consumes 3-5 Runestones. Lethal Strike is possible.
-->
<table name="#Consume">3 3 4 4 4 4 5 5 5 5</table>
<table name="#lethal2">30</table>
<table name="#magicLevel">56 58 60 62 64 66 68 70 72 74</table>
<table name="#time">20</table>
<table name="#power">0</table>
<table name="#buffCount">0</table>
<table name="#elementPower">0</table>
<set name="power" val="#power" />
<set name="magicLevel" val="#magicLevel" />
<set name="target" val="TARGET_ONE" />
<set name="skillType" val="MDAM" />
<set name="activateRate" val="50" />
<set name="operateType" val="OP_ACTIVE" />
<set name="itemConsumeId" val="3031" />
<set name="itemConsumeCount" val="#Consume" />
<set name="lethal2" val="#lethal2" />
<set name="undeadOnly" val="true" />
<enchant1 levels="30" name="Power">
<table name="#lethal2">31 31 31 32 32 32 33 33 33 34 34 34 35 35 35 36 36 36 37 37 37 38 38 38 39 39 39 40 40 40</table>
</enchant1>
<enchant2 levels="30" name="Cost">
<table name="#time">21 22 24 25 26 28 29 30 32 33 34 36 37 38 40 41 42 44 45 46 48 49 50 52 53 54 56 57 58 60</table>
</enchant2>
<enchant3 name="Attack">
<table name="#power">21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50</table>
</enchant3>
<enchant4 name="Holy Attack">
<table name="#buffCount">1</table>
<table name="#elementPower">21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50</table>
</enchant4>
<for>
<effect count="3" name="Fear" stackOrder="-1" stackType="Fear" time="#time" val="0" />
<effect count="#buffCount" name="Buff" time="60" applyOnCaster="true">
<add order="0x40" stat="attackSacred" val="#elementPower" />
</effect>
</for>
</skill>
Тоесть если я хочу шанс 60% то заместо 30% вписать 60%?
<skill id="1400" levels="10" name="Turn Undead">
<!--
Done by: Diamond
Last modify: 22.06.2009, Diamond
Description:
Strikes fear into undead for 20 seconds, causing them to flee. Consumes 3-5 Runestones. Lethal Strike is possible.
-->
<table name="#Consume">3 3 4 4 4 4 5 5 5 5</table>
<table name="#lethal2">30</table>
<table name="#magicLevel">56 58 60 62 64 66 68 70 72 74</table>
<table name="#time">20</table>
<table name="#power">0</table>
<table name="#buffCount">0</table>
<table name="#elementPower">0</table>
<set name="power" val="#power" />
<set name="magicLevel" val="#magicLevel" />
<set name="target" val="TARGET_ONE" />
<set name="skillType" val="MDAM" />
<set name="activateRate" val="50" />
<set name="operateType" val="OP_ACTIVE" />
<set name="itemConsumeId" val="3031" />
<set name="itemConsumeCount" val="#Consume" />
<set name="lethal2" val="#lethal2" />
<set name="undeadOnly" val="true" />
<enchant1 levels="30" name="Power">
<table name="#lethal2">31 31 31 32 32 32 33 33 33 34 34 34 35 35 35 36 36 36 37 37 37 38 38 38 39 39 39 40 40 40</table>
</enchant1>
<enchant2 levels="30" name="Cost">
<table name="#time">21 22 24 25 26 28 29 30 32 33 34 36 37 38 40 41 42 44 45 46 48 49 50 52 53 54 56 57 58 60</table>
</enchant2>
<enchant3 name="Attack">
<table name="#power">21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50</table>
</enchant3>
<enchant4 name="Holy Attack">
<table name="#buffCount">1</table>
<table name="#elementPower">21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50</table>
</enchant4>
<for>
<effect count="3" name="Fear" stackOrder="-1" stackType="Fear" time="#time" val="0" />
<effect count="#buffCount" name="Buff" time="60" applyOnCaster="true">
<add order="0x40" stat="attackSacred" val="#elementPower" />
</effect>
</for>
</skill>