mirror of
https://github.com/garbagemule/MobArena.git
synced 2024-11-23 02:55:46 +01:00
Fixed boss health issues. Needs cleanup later.
This commit is contained in:
parent
7e30c42510
commit
65e17239e6
BIN
MobArena.jar
BIN
MobArena.jar
Binary file not shown.
@ -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:
|
||||
|
@ -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);
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user