Wither gonna hurt.

devAnvil
sigonasr2 11 years ago
parent 15a67d4836
commit 3eb5393d9b
  1. 1
      BankEconomyMod/src/me/kaZep/Base/PlayerListener.java

@ -6725,6 +6725,7 @@ public ItemStack getGoodie() {
if (l instanceof Player) { if (l instanceof Player) {
e.setDamage(e.getDamage()*1.45d); e.setDamage(e.getDamage()*1.45d);
if (e.getDamager() instanceof Wither) { if (e.getDamager() instanceof Wither) {
e.setDamage(e.getDamage()*2d);
if (Math.random()<=0.25) { if (Math.random()<=0.25) {
l.getWorld().spawnEntity(l.getLocation(), EntityType.CREEPER); l.getWorld().spawnEntity(l.getLocation(), EntityType.CREEPER);
} }

Loading…
Cancel
Save