From 60dac421416acacbfaae9f3703c77e727ed58447 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 16:17:01 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=AD=A6=E5=99=A8/=E6=B8=B8=E6=88=8F?= =?UTF-8?q?=E8=A7=84=E5=88=99):=20=E8=B0=83=E6=95=B4=E6=AD=A6=E5=99=A8?= =?UTF-8?q?=E4=BC=A4=E5=AE=B3=E5=92=8C=E6=95=8C=E4=BA=BA=E6=88=90=E9=95=BF?= =?UTF-8?q?=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将多种武器的攻击力加成从2倍提升至5倍 调整敌人每波生命值增长从5%提升至10%,伤害增长从2.5%降低至1% --- scripts/Contents/Weapons/LGBTWeapon.gd | 2 +- scripts/Contents/Weapons/PurpleCrystal.gd | 2 +- scripts/Contents/Weapons/VectorStarWeapon.gd | 2 +- scripts/Tools/GameRule.gd | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/Contents/Weapons/LGBTWeapon.gd b/scripts/Contents/Weapons/LGBTWeapon.gd index abf3e6c..d200cae 100644 --- a/scripts/Contents/Weapons/LGBTWeapon.gd +++ b/scripts/Contents/Weapons/LGBTWeapon.gd @@ -3,7 +3,7 @@ extends Weapon class_name LGBTWeapon func update(to: int, origin: Dictionary, _entity: EntityBase): - origin["atk"] += 2 * to + origin["atk"] += 5 * to origin["count"] += to origin["power"] += 0.05 * level origin["trace"] += 0.25 * level diff --git a/scripts/Contents/Weapons/PurpleCrystal.gd b/scripts/Contents/Weapons/PurpleCrystal.gd index 708d0dd..8062f36 100644 --- a/scripts/Contents/Weapons/PurpleCrystal.gd +++ b/scripts/Contents/Weapons/PurpleCrystal.gd @@ -3,7 +3,7 @@ extends Weapon class_name PurpleCrystalWeapon func update(to: int, origin: Dictionary, _entity: EntityBase): - origin["atk"] += 2 * to + origin["atk"] += 5 * to return origin func attack(entity: EntityBase): var weaponPos = entity.findWeaponAnchor("normal") diff --git a/scripts/Contents/Weapons/VectorStarWeapon.gd b/scripts/Contents/Weapons/VectorStarWeapon.gd index d88c9d1..275d4cb 100644 --- a/scripts/Contents/Weapons/VectorStarWeapon.gd +++ b/scripts/Contents/Weapons/VectorStarWeapon.gd @@ -3,7 +3,7 @@ extends Weapon class_name VectorStarWeapon func update(to: int, origin: Dictionary, _entity: EntityBase): - origin["atk"] += 2 * to + origin["atk"] += 5 * to origin["forwardtime"] /= 1.05 * to origin["maxcount"] += 1 * level return origin diff --git a/scripts/Tools/GameRule.gd b/scripts/Tools/GameRule.gd index 80498cd..a63b4c2 100644 --- a/scripts/Tools/GameRule.gd +++ b/scripts/Tools/GameRule.gd @@ -20,8 +20,8 @@ static var refreshCountIncreasePercent: Vector2 = Vector2(MathTool.percent(10), static var entityCountBoostPerWave: float = MathTool.percent(10) # 每波敌人数量增加的百分比,倍数级 static var itemShowLifetime: int = 1500 # 物品展示组件如果设置了自动隐藏,那么隐藏前可以存活的时间 static var tipSpawnRateWhenGetDroppedItem: float = MathTool.percent(25) # 当玩家获取到掉落物时,提示的概率 -static var entityHealthIncreasePerWave: float = MathTool.percent(5) # 每波敌人生命值增加的百分比,指数级 -static var entityDamageIncreasePerWave: float = MathTool.percent(2.5) # 每波敌人伤害增加的百分比,指数级 +static var entityHealthIncreasePerWave: float = MathTool.percent(10) # 每波敌人生命值增加的百分比,指数级 +static var entityDamageIncreasePerWave: float = MathTool.percent(1) # 每波敌人伤害增加的百分比,指数级 static var entityLevelOffsetByWave: float = MathTool.percent(30) # 每波敌人等级根据当前波数随机浮动的比例 static var appleDropRateInfluenceByLuckValue: float = MathTool.percent(2) # 幸运值对苹果掉率的影响 static var critRateInfluenceByLuckValue: float = MathTool.percent(2.5) # 幸运值对暴击率的影响