fix(Scripts/ScarletEnclave): Improve Might of Mograine aura behavior. (#22320)

This commit is contained in:
Benjamin Jackson
2025-06-15 16:47:46 -04:00
committed by GitHub
parent 6a054da69d
commit c5cb54c2ea
3 changed files with 6 additions and 2 deletions

View File

@@ -0,0 +1,4 @@
UPDATE `spell_script_names` SET `ScriptName` = 'spell_gen_area_aura_select_players_and_caster' WHERE `spell_id` = 53642;
DELETE FROM `spell_custom_attr` WHERE `spell_id` = 53642;
INSERT INTO `spell_custom_attr` (`spell_id`, `attributes`) VALUES (53642, 2048);

View File

@@ -661,7 +661,7 @@ public:
me->SetHomePosition(pos); me->SetHomePosition(pos);
me->SetWalk(false); me->SetWalk(false);
me->GetMotionMaster()->MovePoint(1, pos.GetPositionX(), pos.GetPositionY(), pos.GetPositionZ(), true, true); me->GetMotionMaster()->MovePoint(1, pos.GetPositionX(), pos.GetPositionY(), pos.GetPositionZ(), true, true);
me->CastSpell(me, SPELL_THE_MIGHT_OF_MOGRAINE, true); DoCastSelf(SPELL_THE_MIGHT_OF_MOGRAINE, true);
break; break;
} }
case EVENT_START_COUNTDOWN_14: case EVENT_START_COUNTDOWN_14:

View File

@@ -606,7 +606,6 @@ class spell_gen_black_magic_enchant : public AuraScript
} }
}; };
// 53642 - The Might of Mograine
// 64174 - Protective Gaze // 64174 - Protective Gaze
class spell_gen_area_aura_select_players : public AuraScript class spell_gen_area_aura_select_players : public AuraScript
{ {
@@ -622,6 +621,7 @@ class spell_gen_area_aura_select_players : public AuraScript
} }
}; };
// 53642 - The Might of Mograine
// 62650 - Fortitude of Frost // 62650 - Fortitude of Frost
// 62670 - Resilience of Nature // 62670 - Resilience of Nature
// 62671 - Speed of Invention // 62671 - Speed of Invention