Package l2p.gameserver.skills

Examples of l2p.gameserver.skills.Calculator.calc()


    Env env = new Env();
    env.character = this;
    env.target = object;
    env.skill = skill;
    env.value = init;
    c.calc(env);
    return env.value;
  }

  public final double calcStat(Stats stat, L2Character object, L2Skill skill)
  {
View Full Code Here


    stat.getInit().calc(env);
    int id = stat.ordinal();
    Calculator c = _calculators[id];
    if(c != null)
    {
      c.calc(env);
    }
    return env.value;
  }

  /**
 
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.