fix(Scripts/Icecrown): Lich King should not evade attacks on last phase (#11146)
Co-authored-by: Nefertumm <nefertum.dev@protonmail.com>
This commit is contained in:
@@ -0,0 +1,3 @@
|
|||||||
|
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1648266327758563400');
|
||||||
|
|
||||||
|
UPDATE `creature_template` SET `flags_extra`=`flags_extra`|512 WHERE `entry` IN (36597, 39166, 39167, 39168);
|
||||||
@@ -818,9 +818,7 @@ public:
|
|||||||
{
|
{
|
||||||
damage = me->GetHealth() - 1;
|
damage = me->GetHealth() - 1;
|
||||||
me->SetDisableGravity(false);
|
me->SetDisableGravity(false);
|
||||||
me->SendMonsterMove(me->GetPositionX() + 0.25f, me->GetPositionY(), 840.86f, 300, SPLINEFLAG_FALLING);
|
me->GetMotionMaster()->MoveFall();
|
||||||
me->m_positionZ = 840.86f;
|
|
||||||
me->SetOrientation(0.0f);
|
|
||||||
if (Creature* frostmourne = me->FindNearestCreature(NPC_FROSTMOURNE_TRIGGER, 50.0f))
|
if (Creature* frostmourne = me->FindNearestCreature(NPC_FROSTMOURNE_TRIGGER, 50.0f))
|
||||||
frostmourne->DespawnOrUnsummon(1);
|
frostmourne->DespawnOrUnsummon(1);
|
||||||
if (Creature* terenas = me->FindNearestCreature(NPC_TERENAS_MENETHIL_OUTRO, 50.0f))
|
if (Creature* terenas = me->FindNearestCreature(NPC_TERENAS_MENETHIL_OUTRO, 50.0f))
|
||||||
|
|||||||
Reference in New Issue
Block a user