Fixed trait issue with passive skills.

This commit is contained in:
MobiusDev 2018-03-24 00:59:26 +00:00
parent 22c17f5b7b
commit 53c6427ecb

View File

@ -5168,6 +5168,11 @@ public abstract class L2Character extends L2Object implements ISkillsHolder, IDe
if (oldSkill != null)
{
removeStatsOwner(oldSkill);
if (oldSkill.isPassive())
{
stopSkillEffects(false, oldSkill.getId());
}
}
// Add Func objects of newSkill to the calculator set of the L2Character
addStatFuncs(newSkill.getStatFuncs(null, this));