forked from MagicBane/Server
arena prize set to 1 wrapped rune for winner
This commit is contained in:
@@ -112,11 +112,11 @@ 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 of wrapped rune gift
|
||||||
ItemBase specialLoot = ItemBase.getItemBase(971070);
|
//ItemBase specialLoot = ItemBase.getItemBase(971070);
|
||||||
MobLoot winnings = new MobLoot(winner,specialLoot,false);
|
//MobLoot winnings = new MobLoot(winner,specialLoot,false);
|
||||||
winner.getCharItemManager().addItemToInventory(winnings.promoteToItem(winner));
|
//winner.getCharItemManager().addItemToInventory(winnings.promoteToItem(winner));
|
||||||
winner.getCharItemManager().updateInventory();
|
//winner.getCharItemManager().updateInventory();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user