Package net.sf.l2j.gameserver.model

Examples of net.sf.l2j.gameserver.model.CursedWeapon.increaseKills()


       * of the current stage...
       * This code is a TEMP fix, so that the cursed weapon's bonus level can be observed with as
       * little change in the code as possible, until proper info arises.
       */
      cw2.setNbKills(cw2.getStageKills()-1);
      cw2.increaseKills();

      // erase the newly obtained cursed weapon
      cw.setPlayer(player)// NECESSARY in order to find which inventory the weapon is in!
      cw.endOfLife();        // expire the weapon and clean up.
    }
View Full Code Here


  public void increaseKills(int itemId)
  {
    CursedWeapon cw = _cursedWeapons.get(itemId);

    cw.increaseKills();
  }

  public int getLevel(int itemId)
  {
    CursedWeapon cw = _cursedWeapons.get(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.