Package lineage2.gameserver.model

Examples of lineage2.gameserver.model.Player.updateStats()


      }
    }
    if (update)
    {
      player.sendPacket(new SkillList(player));
      player.updateStats();
    }
  }
 
  /**
   * Method onUnequip.
View Full Code Here


        {
          player.sendPacket(SystemMsg.YOUR_CLOAK_HAS_BEEN_UNEQUIPPED_BECAUSE_YOUR_ARMOR_SET_IS_NO_LONGER_COMPLETE);
        }
      }
      player.sendPacket(new SkillList(player));
      player.updateStats();
    }
  }
}
View Full Code Here

      player.doCast(unequipeSkill, player, true);
    }
    if ((itemSkills.length > 0) || (enchant4Skill != null))
    {
      player.sendSkillList();
      player.updateStats();
    }
  }
 
  /**
   * Method onEquip.
View Full Code Here

      player.addSkill(enchant4Skill, false);
    }
    if ((itemSkills.length > 0) || (enchant4Skill != null))
    {
      player.sendSkillList();
      player.updateStats();
      if (needSendInfo)
      {
        player.sendPacket(new SkillCoolTime(player));
      }
    }
View Full Code Here

      activeChar.sendUserInfo();
    }
    activeChar.updateEffectIcons();
    activeChar.setCurrentHpMp(activeChar.getActiveSubClass().getlogOnHp(),activeChar.getActiveSubClass().getlogOnMp());
    activeChar.setCurrentCp(activeChar.getActiveSubClass().getlogOnCp());
    activeChar.updateStats();   
    if (Config.ALT_PCBANG_POINTS_ENABLED)
    {
      activeChar.sendPacket(new ExPCCafePointInfo(activeChar, 0, 1, 2, 12));
    }
    if (!activeChar.getPremiumItemList().isEmpty())
View Full Code Here

    }
    if (sendList)
    {
      player.sendSkillList();
    }
    player.updateStats();
  }
 
  /**
   * Method onEquip.
   * @param slot int
View Full Code Here

    }
    if (sendReuseList)
    {
      player.sendPacket(new SkillCoolTime(player));
    }
    player.updateStats();
  }
}
View Full Code Here

    {
      activeChar.getInventory().equipItem(itemToUnnchant);
    }
    activeChar.sendPacket(new InventoryUpdate().addModifiedItem(itemToUnnchant));
    activeChar.sendPacket(new ExBaseAttributeCancelResult(true, itemToUnnchant, element));
    activeChar.updateStats();
  }
}
View Full Code Here

        continue;
      }
      player.sendPacket(new SystemMessage2(SystemMsg.YOU_HAVE_EARNED_S1_SKILL).addSkillName(skill.getId(), skill.getLevel()));
      player.addSkill(skill, true);
    }
    player.updateStats();
    player.sendPacket(new SkillList(player));
    player.broadcastPacket(new MagicSkillUse(player, player, 2790, 1, 1, 0));
    return true;
  }
 
View Full Code Here

    else
    {
      activeChar.sendPacket(Msg.YOU_HAVE_FAILED_TO_ADD_ELEMENTAL_POWER);
    }
    activeChar.setEnchantScroll(null);
    activeChar.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.