Fixed boss health issues. Needs cleanup later.

This commit is contained in:
Garbage Mule 2011-12-03 21:19:25 +01:00
parent 7e30c42510
commit 65e17239e6
4 changed files with 3 additions and 3 deletions

Binary file not shown.

View File

@ -1,6 +1,6 @@
name: MobArena
main: com.garbagemule.MobArena.MobArena
version: 0.94.4.2
version: 0.94.4.3
softdepend: [Spout,Permissions,MultiVerse,XcraftGate,Towny,Heroes,MagicSpells]
commands:
ma:

View File

@ -390,7 +390,7 @@ public class MAListener implements ArenaListener
// Subtract boss health, and reset actual entity health
arena.bossWave.subtractHealth(event.getDamage());
arena.bossWave.getEntity().setHealth(100);
arena.bossWave.getEntity().setHealth(arena.bossWave.getEntity().getMaxHealth());
// Set damage to 1 for knockback and feedback
event.setDamage(1);

View File

@ -80,7 +80,7 @@ public class BossWave extends AbstractWave
getArena().setBossWave(this);
// Set the health stuff
bossCreature.setHealth(200);
bossCreature.setHealth(bossCreature.getMaxHealth());
healthAmount = bossHealth.getAmount(getArena().getPlayerCount());
startAbilityTasks();