mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-28 06:51:54 +08:00
17079cf698
调整LGBT武器相关参数以平衡游戏性: - 减少攻击角度随机范围 - 修改升级属性成长数值 - 更新武器描述文本
14 lines
310 B
GDScript
14 lines
310 B
GDScript
extends EntityBase
|
|
class_name SummonBase
|
|
|
|
@export var attraction: float = 0.0
|
|
|
|
var myMaster: EntityBase = null
|
|
|
|
func _ready():
|
|
super._ready()
|
|
for entity in get_tree().get_nodes_in_group("mobs"):
|
|
var ent = entity as EntityBase
|
|
if !ent.isBoss && MathTool.rate(attraction):
|
|
ent.currentFocusedBoss = self
|