mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-07-01 15:52:30 +08:00
feat(武器): 调整鸡毛弓的伤害计算和属性配置
- 提高攻击伤害系数从0.05到0.075 - 降低自身伤害系数从0.05到0.025 - 更新基础生命值消耗从1.0到2.0 - 移除能量需求相关配置 - 更新描述文本以匹配当前数值
This commit is contained in:
@@ -13,7 +13,7 @@ costBeachball = 50
|
|||||||
store = {
|
store = {
|
||||||
"atk": 5,
|
"atk": 5,
|
||||||
"count": 1,
|
"count": 1,
|
||||||
"self": 1.0
|
"self": 2.0
|
||||||
}
|
}
|
||||||
storeType = {
|
storeType = {
|
||||||
"atk": 2,
|
"atk": 2,
|
||||||
@@ -21,24 +21,18 @@ storeType = {
|
|||||||
"self": 1
|
"self": 1
|
||||||
}
|
}
|
||||||
descriptionTemplate = "消耗$self点生命值,发射$count支[b]鸡毛箭[/b],每支造成当前飞行速度的$atk伤害。"
|
descriptionTemplate = "消耗$self点生命值,发射$count支[b]鸡毛箭[/b],每支造成当前飞行速度的$atk伤害。"
|
||||||
needEnergy = 50.0
|
|
||||||
cooldown = 2000.0
|
cooldown = 2000.0
|
||||||
|
debugRebuild = true
|
||||||
|
|
||||||
[node name="avatar" parent="container/info" index="0"]
|
[node name="avatar" parent="container/info" index="0"]
|
||||||
texture = ExtResource("2_ex3jl")
|
texture = ExtResource("2_ex3jl")
|
||||||
|
|
||||||
[node name="energy" parent="container/info/infos/energyInfo" index="1"]
|
|
||||||
text = "15.0"
|
|
||||||
|
|
||||||
[node name="beachball" parent="container/info/infos" index="1"]
|
[node name="beachball" parent="container/info/infos" index="1"]
|
||||||
count = 50
|
count = 50
|
||||||
|
|
||||||
[node name="soul" parent="container/info/infos" index="2"]
|
|
||||||
count = 1
|
|
||||||
|
|
||||||
[node name="name" parent="container/info" index="2"]
|
[node name="name" parent="container/info" index="2"]
|
||||||
displayName = "鸡毛弓"
|
displayName = "鸡毛弓"
|
||||||
quality = 2
|
quality = 2
|
||||||
|
|
||||||
[node name="description" parent="container" index="2"]
|
[node name="description" parent="container" index="2"]
|
||||||
text = "[center]消耗[color=cyan]1[/color]点生命值,发射[color=cyan]1[/color]支[b]鸡毛箭[/b],每支造成当前飞行速度的[color=cyan]500%[/color]伤害。[/center]"
|
text = "[center]消耗[color=cyan]2[/color]点生命值,发射[color=cyan]1[/color]支[b]鸡毛箭[/b],每支造成当前飞行速度的[color=cyan]500.0%[/color]伤害。[/center]"
|
||||||
|
|||||||
@@ -2,9 +2,9 @@
|
|||||||
extends Weapon
|
extends Weapon
|
||||||
|
|
||||||
func update(to: int, origin: Dictionary, _entity: EntityBase):
|
func update(to: int, origin: Dictionary, _entity: EntityBase):
|
||||||
origin["atk"] += 0.05 * to * soulLevel
|
origin["atk"] += 0.075 * to * soulLevel
|
||||||
origin["count"] = 1 * soulLevel
|
origin["count"] = 1 * soulLevel
|
||||||
origin["self"] += 0.05 * to
|
origin["self"] += 0.025 * to
|
||||||
return origin
|
return origin
|
||||||
func attack(entity: EntityBase):
|
func attack(entity: EntityBase):
|
||||||
entity.takeDamage(readStore("self"))
|
entity.takeDamage(readStore("self"))
|
||||||
|
|||||||
Reference in New Issue
Block a user