mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-28 23:11:54 +08:00
846458060c
修正Oxygener武器的描述文本,补充说明火焰具有高额击退效果。同时在CompilingTip.gd中添加发布模式检查,避免在非发布模式下执行特效播放逻辑。
13 lines
419 B
GDScript
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()
|