From 32f5adfce4b0e68639739e42d38c3b793b7e5f73 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: Thu, 28 Aug 2025 14:30:27 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=B0=83=E6=95=B4=E9=A3=9F=E7=89=A9?= =?UTF-8?q?=E5=B1=9E=E6=80=A7=E5=92=8C=E6=B8=B8=E6=88=8F=E5=B9=B3=E8=A1=A1?= =?UTF-8?q?=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修改多种食物的属性值,包括西瓜、泡芙、塔克和牛奶的数值调整 提高敌人每波生命值和伤害增长的百分比 --- components/Feeds/Milk.tscn | 5 +++-- components/Feeds/Puffs.tscn | 3 ++- components/Feeds/Taco.tscn | 6 +++--- components/Feeds/Xigua-Full.tscn | 2 +- components/Feeds/Xigua-Half.tscn | 3 ++- scripts/Tools/GameRule.gd | 4 ++-- 6 files changed, 13 insertions(+), 10 deletions(-) diff --git a/components/Feeds/Milk.tscn b/components/Feeds/Milk.tscn index d28aa2d..81aa22d 100644 --- a/components/Feeds/Milk.tscn +++ b/components/Feeds/Milk.tscn @@ -7,8 +7,8 @@ avatarTexture = ExtResource("2_15plv") displayName = "牛奶" quality = 2 -fields = Array[int]([13, 11, 7]) -fieldValues = Array[float]([0.4, 0.24]) +fields = Array[int]([13, 11, 8]) +fieldValues = Array[float]([0.1, 0.24, 0.07]) costs = Array[int]([0, 1]) costCounts = Array[int]([355, 200]) @@ -17,3 +17,4 @@ texture = ExtResource("2_15plv") [node name="name" parent="container/info" index="1"] displayName = "牛奶" +quality = 2 diff --git a/components/Feeds/Puffs.tscn b/components/Feeds/Puffs.tscn index 33fba12..64d485f 100644 --- a/components/Feeds/Puffs.tscn +++ b/components/Feeds/Puffs.tscn @@ -8,7 +8,7 @@ avatarTexture = ExtResource("2_p35iw") displayName = "奶酪泡芙" quality = 3 fields = Array[int]([10, 5, 13]) -fieldValues = Array[float]([0.06, 0.12, 0.3]) +fieldValues = Array[float]([0.06, 0.12, 0.075]) costs = Array[int]([0, 1]) costCounts = Array[int]([250, 100]) @@ -17,3 +17,4 @@ texture = ExtResource("2_p35iw") [node name="name" parent="container/info" index="1"] displayName = "奶酪泡芙" +quality = 3 diff --git a/components/Feeds/Taco.tscn b/components/Feeds/Taco.tscn index e52b314..005b00a 100644 --- a/components/Feeds/Taco.tscn +++ b/components/Feeds/Taco.tscn @@ -6,11 +6,11 @@ [node name="Taco" instance=ExtResource("1_iixnt")] avatarTexture = ExtResource("2_eed3c") displayName = "塔克" -quality = 2 +quality = 3 fields = Array[int]([13]) -fieldValues = Array[float]([0.75]) +fieldValues = Array[float]([0.24]) costs = Array[int]([1]) -costCounts = Array[int]([225]) +costCounts = Array[int]([200]) [node name="avatar" parent="container/info" index="0"] texture = ExtResource("2_eed3c") diff --git a/components/Feeds/Xigua-Full.tscn b/components/Feeds/Xigua-Full.tscn index ba76944..1856684 100644 --- a/components/Feeds/Xigua-Full.tscn +++ b/components/Feeds/Xigua-Full.tscn @@ -7,7 +7,7 @@ avatarTexture = ExtResource("2_j4m35") displayName = "西瓜" fields = Array[int]([2, 0]) -fieldValues = Array[float]([-0.1, 75.0]) +fieldValues = Array[float]([-0.15, 30.0]) costs = Array[int]([0, 1]) costCounts = Array[int]([100, 125]) diff --git a/components/Feeds/Xigua-Half.tscn b/components/Feeds/Xigua-Half.tscn index 76f5597..7f592cc 100644 --- a/components/Feeds/Xigua-Half.tscn +++ b/components/Feeds/Xigua-Half.tscn @@ -8,7 +8,7 @@ avatarTexture = ExtResource("2_htt7g") displayName = "一片西瓜" quality = 0 fields = Array[int]([0]) -fieldValues = Array[float]([5.0]) +fieldValues = Array[float]([10.0]) costs = Array[int]([0]) costCounts = Array[int]([50]) @@ -17,3 +17,4 @@ texture = ExtResource("2_htt7g") [node name="name" parent="container/info" index="1"] displayName = "一片西瓜" +quality = 0 diff --git a/scripts/Tools/GameRule.gd b/scripts/Tools/GameRule.gd index 0c58088..91e56d4 100644 --- a/scripts/Tools/GameRule.gd +++ b/scripts/Tools/GameRule.gd @@ -19,8 +19,8 @@ static var refreshCountIncreasePercent: Vector2 = Vector2(0.2, 0.75) # 刷新所 static var entityCountBoostPerWave: float = 0.1 # 每波敌人数量增加的百分比,倍数级 static var itemShowStayTime: int = 1500 # 物品展示组件如果设置了自动隐藏,那么隐藏前可以存活的时间 static var tipSpawnRateWhenGetDroppedItem: float = 0.25 # 当玩家获取到掉落物时,提示的概率 -static var entityHealthIncreasePerWave: float = 0.05 # 每波敌人生命值增加的百分比,指数级 -static var entityDamageIncreasePerWave: float = 0.025 # 每波敌人伤害增加的百分比,指数级 +static var entityHealthIncreasePerWave: float = 0.1 # 每波敌人生命值增加的百分比,指数级 +static var entityDamageIncreasePerWave: float = 0.05 # 每波敌人伤害增加的百分比,指数级 static var entityLevelOffsetByWave: float = 0.3 # 每波敌人等级根据当前波数随机浮动的比例 static var appleDropRateInfluenceByLuckValue: float = 0.02 # 幸运值对苹果掉率的影响 static var critRateInfluenceByLuckValue: float = 0.025 # 幸运值对暴击率的影响