When you got an Active skill on your weapon from a Life Stone,example Might ,you make the buff,you equip another weapon with another active skill,and you make the new buff.The old buff is not removed so as a result is to Stuck many Active skills together. I am sure it works for Skills on Two-handed weapon like Bow,Duals etc.
_DS_ said that this is retail like. Ok no problem with that but can someone please help us or guide us which code we need to edit if we do not want the users to take so many active skills?
Stuck Skills
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- L2j Veteran
- Posts: 3437
- Joined: Wed Apr 30, 2008 8:53 am
- Location: Russia
Re: Stuck Skills
Search changesets.
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
public static final int PI = 3.1415926535897932384626433832795;
-
- Posts: 371
- Joined: Mon Oct 01, 2007 4:00 pm
Re: Stuck Skills
add stack info to your aug skill xml similar to things like might 3 and chant of battle 3.
same effect but they both over-write each other so you can only have 1 at a time.
same effect but they both over-write each other so you can only have 1 at a time.

- Charus
- L2j Veteran
- Posts: 410
- Joined: Thu Feb 16, 2006 1:24 pm
Re: Stuck Skills
Check L2Augmentation.java at method public void removeBonus(L2PcInstance player)
You can add a config there, something like that.
The config at your properties should be false as default, so you can turn it to true if you want buffs from augmentaion weapons to be removed.
You can add a config there, something like that.
Code: Select all
public void removeBonus(L2PcInstance player){ _boni.removeBonus(player); // remove the skill if any if (_skill != null) { if (_skill.isPassive()) player.removeSkill(_skill); else { if (Config.FORCE_REMOVE_AUGMENTAION_BUFFS) player.removeSkill(_skill); else player.removeSkill(_skill, false, false); } player.sendSkillList(); }}