1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-30 07:51:54 +08:00

fix(武器): 调整DaoStatue的伤害计算和移除InfinitySword的伤害减免

移除InfinitySword的penerateDamageReduction属性
调整DaoStatue的rate2计算系数从0.06提升至0.15
更新DaoStatue的基础rate2值从1.05提升至1.25
同步更新相关UI文本中的数值显示
This commit is contained in:
2026-05-08 16:22:46 +08:00
parent fbcab848e2
commit 32a0f43bfa
3 changed files with 3 additions and 4 deletions
-1
View File
@@ -145,7 +145,6 @@ height = 580.0
script = ExtResource("2_nbqhn")
speed = 25.0
penerate = 1.0
penerateDamageReduction = 0.1
autoSpawnAnimation = true
autoPlayTexture = true
freeAfterSpawn = true
+2 -2
View File
@@ -14,7 +14,7 @@ costBeachball = 499
store = {
"atk": 5,
"rate1": 0.05,
"rate2": 1.05
"rate2": 1.25
}
storeType = {
"atk": 1,
@@ -61,7 +61,7 @@ text = "[center]消耗[color=yellow]3[/color]层气力,挥出[b]无为之剑[/
每失去[color=yellow]1[/color]点生命值,伤害+[color=cyan]5.0%[/color]
无量反击可化解路径上的一切伤害,
每化解[color=yellow]1[/color]点伤害,基础伤害*[color=cyan]105.0%[/color]。[/center]"
每化解[color=yellow]1[/color]点伤害,基础伤害*[color=cyan]125.0%[/color]。[/center]"
[node name="tease" parent="container" parent_id_path=PackedInt32Array(575698869) index="3" unique_id=689277044]
visible = true
+1 -1
View File
@@ -4,7 +4,7 @@ extends Weapon
func update(to: int, origin: Dictionary, _entity: EntityBase):
origin["atk"] += 4 * to * soulLevel
origin["rate1"] *= soulLevel
origin["rate2"] += 0.06 * (soulLevel - 1)
origin["rate2"] += 0.15 * (soulLevel - 1)
return origin
func checkAttack(entity: EntityBase) -> bool:
return len(entity.getOrCreateCycleTimer("parry", 2000, 100).bullets) > 2