Skip to content

[Request] Code for enable target_self buffs with Anti-buff shield

Featured Replies

So i added this code:

http://www.maxcheaters.com/forum/index.php?topic=157491.0

to my server, and i have one problem, i am not able to use potions, like greater healing potion, magic haste potion and etc.

the potions which i can use is: qhp, mana, cp which skilltype is "hot".

 

The point i want to add line that if i am with anti-buff effect, i can use potions or even buffs which has option target_self.

 

I am bad in java but i quess here:

 

// With Mystic Immunity you can't be buffed/debuffed

if (target.isBuffShieldOn())

continue;

 

So my quess it should be something like:

 

            // Walls and Door should not be buffed

            if(target.isBuffShieldOn && != SkillTargetType.TARGET_SELF ))

            continue;

But i need correct edit :) i dont understand java, i just quess.

 

So maybe someone could help me with that?

I would be thankfull 4ever =]

 

Best Regards,

a1

  • Author

Anyone? :(

  • Author

Fixed by self =] Please remove or delete this topic.

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.