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?
How to check if a skill is a buff?
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Posts: 582
- Joined: Mon Jun 20, 2011 2:40 pm
- Contact:
-
- L2j Veteran
- Posts: 855
- Joined: Mon May 03, 2010 8:38 am
- Location: France
Re: How to check if a skill is a buff?
Let's say skill.hasEffectType(L2EffectType.BUFF)
-
- L2j Veteran
- Posts: 314
- Joined: Mon Mar 11, 2013 4:19 pm
Re: How to check if a skill is a buff?
Not really he must check skill.isContinious() && !skill.isDebuff()Sdw wrote:Let's say skill.hasEffectType(L2EffectType.BUFF)
-
- L2j Veteran
- Posts: 855
- Joined: Mon May 03, 2010 8:38 am
- Location: France
Re: How to check if a skill is a buff?
Make a method now
-
- Posts: 582
- Joined: Mon Jun 20, 2011 2:40 pm
- Contact:
Re: How to check if a skill is a buff?
Just wondering does this include dances/songs? or i need to add a seperate check?