diff options
| author | Gildor <gildor55@gmail.com> | 2020-04-17 22:54:36 +0200 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-17 22:54:36 +0200 | 
| commit | 6c7c2c6cd279813333e0b1cc1f60b22a04f368dd (patch) | |
| tree | aa43838b13ecc237426a2cc8165bc774e8315a4b | |
| parent | cfd63c350f5b01fd699903b17162b2f5167b1386 (diff) | |
Scripts/Naxxramas: Fix Heigan Eruption spell (#24470)
| -rw-r--r-- | src/server/scripts/Northrend/Naxxramas/boss_heigan.cpp | 7 | 
1 files changed, 4 insertions, 3 deletions
diff --git a/src/server/scripts/Northrend/Naxxramas/boss_heigan.cpp b/src/server/scripts/Northrend/Naxxramas/boss_heigan.cpp index 0b570a7d5b5..4fb427dfef5 100644 --- a/src/server/scripts/Northrend/Naxxramas/boss_heigan.cpp +++ b/src/server/scripts/Northrend/Naxxramas/boss_heigan.cpp @@ -30,8 +30,7 @@ enum Spells      SPELL_DECREPIT_FEVER    = 29998, // 25-man: 55011      SPELL_SPELL_DISRUPTION  = 29310,      SPELL_PLAGUE_CLOUD      = 29350, -    SPELL_TELEPORT_SELF     = 30211, -    SPELL_ERUPTION          = 29371 +    SPELL_TELEPORT_SELF     = 30211  };  enum Yells @@ -194,7 +193,9 @@ public:                                      if (GameObject* tile = ObjectAccessor::GetGameObject(*me, tileGUID))                                      {                                          tile->SendCustomAnim(0); -                                        tile->CastSpell(nullptr, SPELL_ERUPTION); +                                        CastSpellExtraArgs args; +                                        args.OriginalCaster = me->GetGUID(); +                                        tile->CastSpell(tile, tile->GetGOInfo()->trap.spellId, args);                                      }                          if (_safeSection == 0)  | 
