From 5a94a5905b34bb84827f59d140e0c6f43cc9c550 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:04:45 +0800 Subject: [PATCH] =?UTF-8?q?test(EntityBase):=20=E5=A2=9E=E5=8A=A0=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E7=89=A9=E5=93=81=E6=95=B0=E9=87=8F=E4=BB=A5=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E6=AD=A6=E5=99=A8=E7=81=B5=E9=AD=82=E7=AD=89=E7=BA=A7?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/Statemachine/EntityBase.gd | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/Statemachine/EntityBase.gd b/scripts/Statemachine/EntityBase.gd index d7e2dcb..f7767ae 100644 --- a/scripts/Statemachine/EntityBase.gd +++ b/scripts/Statemachine/EntityBase.gd @@ -52,12 +52,13 @@ var attackCooldownMap = { var attackCooldowner = { 0: CooldownTimer.new() } +# 先给点物品,测试武器灵魂等级的功能 var inventory = { ItemStore.ItemType.BASEBALL: 500, ItemStore.ItemType.BASKETBALL: 500, ItemStore.ItemType.APPLE: 5, - ItemStore.ItemType.BEACHBALL: 0, - ItemStore.ItemType.SOUL: 10, + ItemStore.ItemType.BEACHBALL: 9999, + ItemStore.ItemType.SOUL: 9999, } var inventoryMax = { ItemStore.ItemType.BASEBALL: INF, # 无限