L2J Revision Number:2733
L2JDP Revision Number:5612
hello all ,
i have modified the core buffer used in that revisions, but i dont know how i can add cancel buffs/heal (hp,mp,cp) options on it. If you will ,answer please
ty 4 ur time,
hf all
buffer cancel buffs and heal option?
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Posts: 750
- Joined: Sun Dec 07, 2008 7:01 pm
- Location: Poland
Re: buffer cancel buffs and heal option?
For cancel, look at the oly code. Players get buffs canceled when they enter. Use that method.
For heal, look at the l2raidbossinstance code. They heal to full when they teleport to spawn. Use that method.
For heal, look at the l2raidbossinstance code. They heal to full when they teleport to spawn. Use that method.
-
- Posts: 115
- Joined: Thu Aug 14, 2008 10:10 am
Re: buffer cancel buffs and heal option?
thanks, i'm on it. ^^
-
- Posts: 115
- Joined: Thu Aug 14, 2008 10:10 am
Re: buffer cancel buffs and heal option?
i searched it for a while,, w/o success ;// the only thing i found was smth from the arena director but it doesnt work on the buffer . need help^
-
- Posts: 750
- Joined: Sun Dec 07, 2008 7:01 pm
- Location: Poland
Re: buffer cancel buffs and heal option?
player.stopAllEffects();cheatax21 wrote:i searched it for a while,, w/o success ;// the only thing i found was smth from the arena director but it doesnt work on the buffer . need help^
activeChar.setCurrentHp(activeChar.getMaxHp());
activeChar.setCurrentMp(activeChar.getMaxMp());
activeChar.setCurrentCp(activeChar.getMaxCp());
-
- Posts: 115
- Joined: Thu Aug 14, 2008 10:10 am
Re: buffer cancel buffs and heal option?
okz thanks