1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-30 16:01:53 +08:00

refactor(武器系统): 调整水晶武器伤害计算和子弹行为

重构蓝水晶和紫水晶武器的伤害计算方式,将蓝水晶的基础伤害从3降至2
移除紫水晶子弹的分裂和折射功能,将其逻辑移至BulletBase基类
更新相关场景文件中的显示文本和配置参数
调整角色初始武器配置,移除无用音效资源
This commit is contained in:
2025-12-13 10:55:02 +08:00
parent 698b5a5618
commit 33b2b16b70
7 changed files with 47 additions and 43 deletions
+2 -1
View File
@@ -2,7 +2,7 @@
extends Weapon
func update(to: int, origin: Dictionary, _entity: EntityBase):
origin["atk"] += 1 * to * soulLevel
origin["atk"] += 2 * to * soulLevel
origin["count"] = 1 + 1 * soulLevel
return origin
func attack(entity: EntityBase):
@@ -15,3 +15,4 @@ func attack(entity: EntityBase):
if j is Diamond2Bullet:
j.baseDamage = readStore("atk")
j.parent = i
return true