public override IEnumerator ApplyBuffLogic() { CustomBuff buff001 = SkillUtils.MakeCustomBuff("Buff001"); buff001.SetGiver(selfOnly); GetSelf().ApplyCustomBuff(buff001); Debug.Log("执行了 添加自定义buff 001"); yield return(null); }
public override IEnumerator DoSkillLogic() { yield return(MoveSkillOB(() => { CustomBuff buff = SkillUtils.MakeCustomBuff("YanShiBaoBuff"); selfOnly.ActionTarget.ApplyCustomBuff(buff); AttackTarget(new SkillAttackDamage(20, 0.5f, 0)); })); }
public override IEnumerator DoSkillLogic() { yield return(MoveToTarget()); CustomBuff buff = SkillUtils.MakeCustomBuff("MuBiaoJiZhongBuff"); selfOnly.ActionTarget.ApplyCustomBuff(buff); yield return(MoveToSelfPos()); }
}// public override IEnumerator ApplyBuffLogic() { List <BaseCharacterEntity> list = GetSelfFriends(); for (int i = 0; i < list.Count; i++) { CustomBuff buff = SkillUtils.MakeCustomBuff("ShengMingXuYuanBuff"); (list[i] as CharacterEntity).ApplyCustomBuff(buff); } yield return(null); }
public override IEnumerator DoSkillLogic() { yield return(MoveSkillOB(() => { List <BaseCharacterEntity> selfList = GetSelfFriends(); for (int i = 0; i < selfList.Count; i++) { CustomBuff buff = SkillUtils.MakeCustomBuff("JuShiHuDunBuff"); (selfList[i] as CharacterEntity).ApplyCustomBuff(buff); } })); }
public override IEnumerator DoSkillLogic() { yield return(MoveToTarget()); CustomBuff buff = SkillUtils.MakeCustomBuff("TieBiTongQiangBuff"); List <BaseCharacterEntity> enemys = GetRandomEnemy(9); for (int i = 0; i < enemys.Count; i++) { (enemys[i] as CharacterEntity).ApplyCustomBuff(buff); } yield return(MoveToSelfPos()); }
public override void ApplyBuffLogicM() { CustomBuff buff = SkillUtils.MakeCustomBuff("AnRenBuff"); selfOnly.ActionTarget.ApplyCustomBuff(buff); }