Anonymous
public java v1 · immutableif(skill.getCondition() == L2Skill.COND_CHARGES) { _log.fine("checking CHARGE conditions."); L2Effect charge = actChar.getEffectOfType(L2Skill.TYPE_CHARGE); <- this line if(charge.getStatValue1() >= skill.getConditionValue()) { charge.setStatValue1(charge.getStatValue1() - skill.getConditionValue()); activeChar.addEffect(charge); } if(charge.getStatValue1() == 0) { activeChar.removeEffect(charge); } }