mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2025-11-29 17:38:24 +08:00
fix(Scripts/ScarletEnclave): Improve Might of Mograine aura behavior. (#22320)
This commit is contained in:
4
data/sql/updates/pending_db_world/might-of-mograine.sql
Normal file
4
data/sql/updates/pending_db_world/might-of-mograine.sql
Normal 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);
|
||||
@@ -661,7 +661,7 @@ public:
|
||||
me->SetHomePosition(pos);
|
||||
me->SetWalk(false);
|
||||
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;
|
||||
}
|
||||
case EVENT_START_COUNTDOWN_14:
|
||||
|
||||
@@ -606,7 +606,6 @@ class spell_gen_black_magic_enchant : public AuraScript
|
||||
}
|
||||
};
|
||||
|
||||
// 53642 - The Might of Mograine
|
||||
// 64174 - Protective Gaze
|
||||
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
|
||||
// 62670 - Resilience of Nature
|
||||
// 62671 - Speed of Invention
|
||||
|
||||
Reference in New Issue
Block a user