1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-27 22:41:56 +08:00

fix(Weapon): 调整充能伤害计算公式中的除数

将充能伤害计算公式中的除数从20改为15,以平衡游戏中的武器伤害
This commit is contained in:
2026-02-11 16:09:14 +08:00
parent 873b1b06a9
commit 0a7069523e
+1 -1
View File
@@ -177,7 +177,7 @@ func tryAttack(entity: EntityBase):
entity.useEnergy(needEnergy)
return result
func charged(base: float, percent: float):
return base * sqrt(1 + chargedTime / 20 * percent)
return base * sqrt(1 + chargedTime / 15 * percent)
# 抽象
func update(_to: int, origin: Dictionary, _entity: EntityBase):