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
2013-03-23 18:34:06 -04:00
parent ac040b5197
commit 2073ca8d38
6 changed files with 19 additions and 19 deletions
+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;
}