Skip to content

Commit

Permalink
[SD] Add SPELL_DOUBLE_ATTACK 19818 to sapphiron CombatAI
Browse files Browse the repository at this point in the history
  • Loading branch information
AnonXS authored and killerwife committed Jan 10, 2024
1 parent b885d29 commit 000cffe
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ enum
EMOTE_GENERIC_ENRAGED = -1000003,

// All phases spells
SPELL_DOUBLE_ATTACK = 19818,
SPELL_FROST_AURA = 28529, // Periodically triggers 28531
SPELL_BESERK = 26662,

Expand Down Expand Up @@ -114,6 +115,8 @@ struct boss_sapphironAI : public CombatAI
SetDeathPrevention(false);
SetMeleeEnabled(true);
m_creature->SetHover(false);

DoCastSpellIfCan(nullptr, SPELL_DOUBLE_ATTACK, CAST_TRIGGERED | CAST_AURA_NOT_PRESENT);
}

uint32 GetSubsequentActionTimer(uint32 action)
Expand Down

0 comments on commit 000cffe

Please sign in to comment.