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:
@@ -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) { }
|
||||
|
||||
Reference in New Issue
Block a user