So i want to make vengeance give buff only if any people are nearby. Current XML:
<skill id="368" toLevel="1" name="Vengeance">
<icon>icon.skill0368</icon>
<abnormalLvl>3</abnormalLvl>
<abnormalTime>30</abnormalTime>
<abnormalType>PD_UP_SPECIAL</abnormalType>
<affectLimit>10-10</affectLimit>
<affectRange>200</affectRange>
<effectPoint>-8784</effectPoint>
<hitTime>1000</hitTime>
<magicLvl>77</magicLvl>
<mpConsume>35</mpConsume>
<operateType>A3</operateType>
<reuseDelay>900000</reuseDelay>
<basicProperty>NONE</basicProperty>
<magicCriticalRate>5</magicCriticalRate>
<targetType>SELF</targetType>
<affectScope>POINT_BLANK</affectScope>
<affectObject>NOT_FRIEND</affectObject>
<conditions>
<condition name="EquipShield" />
</conditions>
<selfEffects>
<effect name="MagicalDefence">
<amount>4050</amount>
<mode>DIFF</mode>
</effect>
<effect name="PhysicalDefence">
<amount>5400</amount>
<mode>DIFF</mode>
</effect>
<effect name="ResistDispelByCategory">
<amount>-80</amount>
<slot>BUFF</slot>
</effect>
<effect name="Speed">
<amount>-40</amount>
<mode>PER</mode>
</effect>
</selfEffects>
</skill>
Tried to add: <effect name="Vengeance" />, got effecthandler for it, but question is in which overrided function i should perform the checks if the people are nearby? l2jmobius.
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
And you join to maxcheaters to write about scam? to see it who? the other scammers? this is the community from lineage. Thiefs! sad for your money. but don't trust people.
Question
Zeba17
So i want to make vengeance give buff only if any people are nearby. Current XML:
<skill id="368" toLevel="1" name="Vengeance">
<icon>icon.skill0368</icon>
<abnormalLvl>3</abnormalLvl>
<abnormalTime>30</abnormalTime>
<abnormalType>PD_UP_SPECIAL</abnormalType>
<affectLimit>10-10</affectLimit>
<affectRange>200</affectRange>
<effectPoint>-8784</effectPoint>
<hitTime>1000</hitTime>
<magicLvl>77</magicLvl>
<mpConsume>35</mpConsume>
<operateType>A3</operateType>
<reuseDelay>900000</reuseDelay>
<basicProperty>NONE</basicProperty>
<magicCriticalRate>5</magicCriticalRate>
<targetType>SELF</targetType>
<affectScope>POINT_BLANK</affectScope>
<affectObject>NOT_FRIEND</affectObject>
<conditions>
<condition name="EquipShield" />
</conditions>
<selfEffects>
<effect name="MagicalDefence">
<amount>4050</amount>
<mode>DIFF</mode>
</effect>
<effect name="PhysicalDefence">
<amount>5400</amount>
<mode>DIFF</mode>
</effect>
<effect name="ResistDispelByCategory">
<amount>-80</amount>
<slot>BUFF</slot>
</effect>
<effect name="Speed">
<amount>-40</amount>
<mode>PER</mode>
</effect>
</selfEffects>
</skill>
Tried to add: <effect name="Vengeance" />, got effecthandler for it, but question is in which overrided function i should perform the checks if the people are nearby? l2jmobius.
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.