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,6 +2183,8 @@ 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(MakeRandomInt(0, 99) < spells[spell_id].base[i] ) {
if(caster && caster->IsClient()) if(caster && caster->IsClient())
caster->CastToClient()->Escape(); caster->CastToClient()->Escape();
else else
@ -2190,6 +2192,7 @@ bool Mob::SpellEffect(Mob* caster, uint16 spell_id, float partial)
entity_list.RemoveFromTargets(caster); entity_list.RemoveFromTargets(caster);
SetInvisible(1); SetInvisible(1);
} }
}
break; break;
} }