mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-10-19 09:03:02 -04:00
Merged in M4SS/holocore/npc-levels (pull request #215)
Max action and health are now correctly set for creatures
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user