aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellEffects.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/SpellEffects.cpp')
-rw-r--r--src/game/SpellEffects.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index ccf3abe022d..48ce576b38d 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -1518,6 +1518,17 @@ void Spell::EffectDummy(uint32 i)
}
return;
}
+ case 31687: // Summon Water Elemental
+ {
+ if (!unitTarget)
+ return;
+
+ // Glyph of Eternal Water
+ if (unitTarget->HasAura(70937))
+ unitTarget->CastSpell(unitTarget, 70908, true);
+ else
+ unitTarget->CastSpell(unitTarget, 70907, true);
+ }
}
break;
case SPELLFAMILY_WARRIOR: