1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-27 22:41:56 +08:00

feat(武器系统): 重构武器升华动画及交互逻辑

- 将sublimateToggled信号拆分为sublimateOpened和sublimateClosed
- 添加武器卡片的hide/show动画效果
- 移除MuyangDog角色中的Volcano武器
- 重置EntityBase中钻石的初始数量为0
- 为CategoryStore添加@tool注解
This commit is contained in:
2026-05-10 12:40:15 +08:00
parent aec1db5088
commit 1b3df9727a
7 changed files with 113 additions and 20 deletions
+4 -2
View File
@@ -9,7 +9,8 @@ enum EmitType {
HOLD_LOOP
}
signal sublimateToggled(on: bool)
signal sublimateOpened()
signal sublimateClosed()
@export var avatarTexture: Texture2D = null
@export var displayName: String = "未命名武器"
@@ -71,9 +72,10 @@ func _ready():
func(on: bool):
if on:
animator.play("openSub")
sublimateOpened.emit()
else:
animator.play("closeSub")
sublimateToggled.emit(on)
sublimateClosed.emit()
)
autoUpdateBtn.toggled.connect(
func(on: bool):