1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-30 07:51:54 +08:00

refactor(测试): 将默认波数据改为测试BOSS鸡并移除无用音频资源

修改Wave.gd中的默认波数据为测试BOSS鸡,便于测试
移除Chick.tscn中未使用的狐狸受伤音频资源及相关配置
This commit is contained in:
2025-12-14 14:54:06 +08:00
parent 80b6134412
commit 4648fedc73
2 changed files with 2 additions and 7 deletions
+1 -6
View File
@@ -1,8 +1,7 @@
[gd_scene load_steps=14 format=3 uid="uid://b0ncrvm8u4pox"]
[gd_scene load_steps=13 format=3 uid="uid://b0ncrvm8u4pox"]
[ext_resource type="PackedScene" uid="uid://cvogxi7mktumf" path="res://components/Abstracts/EntityBase.tscn" id="1_goqmy"]
[ext_resource type="Script" uid="uid://b2gg1fh0bflu7" path="res://scripts/Contents/Characters/Chick.gd" id="2_r6bub"]
[ext_resource type="AudioStream" uid="uid://bp41p33g0mep6" path="res://resources/sounds/effect/foxhurt.mp3" id="3_x766l"]
[ext_resource type="AudioStream" uid="uid://bgo8p1l77xrbe" path="res://resources/sounds/effect/Magic Spell.wav" id="4_2qabh"]
[ext_resource type="AudioStream" uid="uid://b10u6iir6uvqn" path="res://resources/sounds/effect/BigLaser.wav" id="4_mrsne"]
[ext_resource type="AudioStream" uid="uid://bf34p3xnsosgj" path="res://resources/sounds/effect/Dun Dun Dunnn.wav" id="4_w0sit"]
@@ -55,10 +54,6 @@ displayName = "狐狸"
drops = Array[int]([0, 1])
dropCounts = Array[Vector2]([Vector2(10, 30), Vector2(15, 50)])
appleCount = Vector2i(2, 4)
hurtAudioRate = 0.1
[node name="hurt" parent="sounds" index="3"]
stream = ExtResource("3_x766l")
[node name="attack1" type="AudioStreamPlayer2D" parent="sounds" index="6"]
stream = ExtResource("4_mrsne")
+1 -1
View File
@@ -47,7 +47,7 @@ static var WAVE_TESTBOSS_CHICK = [
Wave.create("Chick", 0, 0, true, 0, INF, 10),
]
static var WAVE_EMPTY = []
static var data = WAVE_NORMAL
static var data = WAVE_TESTBOSS_CHICK
static func create(
entity_: String,