Package com.l2jfrozen.gameserver.skills

Examples of com.l2jfrozen.gameserver.skills.Env


    return false;
  }

  public final double calc()
  {
    Env env = new Env();
    env.player = _effector;
    env.target = _effected;
    env.skill = _skill;
    return _lambda.calc(env);
  }
View Full Code Here


    if(_funcTemplates == null)
      return _emptyFunctionSet;
    List<Func> funcs = new FastList<Func>();
    for(FuncTemplate t : _funcTemplates)
    {
      Env env = new Env();
      env.player = getEffector();
      env.target = getEffected();
      env.skill = getSkill();
      Func f = t.getFunc(env, this); // effect is owner
      if(f != null)
View Full Code Here

    // If no Func object found, no modifier is applied
    if(c == null || c.size() == 0)
      return init;

    // Create and init an Env object to pass parameters to the Calculator
    Env env = new Env();
    env.player = _activeChar;
    env.target = target;
    env.skill = skill;
    env.value = init;
    env.baseValue = init;
View Full Code Here

    }

    if(preCondition == null)
      return true;

    Env env = new Env();
    env.player = activeChar;
    if(target instanceof L2Character)
    {
      env.target = (L2Character) target;
    }
View Full Code Here

    List<Func> funcs = new FastList<Func>();

    for(FuncTemplate t : _funcTemplates)
    {
      Env env = new Env();
      env.player = player;
      env.skill = this;
      Func f = t.getFunc(env, this); // skill is owner

      if(f != null)
View Full Code Here

   
    /*
     * if(getSkillType()==SkillType.BUFF) for(final L2Effect ef: effector.getAllEffects()) { if(ef!=null && ef.getSkill()!=null){ if(ef.getSkill().getId() == getId() && ef.getSkill().getLevel() > getLevel()) return _emptyEffectSet; } }
     */
   
    Env env = new Env();
    env.player = effector;
    env.target = effected;
    env.skill = this;
    env.skillMastery = skillMastery;
   
View Full Code Here

    if(_effectTemplatesSelf == null)
      return _emptyEffectSet;

    List<L2Effect> effects = new FastList<L2Effect>();

    Env env = new Env();
    env.player = effector;
    env.target = effector;
    env.skill = this;
   
    for(EffectTemplate et : _effectTemplatesSelf)
View Full Code Here

    List<Func> funcs = new FastList<Func>();
    if(_funcTemplates != null)
    {
      for(FuncTemplate t : _funcTemplates)
      {
        Env env = new Env();
        env.player = player;
        env.item = instance;
        Func f = t.getFunc(env, instance);
        if(f != null)
        {
View Full Code Here

    List<Func> funcs = new FastList<Func>();
    if(_funcTemplates != null)
    {
      for(FuncTemplate t : _funcTemplates)
      {
        Env env = new Env();
        env.player = player;
        env.item = instance;
        Func f = t.getFunc(env, instance);
        if(f != null)
        {
View Full Code Here

    if(_funcTemplates == null)
      return _emptyFunctionSet;
    List<Func> funcs = new FastList<Func>();
    for(FuncTemplate t : _funcTemplates)
    {
      Env env = new Env();
      env.player = player;
      env.target = player;
      env.item = instance;
      Func f = t.getFunc(env, this); // skill is owner
      if(f != null)
View Full Code Here

TOP

Related Classes of com.l2jfrozen.gameserver.skills.Env

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.