Buff effect

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
andr3iu7z
Posts: 114
Joined: Sun Jan 10, 2010 2:25 pm

Buff effect

Post by andr3iu7z »

If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision 4618:
L2JDP Revision 8002:

Hello , i was searching for a method that you can search in someone's active buffs like if he is buffed with might/shield etc to return true or false something like haveActiveBuff(skillId)

Thank you
User avatar
smuggbg
Posts: 109
Joined: Wed Mar 02, 2011 2:39 pm
Location: Bulgaria

Re: Buff effect

Post by smuggbg »

alt+g ;)
User avatar
UnAfraid
L2j Veteran
L2j Veteran
Posts: 4199
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:

Re: Buff effect

Post by UnAfraid »

if (player.getFirstEffect(skillId) == null)
player doesn't have such buff/debuff
Image
andr3iu7z
Posts: 114
Joined: Sun Jan 10, 2010 2:25 pm

Re: Buff effect

Post by andr3iu7z »

ok, thanks unafraid:D
Post Reply