mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2025-11-29 17:38:24 +08:00
fix(Script/Gundrak) Drakkari Colossus will now use Mortal Strikes (#23065)
Co-authored-by: Andrew <47818697+Nyeriah@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
-- Drakkari Colossus - Mortal Strike spell difficulty
|
||||
DELETE FROM `spelldifficulty_dbc` WHERE `ID` = 54715;
|
||||
INSERT INTO `spelldifficulty_dbc` (`ID`, `DifficultySpellID_1`, `DifficultySpellID_2`, `DifficultySpellID_3`, `DifficultySpellID_4`) VALUES (54715, 54715, 59454, 0, 0);
|
||||
@@ -27,6 +27,7 @@ enum Spells
|
||||
SPELL_MOJO_WAVE = 55626,
|
||||
SPELL_FREEZE_ANIM = 52656,
|
||||
SPELL_MIGHTY_BLOW = 54719,
|
||||
SPELL_MORTAL_STRIKE = 54715,
|
||||
|
||||
SPELL_ELEMENTAL_SPAWN_EFFECT = 54888,
|
||||
SPELL_EMERGE = 54850,
|
||||
@@ -54,9 +55,10 @@ enum Misc
|
||||
EMOTE_ALTAR = 1,
|
||||
|
||||
EVENT_COLOSSUS_MIGHTY_BLOW = 1,
|
||||
EVENT_COLOSSUS_HEALTH_1 = 2,
|
||||
EVENT_COLOSSUS_HEALTH_2 = 3,
|
||||
EVENT_COLOSSUS_START_FIGHT = 4,
|
||||
EVENT_COLOSSUS_MORTAL_STRIKE = 2,
|
||||
EVENT_COLOSSUS_HEALTH_1 = 3,
|
||||
EVENT_COLOSSUS_HEALTH_2 = 4,
|
||||
EVENT_COLOSSUS_START_FIGHT = 5,
|
||||
|
||||
EVENT_ELEMENTAL_HEALTH = 10,
|
||||
EVENT_ELEMENTAL_SURGE = 11,
|
||||
@@ -146,6 +148,7 @@ public:
|
||||
{
|
||||
BossAI::JustEngagedWith(who);
|
||||
events.ScheduleEvent(EVENT_COLOSSUS_MIGHTY_BLOW, 10s);
|
||||
events.ScheduleEvent(EVENT_COLOSSUS_MORTAL_STRIKE, 7s);
|
||||
events.ScheduleEvent(EVENT_COLOSSUS_HEALTH_1, 1s);
|
||||
events.ScheduleEvent(EVENT_COLOSSUS_HEALTH_2, 1s);
|
||||
}
|
||||
@@ -212,6 +215,10 @@ public:
|
||||
me->CastSpell(me->GetVictim(), SPELL_MIGHTY_BLOW, false);
|
||||
events.ScheduleEvent(EVENT_COLOSSUS_MIGHTY_BLOW, 10s);
|
||||
break;
|
||||
case EVENT_COLOSSUS_MORTAL_STRIKE:
|
||||
DoCastVictim(SPELL_MORTAL_STRIKE);
|
||||
events.ScheduleEvent(EVENT_COLOSSUS_MORTAL_STRIKE, 7s);
|
||||
break;
|
||||
case EVENT_COLOSSUS_HEALTH_1:
|
||||
if (me->HealthBelowPct(51))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user