Skip to content

Commit

Permalink
[9251] Restore work spell 31687 and implement work glyph 50045.
Browse files Browse the repository at this point in the history
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
  • Loading branch information
Wowka321 authored and VladimirMangos committed Jan 24, 2010
1 parent 65edacc commit ba90f41
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions src/game/SpellEffects.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1402,6 +1402,14 @@ void Spell::EffectDummy(uint32 i)
}
return;
}
case 31687: // Summon Water Elemental
{
if (m_caster->HasAura(70937)) // Glyph of Eternal Water (permanent limited by known spells version)
m_caster->CastSpell(m_caster, 70908, true);
else // temporary version
m_caster->CastSpell(m_caster, 70907, true);
return;
}
case 32826: // Polymorph Cast Visual
{
if (unitTarget && unitTarget->GetTypeId() == TYPEID_UNIT)
Expand Down
2 changes: 1 addition & 1 deletion src/shared/revision_nr.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "9250"
#define REVISION_NR "9251"
#endif // __REVISION_NR_H__

0 comments on commit ba90f41

Please sign in to comment.