forked from MagicBane/Server
arena prize set to 1 wrapped rune for winner
This commit is contained in:
@@ -113,13 +113,10 @@ public class ArenaManager {
|
|||||||
if(winner != null){
|
if(winner != null){
|
||||||
ChatManager.chatPVP("[ARENA] " + winner.getName() + " has slain " + loser.getName() + " in the arena!");
|
ChatManager.chatPVP("[ARENA] " + winner.getName() + " has slain " + loser.getName() + " in the arena!");
|
||||||
//handle prize distribution
|
//handle prize distribution
|
||||||
//ItemBase specialLoot = ItemBase.getItemBase(866);
|
ItemBase specialLoot = ItemBase.getItemBase(971070);
|
||||||
//Item promoted = new MobLoot(winner, specialLoot, 1, false).promoteToItem(winner);
|
MobLoot winnings = new MobLoot(winner,specialLoot,false);
|
||||||
//promoted.setNumOfItems(21235);
|
winner.getCharItemManager().addItemToInventory(winnings.promoteToItem(winner));
|
||||||
//promoted.setName("Special Banker(21235)");
|
winner.getCharItemManager().updateInventory();
|
||||||
//DbManager.ItemQueries.UPDATE_NUM_ITEMS(promoted,21235);
|
|
||||||
//winner.getCharItemManager().addItemToInventory(promoted);
|
|
||||||
//winner.getCharItemManager().updateInventory();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user