Fixing L2EffectZone message spamming.

This commit is contained in:
MobiusDev
2016-06-12 10:56:32 +00:00
parent 366024dd3a
commit 3632bd9852
2 changed files with 6 additions and 3 deletions

View File

@ -250,7 +250,10 @@ public final class L2EffectZone extends L2ZoneType
final Skill skill = SkillData.getInstance().getSkill(e.getKey(), e.getValue());
if ((skill != null) && (_bypassConditions || skill.checkCondition(character, character)))
{
skill.activateSkill(character, character);
if (!character.isAffectedBySkill(skill.getId()))
{
skill.activateSkill(character, character);
}
}
}
}