Core/Spells Scroll of Recall

This commit is contained in:
Faq
2012-09-13 15:19:52 +03:00
parent f746c2d975
commit 9b76acbd3a
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;