Examples of increaseKills()


Examples of com.l2jfrozen.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

Examples of com.l2jfrozen.gameserver.model.CursedWeapon.increaseKills()

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

    cw.increaseKills();
    cw = null;
  }

  public int getLevel(int itemId)
  {
View Full Code Here

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

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

  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

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

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

  public void increaseKills(int itemId)
  {
    CursedWeapon cw = _cursedWeaponsMap.get(itemId);
    if (cw != null)
    {
      cw.increaseKills();
      saveData(cw);
    }
  }
 
  /**
 
View Full Code Here

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

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

  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.