mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-28 15:01:53 +08:00
d6680bf506
重构武器发射逻辑,使用枚举类型EmitType来管理不同的武器发射方式 更新相关武器配置文件和角色控制逻辑
43 lines
1.8 KiB
Plaintext
43 lines
1.8 KiB
Plaintext
[gd_scene format=3 uid="uid://dgxvgsipl0gr1"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://ckq2cq6m23hq3" path="res://components/Abstracts/WeaponCardBase.tscn" id="1_bri6r"]
|
|
[ext_resource type="Script" uid="uid://jyalew2bgcnk" path="res://scripts/Contents/Weapons/CursorKnife.gd" id="2_sn7uu"]
|
|
[ext_resource type="Texture2D" uid="uid://blnryfwabfo5v" path="res://resources/weapons/CursorKnife.png" id="3_mdipf"]
|
|
[ext_resource type="AudioStream" uid="uid://b3y226i1875iq" path="res://resources/sounds/effect/cursor.wav" id="4_vttri"]
|
|
|
|
[node name="CursorKnife" unique_id=873917839 instance=ExtResource("1_bri6r")]
|
|
script = ExtResource("2_sn7uu")
|
|
avatarTexture = ExtResource("3_mdipf")
|
|
displayName = "光标刃轮"
|
|
typeTopic = 1
|
|
costBeachball = 350
|
|
emitType = 1
|
|
store = {
|
|
"atk": 10,
|
|
"speed": 0.004
|
|
}
|
|
storeType = {
|
|
"atk": 1,
|
|
"speed": 2
|
|
}
|
|
descriptionTemplate = "造成$atk点伤害,攻击速度+$speed。"
|
|
|
|
[node name="attack" parent="sounds" parent_id_path=PackedInt32Array(1775425991) index="0" unique_id=853583292]
|
|
stream = ExtResource("4_vttri")
|
|
|
|
[node name="avatar" parent="container/info" parent_id_path=PackedInt32Array(1625294072) index="0" unique_id=1021985889]
|
|
texture = ExtResource("3_mdipf")
|
|
|
|
[node name="beachball" parent="container/info/infos" parent_id_path=PackedInt32Array(492799150) index="1" unique_id=653442983]
|
|
count = 350
|
|
|
|
[node name="name" parent="container/info/displays" parent_id_path=PackedInt32Array(784441328) index="0" unique_id=1576068972]
|
|
displayName = "光标刃轮"
|
|
typeTopic = 1
|
|
|
|
[node name="description" parent="container" parent_id_path=PackedInt32Array(575698869) index="2" unique_id=566230682]
|
|
text = "[center]造成[color=cyan]10[/color]点伤害,攻击速度+[color=cyan]0.4%[/color]。[/center]"
|
|
|
|
[node name="tease" parent="container" parent_id_path=PackedInt32Array(575698869) index="3" unique_id=689277044]
|
|
visible = false
|