mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-07 04:07:13 +08:00
feat(武器): 新增道教石像武器及其相关效果
实现道教石像武器,包含以下功能: - 添加天地之剑攻击逻辑,根据攻击速度、生命值和气层数计算伤害 - 新增无量斩子弹类型和特效 - 为公鸡角色添加新武器配置 - 更新相关动画和音效资源
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
[gd_scene load_steps=21 format=3 uid="uid://dky8574uqc18r"]
|
||||
[gd_scene format=3 uid="uid://dky8574uqc18r"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://cvogxi7mktumf" path="res://components/Abstracts/EntityBase.tscn" id="1_e5pl8"]
|
||||
[ext_resource type="Script" uid="uid://cthtupc6dtbav" path="res://scripts/Contents/Characters/Rooster.gd" id="2_oqdqd"]
|
||||
[ext_resource type="PackedScene" uid="uid://cx7nogfnv7s8t" path="res://components/Weapons/Tree.tscn" id="3_0omr3"]
|
||||
[ext_resource type="PackedScene" uid="uid://bbrllsqjmx0ie" path="res://components/Weapons/DaoStatue.tscn" id="3_jluqw"]
|
||||
[ext_resource type="PackedScene" uid="uid://c0n3igy4hucrg" path="res://components/Weapons/PurpleCrystal.tscn" id="3_joj4g"]
|
||||
[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"]
|
||||
@@ -86,14 +87,14 @@ animations = [{
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_h1v0q"]
|
||||
radius = 61.204575
|
||||
|
||||
[node name="Rooster" instance=ExtResource("1_e5pl8")]
|
||||
[node name="Rooster" unique_id=1711205167 instance=ExtResource("1_e5pl8")]
|
||||
script = ExtResource("2_oqdqd")
|
||||
displayName = "公鸡"
|
||||
useStatic = true
|
||||
metadata/_edit_horizontal_guides_ = [-188.0]
|
||||
metadata/_edit_vertical_guides_ = [71.0]
|
||||
|
||||
[node name="chargeParticle" type="GPUParticles2D" parent="." index="0"]
|
||||
[node name="chargeParticle" type="GPUParticles2D" parent="." index="0" unique_id=1592717470]
|
||||
unique_name_in_owner = true
|
||||
position = Vector2(0, -54)
|
||||
amount = 100
|
||||
@@ -102,11 +103,15 @@ process_material = SubResource("ParticleProcessMaterial_joj4g")
|
||||
[node name="weaponStore" parent="." index="2"]
|
||||
process_mode = 4
|
||||
|
||||
[node name="PurpleCrystal" parent="weaponStore" index="0" instance=ExtResource("3_joj4g")]
|
||||
[node name="DaoStatue" parent="weaponStore" index="0" unique_id=265403254 instance=ExtResource("3_jluqw")]
|
||||
offset_bottom = 470.0
|
||||
debugRebuild = false
|
||||
|
||||
[node name="PurpleCrystal" parent="weaponStore" index="1" unique_id=1666404074 instance=ExtResource("3_joj4g")]
|
||||
offset_bottom = 350.0
|
||||
debugRebuild = false
|
||||
|
||||
[node name="Tree" parent="weaponStore" index="1" instance=ExtResource("3_0omr3")]
|
||||
[node name="Tree" parent="weaponStore" index="2" unique_id=2010233768 instance=ExtResource("3_0omr3")]
|
||||
offset_bottom = 350.0
|
||||
debugRebuild = false
|
||||
|
||||
@@ -136,7 +141,7 @@ animation = &"idle"
|
||||
position = Vector2(8, -28)
|
||||
shape = SubResource("CircleShape2D_h1v0q")
|
||||
|
||||
[node name="normal" type="Node2D" parent="texture/weapons" index="0"]
|
||||
[node name="normal" type="Node2D" parent="texture/weapons" index="0" unique_id=1939030218]
|
||||
position = Vector2(56, -69)
|
||||
|
||||
[node name="statebar" parent="." index="5" node_paths=PackedStringArray("entity")]
|
||||
|
||||
Reference in New Issue
Block a user