From 72b8c60d0a865c88910c27f360e17c0f32905b94 Mon Sep 17 00:00:00 2001 From: win32 Date: Tue, 15 Dec 2009 18:52:44 +0200 Subject: Add support for Feast items (43015,43478,34753,43480). --HG-- branch : trunk --- src/game/SpellEffects.cpp | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) (limited to 'src') 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) { -- cgit v1.2.3