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:
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user