1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-28 15:01:53 +08:00
Files
fallingshrimp b4bb95cc72 feat: 添加音元护盾武器和召唤物功能
实现音元护盾武器系统,包含以下内容:
- 新增护盾武器资源及脚本
- 添加护盾召唤物逻辑
- 实现护盾AI跟随主人功能
- 更新公鸡角色默认武器为护盾
2025-12-08 22:23:53 +08:00

8 lines
239 B
GDScript

class_name PresetSummonAI
static func lockMaster(summon: SummonBase, myMaster: EntityBase, onTexture: bool = false) -> void:
if onTexture:
summon.position = myMaster.texture.global_position
else:
summon.position = myMaster.position