Updated SE_FadingMemories - Base value will be properly utilized to set % chance for fade effect to work.

This commit is contained in:
KayenEQ 2014-06-25 14:31:35 -04:00 committed by Arthur Ice
parent dc6154f71f
commit a1f2e1c8fd
2 changed files with 10 additions and 6 deletions

View File

@ -3,6 +3,7 @@ EQEMu Changelog (Started on Sept 24, 2003 15:50)
== 06/25/2014 == == 06/25/2014 ==
Kayen: Updated SE_Hate (Renamed from SE_Hate2) to now properly work for instant +/- hate spells. Kayen: Updated SE_Hate (Renamed from SE_Hate2) to now properly work for instant +/- hate spells.
Kayen: Updated SE_FadingMemories - Base value will be properly utilized to set % chance for fade effect to work.
== 06/17/2014 == == 06/17/2014 ==
Kayen: Implemented SE_AStacker, SE_BStacker, SE_CStacker, SE_DStacker. Kayen: Implemented SE_AStacker, SE_BStacker, SE_CStacker, SE_DStacker.

View File

@ -2183,12 +2183,15 @@ bool Mob::SpellEffect(Mob* caster, uint16 spell_id, float partial)
#ifdef SPELL_EFFECT_SPAM #ifdef SPELL_EFFECT_SPAM
snprintf(effect_desc, _EDLEN, "Fading Memories"); snprintf(effect_desc, _EDLEN, "Fading Memories");
#endif #endif
if(caster && caster->IsClient()) if(MakeRandomInt(0, 99) < spells[spell_id].base[i] ) {
caster->CastToClient()->Escape();
else if(caster && caster->IsClient())
{ caster->CastToClient()->Escape();
entity_list.RemoveFromTargets(caster); else
SetInvisible(1); {
entity_list.RemoveFromTargets(caster);
SetInvisible(1);
}
} }
break; break;
} }