mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-28 15:01:53 +08:00
5570cc97a2
实现火山武器系统,包括: 1. 添加火山武器场景和脚本,支持旋转子弹和伤害计算 2. 新增子弹自旋转AI预设 3. 为公鸡角色添加火山武器配置 4. 实现武器升级效果随灵魂等级提升
9 lines
167 B
GDScript
9 lines
167 B
GDScript
extends BulletBase
|
|
class_name Volcano
|
|
|
|
var rotates: float = 0
|
|
|
|
func ai():
|
|
PresetBulletAI.selfRotate(self, rotates)
|
|
PresetBulletAI.lockLauncher(self, launcher, true)
|