[9958] Implement item 34753, 43015, 43478, 43480, 46887.

This commit is contained in:
VladimirMangos 2010-05-23 00:21:18 +04:00
parent 67b8ca03b5
commit f0b1c5bd74
3 changed files with 46 additions and 9 deletions

View file

@ -5873,6 +5873,31 @@ void Spell::EffectScriptEffect(SpellEffectIndex eff_idx)
unitTarget->RemoveAurasDueToSpell(m_spellInfo->CalculateSimpleValue(eff_idx));
break;
}
case 57337: // Great Feast
{
if (!unitTarget)
return;
unitTarget->CastSpell(unitTarget, 58067, true);
break;
}
case 57397: // Fish Feast
{
if (!unitTarget)
return;
unitTarget->CastSpell(unitTarget, 57292, true);
break;
}
case 58466: // Gigantic Feast
case 58475: // Small Feast
{
if (!unitTarget)
return;
unitTarget->CastSpell(unitTarget, 57085, true);
break;
}
case 58418: // Portal to Orgrimmar
case 58420: // Portal to Stormwind
{
@ -5916,6 +5941,15 @@ void Spell::EffectScriptEffect(SpellEffectIndex eff_idx)
return;
}
case 66477: // Bountiful Feast
{
if (!unitTarget)
return;
unitTarget->CastSpell(unitTarget, 65422, true);
unitTarget->CastSpell(unitTarget, 66622, true);
break;
}
case 69377: // Fortitude
{
if (!unitTarget)