395396397398399400401402403404405
public void drop(int itemId, L2Character killer) { CursedWeapon cw = _cursedWeapons.get(itemId); cw.dropIt(killer); cw = null; } public void increaseKills(int itemId) {
604605606607608609610611612613614
CursedWeapon cw = _cursedWeapons.get(player.getCursedWeaponEquippedId()); if(cw == null) { return; } if(cw.dropIt(null, null, player)) { saveData(cw); announce(new SystemMessage(SystemMessage.S2_WAS_DROPPED_IN_THE_S1_REGION).addZoneName(player.getLoc()).addString(cw.getName())); } else
668669670671672673674675676677678
CursedWeapon cw = _cursedWeaponsMap.get(player.getCursedWeaponEquippedId()); if (cw == null) { return; } if (cw.dropIt(null, null, player)) { saveData(cw); announce(new SystemMessage(SystemMessage.S2_WAS_DROPPED_IN_THE_S1_REGION).addZoneName(player.getLoc()).addItemName(cw.getItemId())); } else
371372373374375376377378379380381
public void drop(int itemId, L2Character killer) { CursedWeapon cw = _cursedWeapons.get(itemId); cw.dropIt(killer); } public void increaseKills(int itemId) { CursedWeapon cw = _cursedWeapons.get(itemId);