From 846458060cdf76888b32fe6c1c695e8b31c345d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=A8=E8=90=BD=E5=9F=BA=E5=9B=B4=E8=99=BE?= <3161880837@qq.com> Date: Sun, 25 Jan 2026 21:32:09 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=AD=A6=E5=99=A8=E6=8F=8F=E8=BF=B0):=20?= =?UTF-8?q?=E4=B8=BAOxygener=E6=B7=BB=E5=8A=A0=E7=81=AB=E7=84=B0=E5=87=BB?= =?UTF-8?q?=E9=80=80=E6=95=88=E6=9E=9C=E6=8F=8F=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修正Oxygener武器的描述文本,补充说明火焰具有高额击退效果。同时在CompilingTip.gd中添加发布模式检查,避免在非发布模式下执行特效播放逻辑。 --- components/Weapons/Oxygener.tscn | 4 ++-- scripts/Contents/Panels/CompilingTip.gd | 13 +++++++------ 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/components/Weapons/Oxygener.tscn b/components/Weapons/Oxygener.tscn index 5467dfc..f5ccf74 100644 --- a/components/Weapons/Oxygener.tscn +++ b/components/Weapons/Oxygener.tscn @@ -22,7 +22,7 @@ storeType = { "max-n": 1, "min-n": 1 } -descriptionTemplate = "大概率高速喷出火焰,造成$fireatk点伤害。小概率喷出$min-n~$max-n滴[b]浓硝酸[/b],每滴造成$atk点伤害。" +descriptionTemplate = "大概率高速喷出火焰,造成$fireatk点伤害。小概率喷出$min-n~$max-n滴[b]浓硝酸[/b],每滴造成$atk点伤害。火焰具有高额击退效果。" cooldown = 50.0 debugRebuild = true @@ -35,4 +35,4 @@ quality = 0 typeTopic = 2 [node name="description" parent="container" index="2"] -text = "[center]大概率高速喷出火焰,造成[color=cyan]1.00[/color]点伤害。小概率喷出[color=cyan]3[/color]~[color=cyan]7[/color]滴[b]浓硝酸[/b],每滴造成[color=cyan]3.00[/color]点伤害。[/center]" +text = "[center]大概率高速喷出火焰,造成[color=cyan]1.00[/color]点伤害。小概率喷出[color=cyan]3[/color]~[color=cyan]7[/color]滴[b]浓硝酸[/b],每滴造成[color=cyan]3.00[/color]点伤害。火焰具有高额击退效果。[/center]" diff --git a/scripts/Contents/Panels/CompilingTip.gd b/scripts/Contents/Panels/CompilingTip.gd index e4fa215..df6fb32 100644 --- a/scripts/Contents/Panels/CompilingTip.gd +++ b/scripts/Contents/Panels/CompilingTip.gd @@ -2,10 +2,11 @@ extends FullscreenPanelBase func afterOpen(_args: Array = []): - for key in ComponentManager.effects: - var effect = EffectController.create(ComponentManager.getEffect(key), Vector2.ZERO, self) - effect.modulate.a = 0.01 - (effect.sounds.get_node("spawn") as AudioStreamPlayer2D).volume_db = - INF - effect.shot() - await TickTool.millseconds(3000) + if WorldManager.isRelease(): + for key in ComponentManager.effects: + var effect = EffectController.create(ComponentManager.getEffect(key), Vector2.ZERO, self) + effect.modulate.a = 0.01 + (effect.sounds.get_node("spawn") as AudioStreamPlayer2D).volume_db = - INF + effect.shot() + await TickTool.millseconds(3000) UIState.closeCurrentPanel()