diff --git a/components/Weapons/Bow.tscn b/components/Weapons/Bow.tscn index 277c158..39bebb4 100644 --- a/components/Weapons/Bow.tscn +++ b/components/Weapons/Bow.tscn @@ -13,7 +13,7 @@ costBeachball = 50 store = { "atk": 5, "count": 1, -"self": 1.0 +"self": 2.0 } storeType = { "atk": 2, @@ -21,24 +21,18 @@ storeType = { "self": 1 } descriptionTemplate = "消耗$self点生命值,发射$count支[b]鸡毛箭[/b],每支造成当前飞行速度的$atk伤害。" -needEnergy = 50.0 cooldown = 2000.0 +debugRebuild = true [node name="avatar" parent="container/info" index="0"] 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"] count = 50 -[node name="soul" parent="container/info/infos" index="2"] -count = 1 - [node name="name" parent="container/info" index="2"] displayName = "鸡毛弓" quality = 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]" diff --git a/scripts/Contents/Weapons/Bow.gd b/scripts/Contents/Weapons/Bow.gd index 07b8d32..766c479 100644 --- a/scripts/Contents/Weapons/Bow.gd +++ b/scripts/Contents/Weapons/Bow.gd @@ -2,9 +2,9 @@ extends Weapon 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["self"] += 0.05 * to + origin["self"] += 0.025 * to return origin func attack(entity: EntityBase): entity.takeDamage(readStore("self"))