mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-28 06:51:54 +08:00
feat: 调整角色和子弹属性及武器配置
- 将Chick的最大生命值从1000提升至2000 - 修改SevenSoul子弹的能量存储机制,移除治疗并提高能量获取 - 为SevenSoul子弹添加矩形碰撞形状 - 替换Rooster的武器配置,移除PurpleCrystal和VectorStar,添加LGBT武器
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=9 format=3 uid="uid://bymprh2qel2oj"]
|
||||
[gd_scene load_steps=10 format=3 uid="uid://bymprh2qel2oj"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://crtdkysmnkith" path="res://components/Abstracts/BulletBase.tscn" id="1_c4fl5"]
|
||||
[ext_resource type="Script" path="res://scripts/Contents/Bullets/SevenSoul.gd" id="2_egs34"]
|
||||
@@ -27,6 +27,9 @@ scale_max = 1.5
|
||||
scale_curve = SubResource("CurveTexture_cokmd")
|
||||
alpha_curve = SubResource("CurveTexture_d1eej")
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_1k7d7"]
|
||||
size = Vector2(30, 100)
|
||||
|
||||
[node name="SevenSoul" instance=ExtResource("1_c4fl5")]
|
||||
script = ExtResource("2_egs34")
|
||||
speed = 0.0
|
||||
@@ -53,3 +56,4 @@ local_coords = true
|
||||
|
||||
[node name="hitbox" parent="." index="1"]
|
||||
position = Vector2(100, 0)
|
||||
shape = SubResource("RectangleShape2D_1k7d7")
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=16 format=3 uid="uid://bm7ymrri6pykb"]
|
||||
[gd_scene load_steps=15 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" path="res://scripts/Contents/Characters/Rooster.gd" id="2_oqdqd"]
|
||||
@@ -6,11 +6,10 @@
|
||||
[ext_resource type="AudioStream" uid="uid://dclinyhu256xi" path="res://resources/sounds/effect/Low Whoosh.mp3" id="3_4syso"]
|
||||
[ext_resource type="PackedScene" uid="uid://c5y4g70evwy46" path="res://components/Weapons/SevenSoul.tscn" id="3_6e3s5"]
|
||||
[ext_resource type="Texture2D" uid="uid://ci2ik43ce82uy" path="res://resources/characters/cock/rooster-b.svg" id="3_b0fgx"]
|
||||
[ext_resource type="PackedScene" uid="uid://c0n3igy4hucrg" path="res://components/Weapons/PurpleCrystal.tscn" id="3_ms5sq"]
|
||||
[ext_resource type="PackedScene" uid="uid://wl8u5m52708w" path="res://components/Weapons/LGBT.tscn" id="4_7hjom"]
|
||||
[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"]
|
||||
[ext_resource type="PackedScene" uid="uid://bb1uh8k7gkhr7" path="res://components/Weapons/VectorStar.tscn" id="6_fvy5n"]
|
||||
[ext_resource type="AudioStream" uid="uid://4wuuf1osk0yv" path="res://resources/sounds/effect/Low Boing.wav" id="6_m5px1"]
|
||||
[ext_resource type="AudioStream" uid="uid://b10u6iir6uvqn" path="res://resources/sounds/effect/BigLaser.wav" id="8_7dhim"]
|
||||
|
||||
@@ -49,11 +48,7 @@ process_mode = 4
|
||||
[node name="SevenSoul" parent="weaponStore" index="0" instance=ExtResource("3_6e3s5")]
|
||||
offset_bottom = 330.0
|
||||
|
||||
[node name="PurpleCrystal" parent="weaponStore" index="1" instance=ExtResource("3_ms5sq")]
|
||||
debugRebuild = false
|
||||
|
||||
[node name="VectorStar" parent="weaponStore" index="2" instance=ExtResource("6_fvy5n")]
|
||||
debugRebuild = false
|
||||
[node name="LGBT" parent="weaponStore" index="1" instance=ExtResource("4_7hjom")]
|
||||
|
||||
[node name="sprint" parent="sounds" index="0"]
|
||||
stream = ExtResource("4_66s6c")
|
||||
|
||||
@@ -20,8 +20,7 @@ func register():
|
||||
func(area):
|
||||
var bullet = BulletTool.fromArea(area)
|
||||
if bullet and BulletTool.canDamage(bullet, launcher):
|
||||
launcher.tryHeal(1)
|
||||
launcher.storeEnergy(damage * 0.1)
|
||||
launcher.storeEnergy(damage * 2)
|
||||
)
|
||||
func spawn():
|
||||
modulate = Color(colors[index % colors.size()])
|
||||
|
||||
@@ -4,7 +4,7 @@ class_name Chick
|
||||
@onready var firepot = $"%firepot"
|
||||
|
||||
func register():
|
||||
fields[FieldStore.Entity.MAX_HEALTH] = 1000
|
||||
fields[FieldStore.Entity.MAX_HEALTH] = 2000
|
||||
fields[FieldStore.Entity.MOVEMENT_SPEED] = 0.4
|
||||
attackCooldownMap[0] = 400
|
||||
attackCooldownMap[1] = 12000
|
||||
|
||||
Reference in New Issue
Block a user