Package l2p.gameserver.skills.funcs

Examples of l2p.gameserver.skills.funcs.Func


      return _emptyFunctionSet;
    }
    Func[] funcs = new Func[_funcTemplates.length];
    for(int i = 0; i < funcs.length; i++)
    {
      Func f = _funcTemplates[i].getFunc(this); // effect is owner
      funcs[i] = f;
    }
    return funcs;
  }
View Full Code Here


    GArray<Func> funcs = new GArray<Func>();
    if(_itemTemplate.getAttachedFuncs() != null)
    {
      for(FuncTemplate t : _itemTemplate.getAttachedFuncs())
      {
        Func f = t.getFunc(this);
        if(f != null)
        {
          funcs.add(f);
        }
      }
    }
    if(_funcTemplates != null)
    {
      for(FuncTemplate t : _funcTemplates)
      {
        Func f = t.getFunc(this);
        if(f != null)
        {
          funcs.add(f);
        }
      }
View Full Code Here

      return _emptyFunctionSet;
    }
    GArray<Func> funcs = new GArray<Func>();
    for(FuncTemplate t : _funcTemplates)
    {
      Func f = t.getFunc(this); // skill is owner
      if(f != null)
      {
        funcs.add(f);
      }
    }
View Full Code Here

    L2Character owner = _inv.getOwner();
    owner.addStatFuncs(item.getStatFuncs());
    owner.updateStats();
    if(owner.getPet() != null && item.getAttributeFuncTemplate() != null)
    {
      Func f = item.getAttributeFuncTemplate().getFunc(item);
      owner.getPet().addStatFunc(f);
      owner.getPet().updateStats();
    }
  }
View Full Code Here

TOP

Related Classes of l2p.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.