mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Creatures: Changed the spawn health field in creature table to a percentage (#29801)
This commit is contained in:
@@ -84,6 +84,7 @@ struct boss_vaelastrasz : public BossAI
|
||||
{
|
||||
_Reset();
|
||||
|
||||
me->SetSpawnHealth();
|
||||
me->SetStandState(UNIT_STAND_STATE_DEAD);
|
||||
Initialize();
|
||||
}
|
||||
@@ -93,7 +94,6 @@ struct boss_vaelastrasz : public BossAI
|
||||
BossAI::JustEngagedWith(who);
|
||||
|
||||
DoCast(me, SPELL_ESSENCEOFTHERED);
|
||||
me->SetHealth(me->CountPctFromMaxHealth(30));
|
||||
// now drop damage requirement to be able to take loot
|
||||
me->ResetPlayerDamageReq();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user