Package net.sf.l2j.gameserver.skills.funcs

Examples of net.sf.l2j.gameserver.skills.funcs.Func


      {
        for (FuncTemplate t : _funcTemplates) {
          Env env = new Env();
          env.player = player;
          env.item = instance;
          Func f = t.getFunc(env, instance);
          if (f != null)
            funcs.add(f);
        }
      }
      return funcs.toArray(new Func[funcs.size()]);
View Full Code Here


      {
        for (FuncTemplate t : _funcTemplates) {
          Env env = new Env();
          env.player = player;
          env.item = instance;
          Func f = t.getFunc(env, instance);
          if (f != null)
            funcs.add(f);
        }
      }
      return funcs.toArray(new Func[funcs.size()]);
View Full Code Here

    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)
          funcs.add(f);
    }
      if (funcs.size() == 0)
        return _emptyFunctionSet;
View Full Code Here

        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) funcs.add(f);
        }
        if (funcs.size() == 0) return _emptyFunctionSet;
        return funcs.toArray(new Func[funcs.size()]);
    }
View Full Code Here

        {
            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) funcs.add(f);
        }
        if (funcs.size() == 0) return _emptyFunctionSet;
        return funcs.toArray(new Func[funcs.size()]);
    }
View Full Code Here

TOP

Related Classes of net.sf.l2j.gameserver.skills.funcs.Func

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.