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

refactor(VolcanoShadow): 简化子弹AI逻辑并调整属性

feat(WhiteSoul): 提高基础攻击力至15点
refactor(Volcano): 调整伤害计算公式
refactor(VolcanoShadow.tscn): 优化场景配置并移除冗余动画
This commit is contained in:
2026-04-12 16:29:59 +08:00
parent 195d4091c2
commit a69c0b735e
4 changed files with 21 additions and 77 deletions
+1 -2
View File
@@ -2,5 +2,4 @@ extends BulletBase
class_name VolcanoShadow
func ai():
speed = initialSpeed * (1 - animator.current_animation_position / animator.current_animation_length)
PresetBulletAI.forward(self, rotation)
PresetBulletAI.forward(self , rotation)
+5 -5
View File
@@ -3,11 +3,11 @@ extends Weapon
func update(to: int, origin: Dictionary, _entity: EntityBase):
origin["rotate"] += 0.005 * to * soulLevel
origin["dmg1"] += 0.03 * to * soulLevel
origin["dmg2"] += 0.03 * to * soulLevel
origin["dmg3"] += 0.03 * to * soulLevel
origin["dmg4"] += 0.03 * to * soulLevel
origin["dmg5"] += 0.025 * to * soulLevel
origin["dmg1"] += 0.3 * (soulLevel - 1)
origin["dmg2"] += 0.3 * (soulLevel - 1)
origin["dmg3"] += 0.3 * (soulLevel - 1)
origin["dmg4"] += 0.3 * (soulLevel - 1)
origin["dmg5"] += 0.15 * (soulLevel - 1)
origin["count"] = 1 * soulLevel
origin["atk"] += 3 * to * soulLevel
return origin