fix(fight): 修复战斗效果和属性设置中的边界条件问题 - 修复Effect468中负值处理后提前返回的问题 - 重命名Effect470的SkillHit方法为Skill_Use_ex以匹配实际功能 - 注释掉调试用的println语句 - 在SetProp方法中添加属性值边界检查,确保属性值在-6到6范围内 ```
This commit is contained in:
@@ -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
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user