```
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful

fix(fight): 修复战斗效果和属性设置中的边界条件问题

- 修复Effect468中负值处理后提前返回的问题
- 重命名Effect470的SkillHit方法为Skill_Use_ex以匹配实际功能
- 注释掉调试用的println语句
- 在SetProp方法中添加属性值边界检查,确保属性值在-6到6范围内
```
This commit is contained in:
昔念
2026-03-10 16:02:38 +08:00
parent f58463c0d4
commit ab2ebcd56d
4 changed files with 9 additions and 3 deletions

View File

@@ -19,7 +19,7 @@ func (e *Effect468) SkillHit() bool {
if v < 0 {
e.Ctx().Our.SetProp(e.Ctx().Our, int8(i), 0)
ispwoer = true
return true
}
}