Jump to content
  • 0

[Help] Debuff Slots Java Code


Question

6 answers to this question

Recommended Posts

  • 0
Posted

This is it http://trac.l2jserver.com/changeset/2145 ? If so,  i don`t have privileges to see it :(. Maybe it is somewhere else ?

 

Look at my own slot system and add the changes.

 

                       // Remove first Buff if number of buffs > getMaxBuffCount()
		L2Skill tempSkill = newEffect.getSkill();
		if (getBuffCount() > getMaxBuffCount() && !doesStack(tempSkill) && ((
			tempSkill.getSkillType() == L2Skill.SkillType.BUFF ||
               tempSkill.getSkillType() == L2Skill.SkillType.REFLECT ||
               tempSkill.getSkillType() == L2Skill.SkillType.HEAL_PERCENT ||
               tempSkill.getSkillType() == L2Skill.SkillType.MANAHEAL_PERCENT) &&
               !tempSkill.isOffensive() && !(tempSkill.getId() > 4360
                              && tempSkill.getId() < 4367))

  • 0
Posted

Lol >.< that was easy i just deleted " tempskill.getSkillType() == L2SkillType.DEBUFF ". I dont know why i didnt think about it earlier ^^, anyway thank you :).

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock