1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-28 15:01:53 +08:00
Files
Dog-Lynx-And-HCN/scripts/Contents/Panels/CompilingTip.gd
T
fallingshrimp 846458060c fix(武器描述): 为Oxygener添加火焰击退效果描述
修正Oxygener武器的描述文本,补充说明火焰具有高额击退效果。同时在CompilingTip.gd中添加发布模式检查,避免在非发布模式下执行特效播放逻辑。
2026-01-25 21:32:09 +08:00

13 lines
419 B
GDScript

@tool
extends FullscreenPanelBase
func afterOpen(_args: Array = []):
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()