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:
@@ -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]"
|
||||
|
||||
@@ -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"))
|
||||
|
||||
Reference in New Issue
Block a user