"fix(fight): 优化效果恢复逻辑,增加持续时间检查并修复回合结束效果递减"

This commit is contained in:
1
2025-12-18 07:19:38 +00:00
parent 1f9a4960ce
commit def1808590
2 changed files with 8 additions and 2 deletions

View File

@@ -31,8 +31,11 @@ func (e *EffectNode) Turn_End() {
// // e.Alive(true)
// }
if e.duration > 0 {
e.duration--
}
// })
e.duration--
}
}