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); }
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); }