All pastes #3248 Raw Edit

Anonymous

public java v1 · immutable
#3248 ·published 2004-12-21 16:46 UTC
rendered paste body
if(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);				}			}