Ejemplo n.º 1
0
 protected override bool UnEffectTarget(INormalEffect effect, ISkill srcSkill, ISkillPlayer caster, List <ISkillPlayer> targets)
 {
     if (null != effect.SrcModelSetting && null != caster)
     {
         effect.RemoveShowModel(srcSkill, caster, false);
     }
     foreach (var target in targets)
     {
         foreach (int buffId in effect.BuffId)
         {
             target.RemoveBuff(buffId, srcSkill.InnerId);
         }
         effect.RemoveShowModel(srcSkill, target, true);
     }
     return(true);
 }
Ejemplo n.º 2
0
 protected override bool UnEffectTarget(INormalEffect effect, ISkill srcSkill, ISkillPlayer caster, List <ISkill> targets)
 {
     if (null != effect.SrcModelSetting && null != caster)
     {
         effect.RemoveShowModel(srcSkill, caster, false);
     }
     foreach (var target in targets)
     {
         effect.UnEffectSkills(srcSkill, caster, target);
     }
     return(true);
 }