Add additional messages
This commit is contained in:
parent
1a5b2539a2
commit
93df8f2878
@ -14,8 +14,6 @@ import org.bukkit.entity.Player;
|
||||
import org.bukkit.event.EventHandler;
|
||||
import org.bukkit.event.entity.EntityDamageEvent.DamageCause;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
import org.bukkit.potion.PotionEffect;
|
||||
import org.bukkit.potion.PotionEffectType;
|
||||
import org.bukkit.util.Vector;
|
||||
|
||||
import mineplex.core.common.util.UtilAction;
|
||||
@ -152,6 +150,7 @@ public class Phase1 extends BossPhase
|
||||
|
||||
UtilAction.velocity(player, direction);
|
||||
_host.getArcadeManager().GetDamage().NewDamageEvent(player, _boss, null, DamageCause.CUSTOM, 4, false, true, true, _boss.getName(), "Pumpkin Shield");
|
||||
_host.sendSantaMessage(player, "Watch out! " + player.getName() + " that shield is protecting him!", null);
|
||||
}
|
||||
|
||||
_theta += DELTA_THETA;
|
||||
|
@ -3,7 +3,6 @@ package nautilus.game.arcade.game.games.christmasnew.section.six.phase;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.Location;
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.Sound;
|
||||
@ -11,7 +10,6 @@ import org.bukkit.block.BlockFace;
|
||||
import org.bukkit.entity.LivingEntity;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.event.EventHandler;
|
||||
import org.bukkit.event.entity.EntityDamageEvent;
|
||||
import org.bukkit.scheduler.BukkitRunnable;
|
||||
import org.bukkit.util.Vector;
|
||||
|
||||
@ -209,15 +207,6 @@ public class Phase2 extends BossPhase
|
||||
}
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void entityDamage(EntityDamageEvent event)
|
||||
{
|
||||
if (event.getEntity().equals(_boss))
|
||||
{
|
||||
Bukkit.broadcastMessage(event.getEventName());
|
||||
}
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void updateEnd(UpdateEvent event)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user