[10155] Add script effect of spell 66744

Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
NoFantasy 2010-07-06 15:14:45 +02:00
parent 232db2b306
commit abe6776358
2 changed files with 11 additions and 1 deletions

View file

@ -6059,6 +6059,16 @@ void Spell::EffectScriptEffect(SpellEffectIndex eff_idx)
unitTarget->CastSpell(unitTarget, 66622, true);
break;
}
case 66744: // Make Player Destroy Totems
{
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_PLAYER)
return;
// Totem of the Earthen Ring does not really require or take reagents.
// Expecting RewardQuest() to already destroy them or we need additional code here to destroy.
unitTarget->CastSpell(unitTarget, 66747, true);
return;
}
case 69377: // Fortitude
{
if (!unitTarget)