From d0e7886695664f9c863537f5fdba79d796018465 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, 6 Sep 2025 09:35:48 +0800 Subject: [PATCH] =?UTF-8?q?refactor(FieldStore):=20=E7=A7=BB=E9=99=A4EXTRA?= =?UTF-8?q?=5FBULLET=5FCOUNT=E7=9B=B8=E5=85=B3=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 清理不再使用的EXTRA_BULLET_COUNT功能代码,简化entityApplier结构 --- scripts/Tools/FieldStore.gd | 4 ---- 1 file changed, 4 deletions(-) diff --git a/scripts/Tools/FieldStore.gd b/scripts/Tools/FieldStore.gd index 21cf9d3..a852f60 100644 --- a/scripts/Tools/FieldStore.gd +++ b/scripts/Tools/FieldStore.gd @@ -101,10 +101,6 @@ static var entityApplier = { entity.inventoryMax[ItemStore.ItemType.APPLE] += value return true , - Entity.EXTRA_BULLET_COUNT: func(entity, value): - entity.fields[Entity.OFFSET_SHOOT] += value * 3 - return true - , } static var entityViewCastMap = { Entity.EXTRA_APPLE_MAX: func(entity, _value):