}
if (attrs.getNamedItem("stackOrder") != null)
{
stackOrder = Float.parseFloat(getValue(attrs.getNamedItem("stackOrder").getNodeValue(), template));
}
EffectTemplate lt = new EffectTemplate(attachCond, applayCond, name, lambda, count, time,
abnormal, stackType, stackOrder);
parseTemplate(n, lt);
if (template instanceof L2Item) ((L2Item) template).attach(lt);
else if (template instanceof L2Skill && !self) ((L2Skill) template).attach(lt);
else if (template instanceof L2Skill && self) ((L2Skill) template).attachSelf(lt);