Merge pull request #7753 from Faq/ScrollOfRecall
Core/Spells: Scroll of Recall
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user