File tree Expand file tree Collapse file tree
scripts/eastern_kingdoms/blackrock_spire Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -51,6 +51,7 @@ struct boss_gythAI : public ScriptedAI
5151 uint32 uiCorrosiveAcidTimer;
5252 uint32 uiFreezeTimer;
5353 uint32 uiFlamebreathTimer;
54+ uint32 uiKnockAwayTimer;
5455
5556 bool m_bSummonedRend;
5657 bool m_bHasChromaticChaos;
@@ -60,6 +61,7 @@ struct boss_gythAI : public ScriptedAI
6061 uiCorrosiveAcidTimer = 8000 ;
6162 uiFreezeTimer = 11000 ;
6263 uiFlamebreathTimer = 4000 ;
64+ uiKnockAwayTimer = 23000 ;
6365 m_bSummonedRend = false ;
6466 m_bHasChromaticChaos = false ;
6567
@@ -118,6 +120,14 @@ struct boss_gythAI : public ScriptedAI
118120 else
119121 uiFlamebreathTimer -= uiDiff;
120122
123+ if (uiKnockAwayTimer < uiDiff)
124+ {
125+ if (DoCastSpellIfCan (m_creature->getVictim (), SPELL_KNOCK_AWAY ) == CAST_OK )
126+ uiKnockAwayTimer = 23000 ;
127+ }
128+ else
129+ uiKnockAwayTimer -= uiDiff;
130+
121131 // Summon Rend
122132 if (!m_bSummonedRend && m_creature->GetHealthPercent () < 11 .0f )
123133 {
Original file line number Diff line number Diff line change 11#ifndef __SD2_REVISION_NR_H__
22#define __SD2_REVISION_NR_H__
3- #define SD2_REVISION_NR "z2720 "
3+ #define SD2_REVISION_NR "z2721 "
44#endif // __SD2_REVISION_NR_H__
You can’t perform that action at this time.
0 commit comments