Buy enchantment + Misc Update
This commit is contained in:
parent
53dbcb6800
commit
a24db4dbcd
41 changed files with 488 additions and 122 deletions
|
|
@ -16,14 +16,14 @@ public class EntityDeathEvent {
|
|||
WorldStats worldStats = WorldStats.getWorldStats(event.getEntity().getWorld());
|
||||
|
||||
playerStats.changeStat("total_kill_count", 1);
|
||||
playerStats.changeStat("money", (int)Math.round(3 * PlayerLevelHandler.getLevelHandler(event.getEntity().getKiller()).getLesserMoneyMultiplier()));
|
||||
playerStats.changeStat("tPoint", (int)Math.round(25 * PlayerLevelHandler.getLevelHandler(event.getEntity().getKiller()).getMoneyMultiplier()));
|
||||
playerStats.changeStat("money", (int) Math.round(3 * PlayerLevelHandler.getLevelHandler(event.getEntity().getKiller()).getLesserMoneyMultiplier()));
|
||||
playerStats.changeStat("tPoint", (int) Math.round(25 * PlayerLevelHandler.getLevelHandler(event.getEntity().getKiller()).getMoneyMultiplier()));
|
||||
worldStats.changeStat("wPoint", 40);
|
||||
PlayerLevelHandler.getLevelHandler(event.getEntity().getKiller()).addExp(50);
|
||||
|
||||
if (event.getEntity().getType() == EntityType.PLAYER) {
|
||||
playerStats.changeStat("money", (int)Math.round(12 * PlayerLevelHandler.getLevelHandler(event.getEntity().getKiller()).getLesserMoneyMultiplier()));
|
||||
playerStats.changeStat("tPoint", (int)Math.round(50 * PlayerLevelHandler.getLevelHandler(event.getEntity().getKiller()).getMoneyMultiplier()));
|
||||
playerStats.changeStat("money", (int) Math.round(12 * PlayerLevelHandler.getLevelHandler(event.getEntity().getKiller()).getLesserMoneyMultiplier()));
|
||||
playerStats.changeStat("tPoint", (int) Math.round(50 * PlayerLevelHandler.getLevelHandler(event.getEntity().getKiller()).getMoneyMultiplier()));
|
||||
worldStats.changeStat("wPoint", 110);
|
||||
PlayerLevelHandler.getLevelHandler(event.getEntity().getKiller()).addExp(150);
|
||||
PlayerTitleManager.killedPlayer(event.getEntity().getKiller());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue