1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-28 06:51:54 +08:00

feat: 调整开发模式初始波数并添加死亡提示

修改开发模式下初始波数为10以便测试
为Boss和玩家角色添加死亡时的提示信息
在开发模式下为Rooster角色添加无限道具
将Rooster的武器从NuclearBomb替换为AcidWind
This commit is contained in:
2026-01-24 20:27:51 +08:00
parent ac77e3d581
commit 799668403d
4 changed files with 13 additions and 7 deletions
+5 -4
View File
@@ -11,10 +11,11 @@ func register():
elif bullet is FoxZhua:
EffectController.create(ComponentManager.getEffect("BloodFall"), texture.global_position).shot()
)
# if !WorldManager.isRelease():
# fields[FieldStore.Entity.BULLET_REFRACTION] = 3
# fields[FieldStore.Entity.BULLET_SPLIT] = 3
# fields[FieldStore.Entity.EXTRA_BULLET_COUNT] = 3
if !WorldManager.isRelease():
getItem({
ItemStore.ItemType.BEACHBALL: INF,
ItemStore.ItemType.SOUL: INF
})
func ai():
texture.play("walk")
var direction = Vector2(
+1 -1
View File
@@ -22,7 +22,7 @@ func duplicate() -> Wave:
wave.per = per
return wave
static var current: int = startWith(1) if WorldManager.isRelease() else startWith(1)
static var current: int = startWith(1) if WorldManager.isRelease() else startWith(10)
static var WAVE_NORMAL = [
Wave.create("Hen", 1, 3, false, 0, INF, 1),
Wave.create("Cat", 1, 5, false, 0, INF, 1),
+4
View File
@@ -368,6 +368,10 @@ func tryDie(by: BulletBase = null):
EffectController.create(ComponentManager.getEffect("DeadBlood"), texture.global_position).shot()
await die()
died.emit()
if isBoss:
UIState.showTip("[b]%s[/b] 已被打败!" % displayName, 500)
elif isPlayer():
UIState.showTip("[b]%s[/b] 似了😭。" % displayName, 500)
queue_free()
func tryHeal(count: float):
playSound("heal")