mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-07-08 11:07:06 +08:00
fix(Weapon): 调整充能伤害计算公式中的除数
将充能伤害计算公式中的除数从20改为15,以平衡游戏中的武器伤害
This commit is contained in:
@@ -177,7 +177,7 @@ func tryAttack(entity: EntityBase):
|
|||||||
entity.useEnergy(needEnergy)
|
entity.useEnergy(needEnergy)
|
||||||
return result
|
return result
|
||||||
func charged(base: float, percent: float):
|
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):
|
func update(_to: int, origin: Dictionary, _entity: EntityBase):
|
||||||
|
|||||||
Reference in New Issue
Block a user