From d4a069c1c336020751f71f079392899351ec6cda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=A8=E8=90=BD=E5=9F=BA=E5=9B=B4=E8=99=BE?= <3161880837@qq.com> Date: Sat, 20 Sep 2025 07:11:50 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=87=8D=E7=BD=AE=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E7=89=A9=E5=93=81=E6=95=B0=E9=87=8F=E4=B8=BA=E5=90=88=E7=90=86?= =?UTF-8?q?=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将BEACHBALL和SOUL的测试数量从9999改为0,以符合实际游戏需求 --- scripts/Statemachine/EntityBase.gd | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/Statemachine/EntityBase.gd b/scripts/Statemachine/EntityBase.gd index f7767ae..0a84532 100644 --- a/scripts/Statemachine/EntityBase.gd +++ b/scripts/Statemachine/EntityBase.gd @@ -52,13 +52,12 @@ var attackCooldownMap = { var attackCooldowner = { 0: CooldownTimer.new() } -# 先给点物品,测试武器灵魂等级的功能 var inventory = { ItemStore.ItemType.BASEBALL: 500, ItemStore.ItemType.BASKETBALL: 500, ItemStore.ItemType.APPLE: 5, - ItemStore.ItemType.BEACHBALL: 9999, - ItemStore.ItemType.SOUL: 9999, + ItemStore.ItemType.BEACHBALL: 0, + ItemStore.ItemType.SOUL: 0, } var inventoryMax = { ItemStore.ItemType.BASEBALL: INF, # 无限