1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-04 02:37:12 +08:00

refactor(武器系统): 重构VectorStar武器和子弹逻辑

调整VectorStar子弹的移动逻辑,移除forwarded变量并优化速度计算
修改VectorStar武器的属性计算公式,调整基础值和成长系数
更新VectorStar场景配置,调整攻击力、冷却时间等参数
将Rooster角色的默认武器替换为VectorStar
This commit is contained in:
2025-12-22 15:37:24 +08:00
parent 92cedf08b6
commit 747b057b22
5 changed files with 20 additions and 25 deletions
+3 -3
View File
@@ -4,9 +4,9 @@ class_name VectorStarWeapon
func update(to: int, origin: Dictionary, _entity: EntityBase):
origin["atk"] += 2 * to * soulLevel
origin["forwardtime"] /= 1 + 0.025 * to * soulLevel
origin["mincount"] += 0.05 * to * soulLevel
origin["maxcount"] += 0.1 * to * soulLevel
origin["forwardtime"] /= 1 + 0.01 * to * soulLevel
origin["mincount"] = 4 + 1 * soulLevel
origin["maxcount"] = 9 + 1 * soulLevel
return origin
func attack(entity: EntityBase):
var weaponPos = entity.findWeaponAnchor("normal")