Fixed and cleaned up Client::Escape()

Fixed SE_FadingMemories to use Client::Escape()
Rogue AA Escape now uses a spell instead of AA Action
Bard AA Fading Memories now only uses the AA Action to eat mana
This commit is contained in:
mackal committed 2013-03-23 18:34:06 -04:00
1 parent ac040b5197
commit 2073ca8d38
6 files changed
+19 -19

No files matched your search

+7 -2
View File
@@ -2039,8 +2039,13 @@ bool Mob::SpellEffect(Mob* caster, uint16 spell_id, float partial)
#ifdef SPELL_EFFECT_SPAM
snprintf(effect_desc, _EDLEN, "Fading Memories");
#endif
entity_list.RemoveFromTargets(caster);
SetInvisible(1);
if(caster && caster->IsClient())
caster->CastToClient()->Escape();
else
{
entity_list.RemoveFromTargets(caster);
SetInvisible(1);
}
break;
}