diff options
author | win32 <none@none> | 2009-12-15 18:52:44 +0200 |
---|---|---|
committer | win32 <none@none> | 2009-12-15 18:52:44 +0200 |
commit | 72b8c60d0a865c88910c27f360e17c0f32905b94 (patch) | |
tree | 6f930aeda391d801fde2700037a91c8c976e2469 /src | |
parent | aeb3e27036c0dc91b9a9c692a22fed2ca3185051 (diff) |
Add support for Feast items (43015,43478,34753,43480).
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/SpellEffects.cpp | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index eb6cc81a5de..7772ec8677e 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -5470,6 +5470,25 @@ void Spell::EffectScriptEffect(uint32 effIndex) } return; } + // Great Feast + case 57337: + { + if (!unitTarget) + return; + + unitTarget->CastSpell(unitTarget, 58067, true); + break; + } + //Fish Feast + case 57397: + { + if (!unitTarget) + return; + + unitTarget->CastSpell(unitTarget, 58648, true); + unitTarget->CastSpell(unitTarget, 57398, true); + break; + } case 58418: // Portal to Orgrimmar case 58420: // Portal to Stormwind { @@ -5484,6 +5503,26 @@ void Spell::EffectScriptEffect(uint32 effIndex) return; } + // Gigantic Feast + case 58466: + { + if (!unitTarget) + return; + + unitTarget->CastSpell(unitTarget, 58648, true); + unitTarget->CastSpell(unitTarget, 58467, true); + break; + } + // Small Feast + case 58475: + { + if (!unitTarget) + return; + + unitTarget->CastSpell(unitTarget, 58648, true); + unitTarget->CastSpell(unitTarget, 58477, true); + break; + } case 58941: // Rock Shards if(unitTarget && m_originalCaster) { |