mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-08 12:47:13 +08:00
fix(角色): 调整小鸡移动速度并添加到波次生成
将小鸡的移动速度从0.5降低到0.4以平衡游戏难度 在波次生成中添加小鸡角色,并设置其目标为熊角色
This commit is contained in:
@@ -7,7 +7,7 @@ const laserCount = 4
|
||||
|
||||
func register():
|
||||
fields[FieldStore.Entity.MAX_HEALTH] = 1500
|
||||
fields[FieldStore.Entity.MOVEMENT_SPEED] = 0.5
|
||||
fields[FieldStore.Entity.MOVEMENT_SPEED] = 0.4
|
||||
attackCooldownMap[0] = 500
|
||||
attackCooldownMap[1] = 6000
|
||||
attackCooldownMap[2] = 100
|
||||
|
||||
@@ -24,8 +24,10 @@ static var data = []
|
||||
static func customStart():
|
||||
var furryr = EntityBase.generate(preload("res://components/Characters/Bear.tscn"), MathTool.randv2_range(500), true, false)
|
||||
var kukemc = EntityBase.generate(preload("res://components/Characters/KukeMC.tscn"), MathTool.randv2_range(500), true, false)
|
||||
var chick = EntityBase.generate(preload("res://components/Characters/Chick.tscn"), MathTool.randv2_range(500), true, false)
|
||||
furryr.currentFocusedBoss = kukemc
|
||||
kukemc.currentFocusedBoss = furryr
|
||||
chick.currentFocusedBoss = furryr
|
||||
static func create(
|
||||
entity_: PackedScene,
|
||||
minCount_: int = 1,
|
||||
|
||||
Reference in New Issue
Block a user