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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..