Package l2p.gameserver.model

Examples of l2p.gameserver.model.CursedWeapon.increaseKills()


    {
      if(player.getCursedWeaponEquippedId() != item.getItemId())
      {
        CursedWeapon cw2 = _cursedWeapons.get(player.getCursedWeaponEquippedId());
        cw2.setNbKills(cw2.getStageKills() - 1);
        cw2.increaseKills();
      }
      // erase the newly obtained cursed weapon
      endOfLife(cw);
      player.getInventory().destroyItem(item, 1, true);
    }
View Full Code Here


  public void increaseKills(int itemId)
  {
    CursedWeapon cw = _cursedWeapons.get(itemId);
    if(cw != null)
    {
      cw.increaseKills();
      saveData(cw);
    }
  }

  public int getLevel(int itemId)
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.