From 4cb2b97586b4960e253491a5e35816841154ab23 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: Sun, 21 Sep 2025 16:50:09 +0800 Subject: [PATCH] =?UTF-8?q?refactor(EntityBase):=20=E5=B0=86BASEBALL?= =?UTF-8?q?=E5=92=8CBASKETBALL=E6=95=B0=E9=87=8F=E6=94=B9=E4=B8=BA?= =?UTF-8?q?=E6=97=A0=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 测试时将BASEBALL和BASKETBALL的初始数量从500改为无限(INF),便于测试场景使用 --- scripts/Statemachine/EntityBase.gd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/Statemachine/EntityBase.gd b/scripts/Statemachine/EntityBase.gd index c7f062f..7825f98 100644 --- a/scripts/Statemachine/EntityBase.gd +++ b/scripts/Statemachine/EntityBase.gd @@ -53,8 +53,8 @@ var attackCooldowner = { 0: CooldownTimer.new() } var inventory = { - ItemStore.ItemType.BASEBALL: 500, - ItemStore.ItemType.BASKETBALL: 500, + ItemStore.ItemType.BASEBALL: INF, # 测试一下 + ItemStore.ItemType.BASKETBALL: INF, ItemStore.ItemType.APPLE: 5, ItemStore.ItemType.BEACHBALL: 0, ItemStore.ItemType.SOUL: 0,