From 0d5c718c61a851f5782a512079cf77574b257a8f Mon Sep 17 00:00:00 2001 From: sonohoshi Date: Thu, 30 Nov 2023 17:27:05 +0900 Subject: [PATCH] change Tick.CoExecute to return CoTickDamage --- Lib9c/Model/BattleStatus/Arena/ArenaTick.cs | 2 +- Lib9c/Model/BattleStatus/Tick.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib9c/Model/BattleStatus/Arena/ArenaTick.cs b/Lib9c/Model/BattleStatus/Arena/ArenaTick.cs index fa84017b5d..56287ab473 100644 --- a/Lib9c/Model/BattleStatus/Arena/ArenaTick.cs +++ b/Lib9c/Model/BattleStatus/Arena/ArenaTick.cs @@ -21,7 +21,7 @@ public ArenaTick(ArenaCharacter character, IEnumerable skillInfo public override IEnumerator CoExecute(IArena arena) { - yield return null; + yield return arena.CoTickDamage(Character, SkillInfos); } } } diff --git a/Lib9c/Model/BattleStatus/Tick.cs b/Lib9c/Model/BattleStatus/Tick.cs index 505b7e59b2..a0d6330032 100644 --- a/Lib9c/Model/BattleStatus/Tick.cs +++ b/Lib9c/Model/BattleStatus/Tick.cs @@ -22,7 +22,7 @@ public Tick(int skillId, CharacterBase character, IEnumerable skillIn public override IEnumerator CoExecute(IStage stage) { - yield return null; + yield return stage.CoTickDamage(Character, SkillId, SkillInfos); } } }