Core/Spells: Convert "Summon Memory" in spell script

This commit is contained in:
Vincent-Michael committed 2013-08-11 02:07:42 +02:00
1 parent c5ff184ebd
commit c0bf535e5b
2 files changed
+109 -10

No files matched your search

-8
View File
@@ -4114,14 +4114,6 @@ void Spell::EffectScriptEffect(SpellEffIndex effIndex)
}
break;
}
case 66545: //Summon Memory
{
uint8 uiRandom = urand(0, 25);
uint32 uiSpells[26] = {66704, 66705, 66706, 66707, 66709, 66710, 66711, 66712, 66713, 66714, 66715, 66708, 66708, 66691, 66692, 66694, 66695, 66696, 66697, 66698, 66699, 66700, 66701, 66702, 66703, 66543};
m_caster->CastSpell(m_caster, uiSpells[uiRandom], true);
break;
}
case 45668: // Ultra-Advanced Proto-Typical Shortening Blaster
{
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_UNIT)