Code improvements.

This commit is contained in:
MobiusDev
2016-04-24 16:30:15 +00:00
parent 8bd51aba1c
commit 2dd14bef9b
860 changed files with 8865 additions and 17041 deletions

View File

@@ -54,10 +54,6 @@ public class ConditionTargetActiveEffectId extends Condition
public boolean testImpl(L2Character effector, L2Character effected, Skill skill, L2Item item)
{
final BuffInfo info = effected.getEffectList().getBuffInfoBySkillId(_effectId);
if ((info != null) && ((_effectLvl == -1) || (_effectLvl <= info.getSkill().getLevel())))
{
return true;
}
return false;
return (info != null) && ((_effectLvl == -1) || (_effectLvl <= info.getSkill().getLevel()));
}
}