Package l2p.gameserver.model

Examples of l2p.gameserver.model.L2Character.updateStats()


  public void notifyUnequipped(int slot, L2ItemInstance item)
  {
    L2Character owner = _inv.getOwner();
    owner.removeStatsOwner(item);
    owner.updateStats();
    if(owner.getPet() != null)
    {
      owner.getPet().removeStatsOwner(item);
      owner.getPet().updateStats();
    }
View Full Code Here


  public void notifyEquipped(int slot, L2ItemInstance item)
  {
    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
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.