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
+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")