mirror of
https://github.com/ZhengPeiRu21/mod-individual-progression
synced 2025-11-29 23:44:51 +08:00
Fix boss scripts with latest AC build
This commit is contained in:
@@ -49,8 +49,8 @@ enum Spells
|
|||||||
SPELL_CHROMATIC_MUT_1 = 23174, //Spell cast on player if they get all 5 debuffs
|
SPELL_CHROMATIC_MUT_1 = 23174, //Spell cast on player if they get all 5 debuffs
|
||||||
|
|
||||||
SPELL_ELEMENTAL_SHIELD = 22276,
|
SPELL_ELEMENTAL_SHIELD = 22276,
|
||||||
SPELL_FRENZY = 28371, //The frenzy spell may be wrong
|
SPELL_FRENZY = 23128,
|
||||||
SPELL_ENRAGE = 28747
|
SPELL_ENRAGE = 23537
|
||||||
};
|
};
|
||||||
|
|
||||||
enum Events
|
enum Events
|
||||||
@@ -239,7 +239,7 @@ public:
|
|||||||
// Cast new random vulnerabilty on self
|
// Cast new random vulnerabilty on self
|
||||||
DoCast(me, SPELL_ELEMENTAL_SHIELD);
|
DoCast(me, SPELL_ELEMENTAL_SHIELD);
|
||||||
Talk(EMOTE_SHIMMER);
|
Talk(EMOTE_SHIMMER);
|
||||||
events.ScheduleEvent(EVENT_SHIMMER, 45000);
|
events.ScheduleEvent(EVENT_SHIMMER, urand(17000, 25000));
|
||||||
break;
|
break;
|
||||||
case EVENT_BREATH_1:
|
case EVENT_BREATH_1:
|
||||||
DoCastVictim(Breath1_Spell);
|
DoCastVictim(Breath1_Spell);
|
||||||
|
|||||||
@@ -158,10 +158,10 @@ public:
|
|||||||
Talk(SAY_KILL);
|
Talk(SAY_KILL);
|
||||||
}
|
}
|
||||||
|
|
||||||
void EnterEvadeMode() override
|
void EnterEvadeMode(EvadeReason why) override
|
||||||
{
|
{
|
||||||
Talk(SAY_WIPE);
|
Talk(SAY_WIPE);
|
||||||
ScriptedAI::EnterEvadeMode();
|
ScriptedAI::EnterEvadeMode(why);
|
||||||
|
|
||||||
if (sConfigMgr->GetOption<int>("ProgressionSystem.60.WorldBosses.KazzakPhasing", 1))
|
if (sConfigMgr->GetOption<int>("ProgressionSystem.60.WorldBosses.KazzakPhasing", 1))
|
||||||
{
|
{
|
||||||
@@ -312,4 +312,3 @@ void AddSC_boss_lord_kazzak_60_2()
|
|||||||
new boss_lord_kazzak_60_2();
|
new boss_lord_kazzak_60_2();
|
||||||
new spell_mark_of_kazzak_60_2();
|
new spell_mark_of_kazzak_60_2();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user