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

feat(武器): 调整核弹武器属性和角色配置

增加核弹的基础攻击力和范围,降低能量消耗但增加冷却时间
更新公鸡角色的武器配置,将核弹作为默认武器
This commit is contained in:
2025-09-30 17:01:44 +08:00
parent 0ab1309271
commit e912a58969
3 changed files with 14 additions and 10 deletions
+7 -3
View File
@@ -1,4 +1,4 @@
[gd_scene load_steps=15 format=3 uid="uid://bm7ymrri6pykb"]
[gd_scene load_steps=16 format=3 uid="uid://bm7ymrri6pykb"]
[ext_resource type="PackedScene" uid="uid://cvogxi7mktumf" path="res://components/Abstracts/EntityBase.tscn" id="1_e5pl8"]
[ext_resource type="Script" path="res://scripts/Contents/Characters/Rooster.gd" id="2_oqdqd"]
@@ -6,6 +6,7 @@
[ext_resource type="AudioStream" uid="uid://dclinyhu256xi" path="res://resources/sounds/effect/Low Whoosh.mp3" id="3_4syso"]
[ext_resource type="Texture2D" uid="uid://ci2ik43ce82uy" path="res://resources/characters/cock/rooster-b.svg" id="3_b0fgx"]
[ext_resource type="PackedScene" uid="uid://c0n3igy4hucrg" path="res://components/Weapons/PurpleCrystal.tscn" id="3_cyreu"]
[ext_resource type="PackedScene" uid="uid://b2qhes4apaxsj" path="res://components/Weapons/NuclearBomb.tscn" id="3_kdo05"]
[ext_resource type="AudioStream" uid="uid://cdrevrq7n6yqa" path="res://resources/sounds/effect/Boing.mp3" id="4_66s6c"]
[ext_resource type="AudioStream" uid="uid://benyec5bqni0b" path="res://resources/sounds/effect/Chomp.wav" id="4_k0yme"]
[ext_resource type="PackedScene" uid="uid://bb1uh8k7gkhr7" path="res://components/Weapons/VectorStar.tscn" id="4_re2px"]
@@ -45,10 +46,13 @@ displayName = "公鸡"
[node name="weaponStore" parent="." index="0"]
process_mode = 4
[node name="PurpleCrystal" parent="weaponStore" index="0" instance=ExtResource("3_cyreu")]
[node name="NuclearBomb" parent="weaponStore" index="0" instance=ExtResource("3_kdo05")]
offset_bottom = 324.0
[node name="PurpleCrystal" parent="weaponStore" index="1" instance=ExtResource("3_cyreu")]
debugRebuild = false
[node name="VectorStar" parent="weaponStore" index="1" instance=ExtResource("4_re2px")]
[node name="VectorStar" parent="weaponStore" index="2" instance=ExtResource("4_re2px")]
debugRebuild = false
[node name="sprint" parent="sounds" index="0"]
+5 -5
View File
@@ -12,16 +12,16 @@ quality = 4
typeTopic = 2
costBeachball = 100
store = {
"atk": 750,
"radius": 500.0
"atk": 1200,
"radius": 750.0
}
storeType = {
"atk": 1,
"radius": 1
}
descriptionTemplate = "倒计时10秒后对半径$radius范围的实体造成$atk点[b]无差别伤害[/b]。"
needEnergy = 200.0
cooldown = 1000.0
needEnergy = 100.0
cooldown = 2000.0
[node name="avatar" parent="container/info" index="0"]
texture = ExtResource("2_5nh8i")
@@ -44,4 +44,4 @@ typeTopicColorMap = {
}
[node name="description" parent="container" index="2"]
text = "[center]倒计时10秒后对半径[color=cyan]500[/color]→[color=yellow]520[/color]范围的实体造成[color=cyan]500[/color]→[color=yellow]525[/color]点[b]无差别伤害[/b]。[/center]"
text = "[center]倒计时10秒后对半径[color=cyan]750[/color]→[color=yellow]770[/color]范围的实体造成[color=cyan]1000[/color]→[color=yellow]1025[/color]点[b]无差别伤害[/b]。[/center]"
+2 -2
View File
@@ -2,8 +2,8 @@
extends Weapon
func update(to: int, origin: Dictionary, _entity: EntityBase):
origin["atk"] += 25 * to * soulLevel
origin["radius"] += 20 * to * soulLevel
origin["atk"] += 50 * to * soulLevel
origin["radius"] += 15 * to * soulLevel
return origin
func attack(entity: EntityBase):
var weaponPos = entity.findWeaponAnchor("normal")