- Updates

This commit is contained in:
AlexTheCoder 2016-02-13 14:28:39 -05:00
parent 138c900484
commit 6385aacbac
3 changed files with 4 additions and 2 deletions

View File

@ -55,7 +55,7 @@ public class TeamBeacon
if (player.getLocation().distance(_core) < 15)
{
player.addPotionEffect(new PotionEffect(PotionEffectType.SPEED, 5 * 20, 0));
player.addPotionEffect(new PotionEffect(PotionEffectType.INCREASE_DAMAGE, 5 * 20, 0));
//player.addPotionEffect(new PotionEffect(PotionEffectType.INCREASE_DAMAGE, 5 * 20, 0));
player.addPotionEffect(new PotionEffect(PotionEffectType.REGENERATION, 5 * 20, 0));
player.addPotionEffect(new PotionEffect(PotionEffectType.DAMAGE_RESISTANCE, 5 * 20, 0));
}

View File

@ -113,7 +113,7 @@ public class WitherMinionManager implements Listener
e.setCustomName(C.cRed + "Wither Skeleton");
((CraftSkeleton)e).getEquipment().setChestplate(new ItemStack(Material.IRON_CHESTPLATE));
((CraftSkeleton)e).getEquipment().setLeggings(new ItemStack(Material.IRON_LEGGINGS));
((Skeleton)e).addPotionEffect(new PotionEffect(PotionEffectType.REGENERATION, 9999999, 1));
((Skeleton)e).addPotionEffect(new PotionEffect(PotionEffectType.REGENERATION, 9999999, 3));
UtilTextMiddle.display("", C.cGray + "A Wither Skeleton has spawned!");
_selected = -1;

View File

@ -33,6 +33,8 @@ public class SecondaryDamageManager implements Listener
event.setCancelled(true);
return;
}
if (!(event.getEntity() instanceof LivingEntity))
return;
LivingEntity ent = (LivingEntity) event.getEntity();
if (ent.getWorld().getName().equals("world"))