1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-28 06:51:54 +08:00

fix(UI): 修正ColorBar默认值和DamageLabel文本显示

refactor(Bullets): 调整BigLaser和Diamond的旋转插值系数
feat(EntityBase): 添加掉落物提示概率控制
style(BossBar): 添加currentValue默认值和label对齐方式
docs(GameRule): 新增掉落物提示概率配置项
This commit is contained in:
2025-08-28 08:22:13 +08:00
parent 307e3dd63f
commit 4c077af28d
7 changed files with 11 additions and 6 deletions
+2 -1
View File
@@ -90,7 +90,8 @@ func _ready():
)
itemCollected.connect(
func(itemType, amount):
UIState.itemCollect.add_child(ItemShow.generate(itemType, amount, true))
if MathTool.rate(GameRule.tipSpawnRateWhenGetDroppedItem):
UIState.itemCollect.add_child(ItemShow.generate(itemType, amount, true))
)
else:
currentFocusedBoss = get_tree().get_nodes_in_group("players")[0]