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

feat(武器系统): 优化LGBT武器和召唤物行为

- 增加LGBT武器的冷却时间从0.1到1000
- 召唤物现在会继承召唤者位置
- 优化子弹追踪逻辑和生命周期
- 修复召唤物AI行为和玩家状态检测
- 调整召唤物属性和攻击冷却时间
This commit is contained in:
2025-11-06 22:42:01 +08:00
parent a273f644d2
commit 287f29695d
7 changed files with 26 additions and 17 deletions
+1 -2
View File
@@ -6,9 +6,8 @@ class_name SummonBase
var myMaster: EntityBase = null
func _ready():
super._ready()
for entity in get_tree().get_nodes_in_group("mobs"):
var ent = entity as EntityBase
if MathTool.rate(attraction):
ent.currentFocusedBoss = self
if is_instance_valid(myMaster):
myMaster.died.connect(tryDie)