aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/World
diff options
context:
space:
mode:
authorMeji <alvaro.megias@outlook.com>2024-03-30 20:21:28 +0100
committerGitHub <noreply@github.com>2024-03-30 20:21:28 +0100
commitdef601b4ff82ec8a90af60408a87cac92fdf070d (patch)
tree4e5de744a4712a49b1126b8270ac02d842d56e32 /src/server/scripts/World
parentd8a82ab909543259be7632bb1e1b256ed6bfa4c2 (diff)
Core/Creatures: Changed the spawn health field in creature table to a percentage (#29801)
Diffstat (limited to 'src/server/scripts/World')
-rw-r--r--src/server/scripts/World/npcs_special.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/World/npcs_special.cpp b/src/server/scripts/World/npcs_special.cpp
index a3db8c19c6b..d2294bbd2b7 100644
--- a/src/server/scripts/World/npcs_special.cpp
+++ b/src/server/scripts/World/npcs_special.cpp
@@ -1005,7 +1005,7 @@ public:
me->SetStandState(UNIT_STAND_STATE_KNEEL);
// expect database to have RegenHealth=0
- me->SetHealth(me->CountPctFromMaxHealth(70));
+ me->SetSpawnHealth();
}
void JustEngagedWith(Unit* /*who*/) override { }