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:
Hondacrx
2024-08-04 16:31:25 -04:00
parent 8969d59a41
commit cb16de1f15
10 changed files with 112 additions and 87 deletions
+1 -1
View File
@@ -868,7 +868,7 @@ namespace Scripts.World.NpcsSpecial
me.SetStandState(UnitStandStateType.Kneel);
// expect database to have RegenHealth=0
me.SetHealth(me.CountPctFromMaxHealth(70));
me.SetSpawnHealth();
}
public override void JustEngagedWith(Unit who) { }