mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-10 21:57:12 +08:00
feat(武器): 添加酸蚀风暴武器及五种酸液子弹
实现酸蚀风暴武器系统,包含五种不同类型的酸液子弹: 1. 硫酸:命中时溅射1~3滴酸液 2. 硝酸:造成额外伤害 3. 盐酸:降低敌人移动和攻击速度 4. 碳酸:可无限穿透并逐渐扩大 5. 磷酸:增加敌人散射角 同时调整武器数值平衡,更新VSCode配置中的Godot引擎路径
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
extends BulletBase
|
||||
class_name AcidBulletBase
|
||||
|
||||
enum AcidType {
|
||||
STRONG,
|
||||
WEAK,
|
||||
}
|
||||
@export var acidType: AcidType = AcidType.STRONG
|
||||
|
||||
var arg1: float = 0
|
||||
var arg2: float = 0
|
||||
var arg3: float = 0
|
||||
|
||||
func register():
|
||||
scale.y *= MathTool.randomChoiceFrom([-1, 1])
|
||||
func ai():
|
||||
PresetBulletAI.forward(self, rotation)
|
||||
Reference in New Issue
Block a user