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

feat(BigLaser): 降低能量消耗并增强伤害计算

调整BigLaser的能量需求从150降至100,同时根据发射者的攻击速度增强伤害
This commit is contained in:
2025-08-28 15:45:38 +08:00
parent ec3251ec9d
commit 766a894879
3 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -134,7 +134,7 @@ func takeDamage(bullet: BulletBase, crit: bool):
var damage = baseDamage + baseDamage * int(crit) * fields.get(FieldStore.Entity.CRIT_DAMAGE)
if sprinting:
playSound("miss")
storeEnergy(damage * 0.25)
storeEnergy(damage * 0.35)
damage = 0
else:
playSound("hurt")