mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-01 17:01:53 +08:00
feat(武器): 添加大激光武器并更新武器卡组件
实现大激光武器功能,包括攻击逻辑和属性配置 将武器卡的选择按钮重命名为更新按钮以更准确反映功能 调整武器卡描述文本居中显示并更新能量消耗数值
This commit is contained in:
@@ -22,12 +22,12 @@ signal selected(applied: bool)
|
||||
@onready var energyLabel: Label = $"%energy"
|
||||
@onready var descriptionLabel: RichTextLabel = $"%description"
|
||||
@onready var costsBox: GridContainer = $"%costs"
|
||||
@onready var selectButton: Button = $"%selectBtn"
|
||||
@onready var updateButton: Button = $"%updateBtn"
|
||||
|
||||
var cooldownTimer = CooldownTimer.new()
|
||||
|
||||
func _ready():
|
||||
selectButton.pressed.connect(
|
||||
updateButton.pressed.connect(
|
||||
func():
|
||||
apply(UIState.player)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user