1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-08 20:57:13 +08:00

fix(武器描述): 为Oxygener添加火焰击退效果描述

修正Oxygener武器的描述文本,补充说明火焰具有高额击退效果。同时在CompilingTip.gd中添加发布模式检查,避免在非发布模式下执行特效播放逻辑。
This commit is contained in:
2026-01-25 21:32:09 +08:00
parent 26ad071d53
commit 846458060c
2 changed files with 9 additions and 8 deletions
+2 -2
View File
@@ -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]"
+7 -6
View File
@@ -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()