mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 01:08:35 +00:00
fix(Scripts/icecrownCitadel): Prevent Valkyr summon recursion caused by SpellDifficulty (#24111)
Co-authored-by: sogla <sogladev@gmail.com>
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
--
|
||||
DELETE FROM `spelldifficulty_dbc` WHERE `ID` = 69037;
|
||||
@@ -141,6 +141,7 @@ enum Spells
|
||||
SPELL_SOUL_REAPER = 69409, // instant
|
||||
SPELL_SOUL_REAPER_BUFF = 69410,
|
||||
SPELL_SUMMON_VALKYR = 69037, // instant
|
||||
SPELL_SUMMON_VALKYR_PERIODIC = 74361,
|
||||
SPELL_WINGS_OF_THE_DAMNED = 74352,
|
||||
SPELL_VALKYR_TARGET_SEARCH = 69030,
|
||||
SPELL_HARVEST_SOUL_VALKYR = 68985, // vehicle aura used by Val'kyr Shadowguard and Strangulate Vehicle
|
||||
@@ -1136,7 +1137,7 @@ public:
|
||||
{
|
||||
me->GetMap()->SetZoneMusic(AREA_THE_FROZEN_THRONE, MUSIC_SPECIAL);
|
||||
Talk(SAY_LK_SUMMON_VALKYR);
|
||||
me->CastSpell((Unit*)nullptr, SPELL_SUMMON_VALKYR, false);
|
||||
DoCastSelf(IsHeroic() ? SPELL_SUMMON_VALKYR_PERIODIC : SPELL_SUMMON_VALKYR);
|
||||
events.ScheduleEvent(EVENT_SUMMON_VALKYR, 45s, EVENT_GROUP_ABILITIES);
|
||||
|
||||
// schedule a defile (or reschedule it) if next defile event
|
||||
|
||||
Reference in New Issue
Block a user