mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-29 06:52:29 +08:00
fix(Characters): 修复Bear冲刺时未检查boss有效性的问题
修复Bear.gd中sprint函数未检查currentFocusedBoss是否有效的问题,避免潜在崩溃 调整TickTool.gd中until方法的frame调用方式 修改Wave.gd测试环境下的初始波次配置
This commit is contained in:
@@ -22,7 +22,7 @@ func duplicate() -> Wave:
|
||||
wave.per = per
|
||||
return wave
|
||||
|
||||
static var current: int = startWith(1) if WorldManager.isRelease() else startWith(5)
|
||||
static var current: int = startWith(1) if WorldManager.isRelease() else startWith(1)
|
||||
static var WAVE_NORMAL = [
|
||||
Wave.create("Hen", 1, 3, false, 0, INF, 1),
|
||||
Wave.create("Cat", 1, 3, false, 0, INF, 1),
|
||||
@@ -47,7 +47,7 @@ static var WAVE_TESTBOSS_CHICK = [
|
||||
Wave.create("Chick", 0, 0, true, 0, INF, 10),
|
||||
]
|
||||
static var WAVE_EMPTY = []
|
||||
static var data = WAVE_NORMAL if WorldManager.isRelease() else WAVE_TESTBOSS_ALL
|
||||
static var data = WAVE_NORMAL if WorldManager.isRelease() else WAVE_TESTBOSS_BEAR
|
||||
|
||||
static func create(
|
||||
entity_: String,
|
||||
|
||||
Reference in New Issue
Block a user