File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
src/game/AI/ScriptDevAI/scripts/eastern_kingdoms/naxxramas Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -148,6 +148,7 @@ struct boss_gothikAI : public BossAI
148148 SetMeleeEnabled (true );
149149 SetCombatMovement (true );
150150 SetReactState (REACT_AGGRESSIVE);
151+ SetCombatScriptStatus (false );
151152
152153 DoResetThreat ();
153154 m_creature->SetInCombatWithZone ();
@@ -382,6 +383,11 @@ struct ToAnchorTwo : public SpellScript
382383// 27896, 27930, 27938 - Choose Random Skull Pile
383384struct ChooseRandomSkullPile : public SpellScript
384385{
386+ void OnInit (Spell* spell) const override
387+ {
388+ spell->SetMaxAffectedTargets (1 );
389+ }
390+
385391 void OnEffectExecute (Spell* spell, SpellEffectIndex effIdx) const override
386392 {
387393 if (effIdx != EFFECT_INDEX_0 || !spell->GetUnitTarget ())
You can’t perform that action at this time.
0 commit comments