diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index 2e1b033c6..11df7b1b5 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -1483,6 +1483,7 @@ void Spell::SetTargetMap(SpellEffectIndex effIndex, uint32 targetMode, UnitList& { switch(m_spellInfo->Id) { + case 23138: // Gate of Shazzrah case 31347: // Doom TODO: exclude top threat target from target selection case 33711: // Murmur's Touch case 38794: // Murmur's Touch (h) diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 034c314a0..742d9a951 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -1027,6 +1027,18 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx) m_caster->CastSpell(m_caster, 13166, true, m_CastItem); return; } + case 23138: // Gate of Shazzrah + { + if (!unitTarget) + return; + + // Effect probably include a threat change, but it is unclear if fully + // reset or just forced upon target for teleport (SMSG_HIGHEST_THREAT_UPDATE) + + // Gate of Shazzrah + m_caster->CastSpell(unitTarget, 23139, true); + return; + } case 23448: // Transporter Arrival - Ultrasafe Transporter: Gadgetzan - backfires { int32 r = irand(0, 119); diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 5fd12d93b..eebc036c2 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "10991" + #define REVISION_NR "10992" #endif // __REVISION_NR_H__