Page 1 of 1
How to check if a skill is a buff?
Posted: Thu Jan 15, 2015 11:56 am
by sahar
Might be a dumb question but i still want to be sure of this, as i saw BUFF_IMMUNITY isnt implemenated, and i want to create an anti buff skill.
So whats the best way to detect if a skill is a buff?
Re: How to check if a skill is a buff?
Posted: Thu Jan 15, 2015 12:43 pm
by Sdw
Let's say skill.hasEffectType(L2EffectType.BUFF)
Re: How to check if a skill is a buff?
Posted: Fri Jan 16, 2015 12:12 am
by NosBit
Sdw wrote:Let's say skill.hasEffectType(L2EffectType.BUFF)
Not really he must check skill.isContinious() && !skill.isDebuff()
Re: How to check if a skill is a buff?
Posted: Fri Jan 16, 2015 8:41 am
by Sdw
Make a method now
Re: How to check if a skill is a buff?
Posted: Mon Jan 19, 2015 8:46 pm
by sahar
Just wondering does this include dances/songs? or i need to add a seperate check?