"fix(fight): 优化效果恢复逻辑,增加持续时间检查并修复回合结束效果递减"
This commit is contained in:
@@ -31,8 +31,11 @@ func (e *EffectNode) Turn_End() {
|
||||
// // e.Alive(true)
|
||||
// }
|
||||
|
||||
if e.duration > 0 {
|
||||
e.duration--
|
||||
}
|
||||
// })
|
||||
e.duration--
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user