mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-27 22:41:56 +08:00
feat(武器): 新增道教石像武器及其相关效果
实现道教石像武器,包含以下功能: - 添加天地之剑攻击逻辑,根据攻击速度、生命值和气层数计算伤害 - 新增无量斩子弹类型和特效 - 为公鸡角色添加新武器配置 - 更新相关动画和音效资源
This commit is contained in:
@@ -0,0 +1,130 @@
|
||||
[gd_scene format=3 uid="uid://ckf0a3lud88tq"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://bcvuuy2m0pke0" path="res://components/Abstracts/EffectBase.tscn" id="1_oasek"]
|
||||
[ext_resource type="Texture2D" uid="uid://bwc20hfm5jv8o" path="res://resources/effects/danger/Effect_Boss_YiGung_Upper413.png" id="2_56n4r"]
|
||||
[ext_resource type="AudioStream" uid="uid://g2j01jf3kap8" path="res://resources/sounds/effect/Flash2.ogg" id="2_agkww"]
|
||||
[ext_resource type="Texture2D" uid="uid://bwtxy88f2hq7v" path="res://resources/effects/danger/Effect_Boss_YiGung_Upper414.png" id="3_agkww"]
|
||||
[ext_resource type="Texture2D" uid="uid://dexx7re4jsqex" path="res://resources/effects/danger/Effect_Boss_YiGung_Upper1200.png" id="4_rvrve"]
|
||||
[ext_resource type="Texture2D" uid="uid://dd67ngjhh10ku" path="res://resources/effects/danger/Effect_Boss_YiGung_Upper1201.png" id="5_p01e2"]
|
||||
[ext_resource type="Texture2D" uid="uid://chkv28f044rwb" path="res://resources/effects/danger/Effect_Boss_YiGung_Upper1202.png" id="6_jaajp"]
|
||||
[ext_resource type="Texture2D" uid="uid://e3v0u34fvig4" path="res://resources/effects/danger/Effect_Boss_YiGung_Upper1203.png" id="7_lvgcl"]
|
||||
[ext_resource type="Texture2D" uid="uid://c4k1m2mtwejwk" path="res://resources/effects/danger/Effect_Boss_YiGung_Upper1204.png" id="8_dww55"]
|
||||
[ext_resource type="Texture2D" uid="uid://c5gkd05tb32u8" path="res://resources/effects/danger/Effect_Boss_YiGung_Upper1205.png" id="9_gwi08"]
|
||||
[ext_resource type="Texture2D" uid="uid://mo0gjwh5amev" path="res://resources/effects/danger/Effect_Boss_YiGung_Upper1206.png" id="10_qnlj8"]
|
||||
|
||||
[sub_resource type="Animation" id="Animation_agkww"]
|
||||
length = 0.001
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("%texture:scale")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 0,
|
||||
"values": [Vector2(1, 1)]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("%texture:modulate")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 0,
|
||||
"values": [Color(1, 1, 1, 1)]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_rvrve"]
|
||||
resource_name = "spawn"
|
||||
length = 0.7
|
||||
step = 0.05
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("%texture:scale")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0.45, 0.7),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 0,
|
||||
"values": [Vector2(1, 1), Vector2(0, 0)]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("%texture:modulate")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0.45, 0.7),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 0,
|
||||
"values": [Color(1, 1, 1, 1), Color(1, 1, 1, 0)]
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_p01e2"]
|
||||
_data = {
|
||||
&"RESET": SubResource("Animation_agkww"),
|
||||
&"spawn": SubResource("Animation_rvrve")
|
||||
}
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_cau5v"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("2_56n4r")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("3_agkww")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("4_rvrve")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("5_p01e2")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("6_jaajp")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("7_lvgcl")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("8_dww55")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("9_gwi08")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("10_qnlj8")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("10_qnlj8")
|
||||
}],
|
||||
"loop": false,
|
||||
"name": &"spawn",
|
||||
"speed": 20.0
|
||||
}]
|
||||
|
||||
[node name="Danger" unique_id=609847951 instance=ExtResource("1_oasek")]
|
||||
scale = Vector2(0.75, 0.75)
|
||||
spawnSound = "spawn"
|
||||
spawnAnimation = "spawn"
|
||||
spawnTexture = "spawn"
|
||||
|
||||
[node name="spawn" parent="sounds" index="0"]
|
||||
stream = ExtResource("2_agkww")
|
||||
|
||||
[node name="animator" parent="stage" index="0"]
|
||||
libraries/ = SubResource("AnimationLibrary_p01e2")
|
||||
|
||||
[node name="texture" parent="stage" index="1"]
|
||||
sprite_frames = SubResource("SpriteFrames_cau5v")
|
||||
frame = 9
|
||||
frame_progress = 1.0
|
||||
Reference in New Issue
Block a user