1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-06 19:57:12 +08:00

fix(Weapons/Bow): 调整弓的自伤系数和能量消耗

将自伤系数从0.1降低到0.05,同时将基础自伤值从0.5提升到1.0
能量消耗从20.0增加到40.0以平衡调整
This commit is contained in:
2025-11-17 22:39:45 +08:00
parent 406e68a6ee
commit 7df10eec34
2 changed files with 6 additions and 6 deletions
+5 -5
View File
@@ -13,15 +13,15 @@ costBeachball = 50
store = {
"atk": 3,
"count": 1,
"self": 0.5
"self": 1.0
}
storeType = {
"atk": 2,
"count": 1,
"self": 0
"self": 1
}
descriptionTemplate = "消耗$self点生命值,发射$count支[b]鸡毛箭[/b],每支造成当前飞行速度的$atk伤害。"
needEnergy = 20.0
needEnergy = 40.0
cooldown = 500.0
debugRebuild = true
@@ -29,7 +29,7 @@ debugRebuild = true
texture = ExtResource("2_ex3jl")
[node name="energy" parent="container/info/infos/energyInfo" index="1"]
text = "20.0"
text = "40.0"
[node name="beachball" parent="container/info/infos" index="1"]
count = 50
@@ -42,4 +42,4 @@ displayName = "鸡毛弓"
quality = 2
[node name="description" parent="container" index="2"]
text = "[center]消耗[color=cyan]0.50[/color]点生命值,发射[color=cyan]1[/color]支[b]鸡毛箭[/b],每支造成当前飞行速度的[color=cyan]300%[/color]伤害。[/center]"
text = "[center]消耗[color=cyan]1[/color]点生命值,发射[color=cyan]1[/color]支[b]鸡毛箭[/b],每支造成当前飞行速度的[color=cyan]300%[/color]伤害。[/center]"
+1 -1
View File
@@ -4,7 +4,7 @@ extends Weapon
func update(to: int, origin: Dictionary, _entity: EntityBase):
origin["atk"] += 0.05 * to * soulLevel
origin["count"] = 1 * soulLevel
origin["self"] += 0.1 * to
origin["self"] += 0.05 * to
return origin
func attack(entity: EntityBase):
entity.takeDamage(readStore("self"))