Package lineage2.gameserver.model

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


    {
      if (player.getCursedWeaponEquippedId() != item.getItemId())
      {
        CursedWeapon cw2 = _cursedWeaponsMap.get(player.getCursedWeaponEquippedId());
        cw2.setNbKills(cw2.getStageKills() - 1);
        cw2.increaseKills();
      }
      endOfLife(cw);
      player.getInventory().destroyItem(item, 1);
    }
    else if (cw.getTimeLeft() > 0)
View Full Code Here


  public void increaseKills(int itemId)
  {
    CursedWeapon cw = _cursedWeaponsMap.get(itemId);
    if (cw != null)
    {
      cw.increaseKills();
      saveData(cw);
    }
  }
 
  /**
 
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.