Package com.l2jfrozen.gameserver.skills.funcs

Examples of com.l2jfrozen.gameserver.skills.funcs.Lambda


  protected void attachFunc(Node n, Object template, String name, Condition attachCond)
  {
    Stats stat = Stats.valueOfXml(n.getAttributes().getNamedItem("stat").getNodeValue());
    String order = n.getAttributes().getNamedItem("order").getNodeValue();
    Lambda lambda = getLambda(n, template);
    int ord = Integer.decode(getValue(order, template));
    Condition applayCond = parseCondition(n.getFirstChild(), template);
    FuncTemplate ft = new FuncTemplate(attachCond, applayCond, name, stat, ord, lambda);
    if(template instanceof L2Item)
    {
View Full Code Here


  {
    String name = n.getNodeName();
    TextBuilder sb = new TextBuilder(name);
    sb.setCharAt(0, Character.toUpperCase(name.charAt(0)));
    name = sb.toString();
    Lambda lambda = getLambda(n, template);
    FuncTemplate ft = new FuncTemplate(null, null, name, null, calc.funcs.length, lambda);
    calc.addFunc(ft.getFunc(new Env(), calc));
  }
View Full Code Here

      {
        self = true;
      }
    }

    Lambda lambda = getLambda(n, template);
    Condition applayCond = parseCondition(n.getFirstChild(), template);

    int abnormal = 0;

    if(attrs.getNamedItem("abnormal") != null)
View Full Code Here

TOP

Related Classes of com.l2jfrozen.gameserver.skills.funcs.Lambda

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.