fix(fight): 修复战斗效果和属性设置中的边界条件问题 - 修复Effect468中负值处理后提前返回的问题 - 重命名Effect470的SkillHit方法为Skill_Use_ex以匹配实际功能 - 注释掉调试用的println语句 - 在SetProp方法中添加属性值边界检查,确保属性值在-6到6范围内 ```
This commit is contained in:
@@ -257,7 +257,7 @@ func (our *Input) CalculatePower(deftype *Input, skill *info.SkillEntity) alpaca
|
||||
Mul(typeRate). // 克制系数
|
||||
|
||||
Mul(skill.Criticalrandom()) //随机波动
|
||||
println(baseDamage.IntPart(), damage.IntPart(), attackDec.IntPart(), defenseDec.IntPart(), "技能伤害")
|
||||
//println(baseDamage.IntPart(), damage.IntPart(), attackDec.IntPart(), defenseDec.IntPart(), "技能伤害")
|
||||
return damage
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user