Core/Creatures: Changed the spawn health field in creature table to a percentage
Port From (https://github.com/TrinityCore/TrinityCore/commit/def601b4ff82ec8a90af60408a87cac92fdf070d)
This commit is contained in:
@@ -990,9 +990,8 @@ namespace Game.Chat
|
||||
return false;
|
||||
}
|
||||
|
||||
creature.SetMaxHealth((uint)(100 + 30 * lvl));
|
||||
creature.SetHealth((uint)(100 + 30 * lvl));
|
||||
creature.SetLevel(lvl);
|
||||
creature.UpdateLevelDependantStats();
|
||||
creature.SaveToDB();
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user