mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-11 14:17:13 +08:00
feat(召唤): 调整召唤物属性和武器配置
- 修改HJM和LGBTFlag的吸引力数值 - 为武器类型枚举添加SUMMON选项 - 优化召唤逻辑,当达到上限时移除最早召唤物 - 调整Shield武器的属性和描述 - 更新Rooster角色的武器配置 - 修复LGBTFlag攻击角度计算问题
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
[gd_scene load_steps=7 format=3 uid="uid://ckq2cq6m23hq3"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/Structs/Weapon.gd" id="1_g802t"]
|
||||
[ext_resource type="Script" uid="uid://c7odfwtug8ds4" path="res://scripts/Structs/Weapon.gd" id="1_g802t"]
|
||||
[ext_resource type="Theme" uid="uid://dhvs6urgf6jr5" path="res://themes/main.tres" id="2_fwkd3"]
|
||||
[ext_resource type="PackedScene" uid="uid://ch81vd3awkmhk" path="res://components/UI/WeaponName.tscn" id="3_qv0b1"]
|
||||
[ext_resource type="Texture2D" uid="uid://k13cte17httt" path="res://resources/items/energy.svg" id="4_6gohw"]
|
||||
@@ -107,16 +107,25 @@ unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
type = 3
|
||||
count = 500
|
||||
|
||||
[node name="soul" parent="container/info/infos" instance=ExtResource("4_k01vb")]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
type = 4
|
||||
count = 1
|
||||
|
||||
[node name="name" parent="container/info" instance=ExtResource("3_qv0b1")]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
typeTopicColorMap = {
|
||||
0: Color(1, 1, 1, 1),
|
||||
1: Color(0, 0.708754, 1, 1),
|
||||
2: Color(1, 0.232016, 0, 1),
|
||||
3: Color(0.707984, 0, 1, 1),
|
||||
4: Color(0, 1, 0.7641754, 1)
|
||||
}
|
||||
soulLevelColorMap = {
|
||||
1: Color(1, 1, 1, 1),
|
||||
2: Color(0.489296, 1, 0.548293, 1),
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
[gd_scene load_steps=14 format=3 uid="uid://bm7ymrri6pykb"]
|
||||
[gd_scene load_steps=13 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" uid="uid://cthtupc6dtbav" path="res://scripts/Contents/Characters/Rooster.gd" id="2_oqdqd"]
|
||||
[ext_resource type="PackedScene" uid="uid://sp8f50c5mxyc" path="res://components/Weapons/Shield.tscn" id="3_0omr3"]
|
||||
[ext_resource type="PackedScene" uid="uid://c0n3igy4hucrg" path="res://components/Weapons/PurpleCrystal.tscn" id="3_jluqw"]
|
||||
[ext_resource type="PackedScene" uid="uid://c3crr8r7y3oho" path="res://components/Weapons/BlueCrystal.tscn" id="3_joj4g"]
|
||||
[ext_resource type="PackedScene" uid="uid://wl8u5m52708w" path="res://components/Weapons/LGBT.tscn" id="3_s7kxe"]
|
||||
[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="AudioStream" uid="uid://dmxh3bpk8vyy5" path="res://resources/sounds/effect/Coin.mp3" id="5_xnbhq"]
|
||||
@@ -58,13 +57,8 @@ process_mode = 4
|
||||
|
||||
[node name="PurpleCrystal" parent="weaponStore" index="0" instance=ExtResource("3_jluqw")]
|
||||
offset_bottom = 350.0
|
||||
debugRebuild = false
|
||||
|
||||
[node name="BlueCrystal" parent="weaponStore" index="1" instance=ExtResource("3_joj4g")]
|
||||
offset_bottom = 398.0
|
||||
|
||||
[node name="Shield" parent="weaponStore" index="2" instance=ExtResource("3_0omr3")]
|
||||
debugRebuild = false
|
||||
[node name="LGBT" parent="weaponStore" index="1" instance=ExtResource("3_s7kxe")]
|
||||
|
||||
[node name="sprint" parent="sounds" index="0"]
|
||||
stream = ExtResource("4_66s6c")
|
||||
|
||||
@@ -47,10 +47,10 @@ animations = [{
|
||||
|
||||
[node name="HJM" instance=ExtResource("1_06nhw")]
|
||||
script = ExtResource("2_7ry3q")
|
||||
attraction = 0.0
|
||||
attraction = 0.1
|
||||
useStatic = true
|
||||
|
||||
[node name="texture" parent="." index="2"]
|
||||
[node name="texture" parent="." index="3"]
|
||||
sprite_frames = SubResource("SpriteFrames_p863a")
|
||||
animation = &"default"
|
||||
|
||||
|
||||
@@ -22,9 +22,9 @@ size = Vector2(112, 70)
|
||||
|
||||
[node name="LGBTFlag" instance=ExtResource("1_fktqv")]
|
||||
script = ExtResource("2_6d456")
|
||||
attraction = 0.5
|
||||
attraction = 0.75
|
||||
|
||||
[node name="texture" parent="." index="2"]
|
||||
[node name="texture" parent="." index="3"]
|
||||
sprite_frames = SubResource("SpriteFrames_r6sud")
|
||||
|
||||
[node name="staticBackground" parent="texture" index="0"]
|
||||
|
||||
@@ -7,24 +7,31 @@
|
||||
[node name="Shield" instance=ExtResource("1_rax6s")]
|
||||
script = ExtResource("2_s74sn")
|
||||
avatarTexture = ExtResource("2_gcjwh")
|
||||
displayName = "音元水晶"
|
||||
displayName = "回响水晶"
|
||||
quality = 3
|
||||
typeTopic = 4
|
||||
costBeachball = 1000
|
||||
store = {
|
||||
"atk": 200
|
||||
"atk": 100
|
||||
}
|
||||
descriptionTemplate = "召唤一个可抵挡$atk点伤害的[b]音元护盾[/b]。"
|
||||
descriptionTemplate = "召唤一个可抵挡$atk点伤害的[b]音元盾[/b]。"
|
||||
needEnergy = 50.0
|
||||
cooldown = 30000.0
|
||||
debugRebuild = true
|
||||
|
||||
[node name="avatar" parent="container/info" index="0"]
|
||||
texture = ExtResource("2_gcjwh")
|
||||
|
||||
[node name="beachball" parent="container/info/infos" index="1"]
|
||||
count = 500
|
||||
[node name="energy" parent="container/info/infos/energyInfo" index="1"]
|
||||
text = "50.0"
|
||||
|
||||
[node name="soul" parent="container/info/infos" index="2"]
|
||||
count = 1
|
||||
[node name="beachball" parent="container/info/infos" index="1"]
|
||||
count = 1000
|
||||
|
||||
[node name="name" parent="container/info" index="2"]
|
||||
displayName = "音元水晶"
|
||||
displayName = "回响水晶"
|
||||
quality = 3
|
||||
typeTopic = 4
|
||||
|
||||
[node name="description" parent="container" index="2"]
|
||||
text = "[center]召唤一个可抵挡[color=cyan]200[/color]点伤害的[b]音元护盾[/b]。[/center]"
|
||||
text = "[center]召唤一个可抵挡[color=cyan]100[/color]点伤害的[b]音元盾[/b]。[/center]"
|
||||
|
||||
Reference in New Issue
Block a user