Merge pull request #7753 from Faq/ScrollOfRecall

Core/Spells: Scroll of Recall
This commit is contained in:
Nay
2012-09-13 07:03:57 -07:00
2 changed files with 23 additions and 0 deletions
+8
View File
@@ -1153,6 +1153,14 @@ void Spell::EffectTeleportUnits(SpellEffIndex /*effIndex*/)
if (unitTarget->getLevel() > uiMaxSafeLevel)
{
unitTarget->AddAura(60444, unitTarget); //Apply Lost! Aura
// ALLIANCE from 60323 to 60330 - HORDE from 60328 to 60335
uint32 spellId = 60323;
if (m_caster->ToPlayer()->GetTeam() == HORDE)
spellId += 5;
spellId += urand(0, 7);
m_caster->CastSpell(m_caster, spellId, true);
return;
}
break;