Event mod race remove

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
babyjason
Posts: 575
Joined: Wed Dec 02, 2009 7:59 pm

Event mod race remove

Post by babyjason »

If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number:4432
L2JDP Revision Number: 7766


I d like to know how to remove other stack types besides speed up when race event start, is it good like this?

Code: Select all

("speed_up,possession")) 
i suppose this is the line wich removes ww and other speed up buffs...

Code: Select all

        for (L2Effect e : player.getAllEffects())        {            if (e.getStackType().equalsIgnoreCase("speed_up,possession"))                e.exit();        }
Post Reply