1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-28 06:51:54 +08:00

fix(武器): 调整HXD武器的伤害和攻击次数计算

将攻击力加成从2倍降低到1.5倍,并修改攻击次数计算方式为基于灵魂等级线性增加而非乘法增长
This commit is contained in:
2026-02-04 18:44:59 +08:00
parent bf03a174db
commit 6a1ee8883d
+2 -2
View File
@@ -2,8 +2,8 @@
extends Weapon
func update(to: int, origin: Dictionary, _entity: EntityBase):
origin["atk"] += 2 * to * soulLevel
origin["count"] *= soulLevel
origin["atk"] += 1.5 * to * soulLevel
origin["count"] += 2 * (soulLevel - 1)
return origin
func attack(entity: EntityBase):
for i in readStore("atk"):