Jump to content
  • 0

Question

Posted

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

  • 0
Posted

This required core support. I would recommend @kalimeris for this, as he demonstrated very strong understanding of coding and l2j logic and has fixed this along with many other problems in mobius for me. Also very reasonably priced. You can fix this for like 5e.

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.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...