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

feat(武器): 添加武器描述和彩蛋文本

为多个武器添加了彩蛋文本(tease)和来源信息(sources),包括GrassWall、Hetun、Tree、BigLaser、Cogwheel、Bow、DaoStatue和HXD。同时更新了武器描述和部分属性:
- 为BigLaser更新显示名称为"金法阵"并修改描述
- 为DaoStatue增加攻击力从30到50
- 更新HXD的描述文本
- 在Weapon.gd中添加teaseLabel的显示/隐藏逻辑
- 在Rooster.tscn中更换默认武器为DaoStatue
This commit is contained in:
2026-04-04 13:32:15 +08:00
parent 8d21485057
commit c413744dbf
11 changed files with 109 additions and 47 deletions
+5 -1
View File
@@ -126,7 +126,11 @@ func rebuildInfo(showNext: bool = false):
nameLabel.soulLevel = soulLevel
nameLabel.level = level
sourceLabel.text = " × ".join(sources)
teaseLabel.text = "%s" % tease
if len(tease) > 0:
teaseLabel.text = "%s" % tease
teaseLabel.show()
else:
teaseLabel.hide()
energyLabel.text = "%.1f" % needEnergy
beachball.count = costBeachball
soul.count = soulLevel