mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-09 21:27:13 +08:00
feat(FieldStore): 同步状态栏当最大生命值变化时
refactor(Feeds): 调整鸡蛋属性和消耗资源 - 提升鸡蛋品质为4 - 移除字段1及其效果 - 调整消耗资源和数量 feat(Feeds): 新增咸亨记账簿道具 - 添加新道具HXD - 设置基础属性和武器 refactor(Characters): 移除Rooster中的HXD武器
This commit is contained in:
@@ -1,8 +1,7 @@
|
|||||||
[gd_scene load_steps=13 format=3 uid="uid://dky8574uqc18r"]
|
[gd_scene load_steps=12 format=3 uid="uid://dky8574uqc18r"]
|
||||||
|
|
||||||
[ext_resource type="PackedScene" uid="uid://cvogxi7mktumf" path="res://components/Abstracts/EntityBase.tscn" id="1_e5pl8"]
|
[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="Script" uid="uid://cthtupc6dtbav" path="res://scripts/Contents/Characters/Rooster.gd" id="2_oqdqd"]
|
||||||
[ext_resource type="PackedScene" uid="uid://bm5sw6mr71acq" path="res://components/Weapons/HXD.tscn" id="3_da2ca"]
|
|
||||||
[ext_resource type="AudioStream" uid="uid://cdrevrq7n6yqa" path="res://resources/sounds/effect/Boing.mp3" id="4_66s6c"]
|
[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://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"]
|
[ext_resource type="AudioStream" uid="uid://dmxh3bpk8vyy5" path="res://resources/sounds/effect/Coin.mp3" id="5_xnbhq"]
|
||||||
@@ -58,8 +57,6 @@ metadata/_edit_vertical_guides_ = [71.0]
|
|||||||
[node name="weaponStore" parent="." index="1"]
|
[node name="weaponStore" parent="." index="1"]
|
||||||
process_mode = 4
|
process_mode = 4
|
||||||
|
|
||||||
[node name="HXD" parent="weaponStore" index="0" instance=ExtResource("3_da2ca")]
|
|
||||||
|
|
||||||
[node name="sprint" parent="sounds" index="0"]
|
[node name="sprint" parent="sounds" index="0"]
|
||||||
stream = ExtResource("4_66s6c")
|
stream = ExtResource("4_66s6c")
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,22 @@
|
|||||||
|
[gd_scene load_steps=4 format=3 uid="uid://dhf3vh6vumsv4"]
|
||||||
|
|
||||||
|
[ext_resource type="PackedScene" uid="uid://bykwevnv7keeh" path="res://components/Abstracts/FeedCardBase.tscn" id="1_laabr"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://cvvtr2mmwo18r" path="res://resources/weapons/HXD.png" id="2_785sm"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://bm5sw6mr71acq" path="res://components/Weapons/HXD.tscn" id="3_dcbvm"]
|
||||||
|
|
||||||
|
[node name="HXD" instance=ExtResource("1_laabr")]
|
||||||
|
avatarTexture = ExtResource("2_785sm")
|
||||||
|
displayName = "咸亨记账簿"
|
||||||
|
quality = 2
|
||||||
|
topic = 8
|
||||||
|
fields = Array[int]([0])
|
||||||
|
fieldValues = Array[float]([-25.0])
|
||||||
|
weapons = Array[PackedScene]([ExtResource("3_dcbvm")])
|
||||||
|
|
||||||
|
[node name="avatar" parent="container/info" index="0"]
|
||||||
|
texture = ExtResource("2_785sm")
|
||||||
|
|
||||||
|
[node name="name" parent="container/info" index="1"]
|
||||||
|
displayName = "咸亨记账簿"
|
||||||
|
quality = 2
|
||||||
|
topic = 8
|
||||||
@@ -6,17 +6,17 @@
|
|||||||
[node name="Egg" instance=ExtResource("1_pda12")]
|
[node name="Egg" instance=ExtResource("1_pda12")]
|
||||||
avatarTexture = ExtResource("2_4crt5")
|
avatarTexture = ExtResource("2_4crt5")
|
||||||
displayName = "鸡蛋"
|
displayName = "鸡蛋"
|
||||||
quality = 3
|
quality = 4
|
||||||
topic = 3
|
topic = 3
|
||||||
fields = Array[int]([3, 7, 1])
|
fields = Array[int]([3, 7])
|
||||||
fieldValues = Array[float]([1.0, -360.0, -0.45])
|
fieldValues = Array[float]([2.0, -360.0])
|
||||||
costs = Array[int]([0, 1])
|
costs = Array[int]([2, 4])
|
||||||
costCounts = Array[int]([500, 300])
|
costCounts = Array[int]([5, 5])
|
||||||
|
|
||||||
[node name="avatar" parent="container/info" index="0"]
|
[node name="avatar" parent="container/info" index="0"]
|
||||||
texture = ExtResource("2_4crt5")
|
texture = ExtResource("2_4crt5")
|
||||||
|
|
||||||
[node name="name" parent="container/info" index="1"]
|
[node name="name" parent="container/info" index="1"]
|
||||||
displayName = "鸡蛋"
|
displayName = "鸡蛋"
|
||||||
quality = 3
|
quality = 4
|
||||||
topic = 3
|
topic = 3
|
||||||
|
|||||||
@@ -113,8 +113,9 @@ static var entityMinValueMap = {
|
|||||||
Entity.DAMAGE_MULTIPILER: 0.01
|
Entity.DAMAGE_MULTIPILER: 0.01
|
||||||
}
|
}
|
||||||
static var entityApplier = {
|
static var entityApplier = {
|
||||||
Entity.MAX_HEALTH: func(entity, value):
|
Entity.MAX_HEALTH: func(entity: EntityBase, value):
|
||||||
entity.health += value
|
entity.health += value
|
||||||
|
entity.statebar.forceSync()
|
||||||
return true
|
return true
|
||||||
,
|
,
|
||||||
Entity.EXTRA_APPLE_MAX: func(entity, value):
|
Entity.EXTRA_APPLE_MAX: func(entity, value):
|
||||||
@@ -129,4 +130,4 @@ static var entityViewCastMap = {
|
|||||||
}
|
}
|
||||||
static var entityNegativeFields: Array[Entity] = [
|
static var entityNegativeFields: Array[Entity] = [
|
||||||
Entity.OFFSET_SHOOT
|
Entity.OFFSET_SHOOT
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user