refactor(fight): 统一DamageLock方法命名规范并修改方法签名

- 将DamageLock_ex方法重命名为DamageLockEx,统一命名规范
- 修改NewSeIdx_53、NewSeIdx_54、NewSeIdx_71的TurnEnd方法为TurnStart
- 为TurnStart方法添加fattack和sattack参数
- 修复NewSeIdx_5中的条件判断逻辑,将!ok改为ok
- 修正NewSeIdx_5中的Ctx().SkillEntity.Type为Ctx().Type
- 移除EffectNode.Alive方法中的调试打印语句
- 添加必要的action包导入
```
This commit is contained in:
2026-01-06 01:34:26 +08:00
parent b851ab9fdb
commit b964b14f1d
13 changed files with 18 additions and 15 deletions

View File

@@ -32,7 +32,7 @@ type EffectNode struct {
func (e *EffectNode) Alive(t ...bool) bool {
if len(t) > 0 {
println("效果失效", e.id.GetEffectType(), e.ID().Suffix(), t[0])
// println("效果失效", e.id.GetEffectType(), e.ID().Suffix(), t[0])
e.alive = t[0]
}