Merged in M4SS/holocore/npc-levels (pull request #215)

Max action and health are now correctly set for creatures
This commit is contained in:
Obique PSWG
2016-05-10 01:00:15 -05:00
+2
View File
@@ -165,7 +165,9 @@ public final class SpawnerService extends Service {
object.setName(getCreatureName(name));
object.setLevel((short) combatLevel);
object.setDifficulty(difficulty);
object.setMaxHealth(health);
object.setHealth(health);
object.setMaxAction(action);
object.setAction(action);
switch(attackable) {