From cec8b67d82c2c2c1662d55c818c4a46bcc0487db Mon Sep 17 00:00:00 2001 From: yyl <yyl> Date: 星期一, 25 八月 2025 17:36:02 +0800 Subject: [PATCH] 125 【战斗】战斗系统 战斗技能 --- Main/System/Battle/SkillEffect/SkillEffect.cs | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/Main/System/Battle/SkillEffect/SkillEffect.cs b/Main/System/Battle/SkillEffect/SkillEffect.cs index 9bd7c00..9bd1416 100644 --- a/Main/System/Battle/SkillEffect/SkillEffect.cs +++ b/Main/System/Battle/SkillEffect/SkillEffect.cs @@ -8,6 +8,8 @@ protected BattleObject caster; protected HB427_tagSCUseSkill tagUseSkillAttack;// 鐩爣鍒楄〃 + protected bool isFinish = false; + protected Action<int, List<HB427_tagSCUseSkill.tagSCUseSkillHurt>> onHit; public SkillEffect(SkillConfig _skillConfig, BattleObject _caster, HB427_tagSCUseSkill _tagUseSkillAttack) @@ -30,11 +32,16 @@ public virtual void OnMiddleFrameEnd(int times, int hitIndex) { - + } public virtual void OnMiddleFrameStart(int times) { - + + } + + public virtual bool IsFinished() + { + return isFinish; } } \ No newline at end of file -- Gitblit v1.8.0