mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-31 00:11:54 +08:00
feat(游戏机制): 调整掉落物品数量和添加错误提示
增加boss和非boss敌人死亡时掉落水晶的数量范围 为武器镶嵌/移除灵魂操作添加错误提示 移除Starter场景中不必要的属性设置 新增CharacterCardBase基础组件
This commit is contained in:
@@ -87,6 +87,8 @@ func _ready():
|
||||
soulLevel -= 1
|
||||
updateStore(level, UIState.player)
|
||||
rebuildInfo()
|
||||
else:
|
||||
UIState.showTip("[b]%s[/b]还未镶嵌任何灵魂!" % displayName, TipBox.MessageType.ERROR)
|
||||
)
|
||||
inlayBtn.pressed.connect(
|
||||
func():
|
||||
@@ -97,6 +99,10 @@ func _ready():
|
||||
soulLevel += 1
|
||||
updateStore(level, UIState.player)
|
||||
rebuildInfo()
|
||||
else:
|
||||
UIState.showTip("持有的灵魂数量不足!", TipBox.MessageType.ERROR)
|
||||
else:
|
||||
UIState.showTip("[b]%s[/b]的灵魂槽位已满!" % displayName, TipBox.MessageType.ERROR)
|
||||
)
|
||||
moveLeftBtn.pressed.connect(
|
||||
func():
|
||||
|
||||
Reference in New Issue
Block a user