mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-28 06:51:54 +08:00
refactor(武器系统): 替换蓝色水晶为紫色水晶并移除多余武器
将Rooster角色的武器从蓝色水晶更换为紫色水晶,并移除了不再使用的树和道像武器 修复FieldShow状态机中costItems循环的长度检查问题
This commit is contained in:
@@ -29,7 +29,7 @@ func _ready():
|
||||
func():
|
||||
if upgradable:
|
||||
if enoughToUpgrade():
|
||||
for index in costItems:
|
||||
for index in len(costItems):
|
||||
var item = costItems[index]
|
||||
OutGameStorage.inventory[item] -= costCounts[index]
|
||||
value += upgradeValue
|
||||
|
||||
Reference in New Issue
Block a user