mob balancing

This commit is contained in:
Victor Turgeon 2023-10-11 11:05:31 -04:00
parent 6a6e1a51d6
commit 3c2c8037f6
6 changed files with 589 additions and 14 deletions

View File

@ -0,0 +1,133 @@
[gd_scene load_steps=10 format=3 uid="uid://dm60a0uaiusfj"]
[ext_resource type="Theme" uid="uid://dr1h7to56a2pv" path="res://Themes/base_theme.tres" id="1_n0vxe"]
[ext_resource type="ButtonGroup" uid="uid://gjbbywsr8n8b" path="res://Scenes/Player/UI/spawnables_button_group.tres" id="2_o453t"]
[ext_resource type="Script" path="res://Scenes/Player/UI/spawnable_button.gd" id="3_f67rx"]
[ext_resource type="PackedScene" uid="uid://cdwb2dp0orkiv" path="res://Scenes/Spawnables/pit_fiend_spawnable.tscn" id="4_blefd"]
[ext_resource type="Texture2D" uid="uid://bne8uo8jnqd60" path="res://Assets/Golem/noBKG_GolemIdleExtra_strip.png" id="5_hmymq"]
[sub_resource type="AtlasTexture" id="AtlasTexture_bfog6"]
atlas = ExtResource("5_hmymq")
region = Rect2(0, 0, 64, 64)
[sub_resource type="Animation" id="Animation_r6yl2"]
resource_name = "AnimateTextureRect"
length = 0.416675
loop_mode = 1
step = 0.0833333
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("AnimatedTextureRect:texture:region")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.0833333, 0.166667, 0.25, 0.333333, 0.416667, 0.5, 0.583333, 0.666667, 0.75, 0.833333, 0.916667),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1),
"update": 1,
"values": [Rect2(0, 0, 64, 64), Rect2(64, 0, 64, 64), Rect2(128, 0, 64, 64), Rect2(192, 0, 64, 64), Rect2(256, 0, 64, 64), Rect2(320, 0, 64, 64), Rect2(384, 0, 64, 64), Rect2(448, 0, 64, 64), Rect2(512, 0, 64, 64), Rect2(576, 0, 64, 64), Rect2(640, 0, 64, 64), Rect2(704, 0, 64, 64)]
}
[sub_resource type="Animation" id="Animation_tak1b"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("AnimatedTextureRect:texture:region")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Rect2(0, 0, 64, 64)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_0o4ue"]
_data = {
"AnimateTextureRect": SubResource("Animation_r6yl2"),
"RESET": SubResource("Animation_tak1b")
}
[node name="PitFiendButton" type="Button"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_right = -854.0
offset_bottom = -499.0
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 3
size_flags_vertical = 3
focus_mode = 0
mouse_default_cursor_shape = 2
theme = ExtResource("1_n0vxe")
toggle_mode = true
button_group = ExtResource("2_o453t")
script = ExtResource("3_f67rx")
spawnableScene = ExtResource("4_blefd")
[node name="AnimatedTextureRect" type="TextureRect" parent="."]
layout_mode = 1
anchors_preset = -1
anchor_left = -1.78302
anchor_top = -0.414634
anchor_right = 2.78302
anchor_bottom = 1.14634
offset_left = 210.0
offset_right = -210.0
grow_horizontal = 2
grow_vertical = 2
texture = SubResource("AtlasTexture_bfog6")
stretch_mode = 5
metadata/_edit_use_anchors_ = true
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
speed_scale = 0.5
libraries = {
"": SubResource("AnimationLibrary_0o4ue")
}
[node name="Label" type="Label" parent="."]
layout_mode = 1
anchors_preset = 12
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = -18.0
grow_horizontal = 2
grow_vertical = 0
theme = ExtResource("1_n0vxe")
text = "Pit Fiend"
horizontal_alignment = 1
vertical_alignment = 1
[node name="ToolTip" type="PanelContainer" parent="."]
visible = false
layout_mode = 1
anchors_preset = 12
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -10.0
offset_top = -91.0
offset_right = -10.0
offset_bottom = -55.0
grow_horizontal = 2
grow_vertical = 0
mouse_filter = 2
theme = ExtResource("1_n0vxe")
metadata/_edit_use_anchors_ = true
[node name="ToolTipLabel" type="Label" parent="ToolTip"]
layout_mode = 2
size_flags_horizontal = 0
size_flags_vertical = 1
text = "Attack : 100
HP: 30
"
horizontal_alignment = 1
vertical_alignment = 2
[connection signal="mouse_entered" from="." to="." method="_on_mouse_entered"]
[connection signal="mouse_exited" from="." to="." method="_on_mouse_exited"]

View File

@ -1,4 +1,4 @@
[gd_scene load_steps=16 format=3 uid="uid://dmvukn3rl6gbx"]
[gd_scene load_steps=17 format=3 uid="uid://dmvukn3rl6gbx"]
[ext_resource type="Script" path="res://Scenes/Player/UI/player_ui.gd" id="1_4nwdk"]
[ext_resource type="PackedScene" uid="uid://dl0d1m1gfcd4o" path="res://Scenes/Player/UI/bat_button.tscn" id="1_tnnk6"]
@ -11,6 +11,7 @@
[ext_resource type="Texture2D" uid="uid://p3scltkq3g87" path="res://Assets/16.png" id="6_id56p"]
[ext_resource type="PackedScene" uid="uid://5yfkysexanoh" path="res://Scenes/Player/UI/wolf_button.tscn" id="10_igs07"]
[ext_resource type="PackedScene" uid="uid://d370efcvbuchm" path="res://Scenes/Player/UI/necromancer_button.tscn" id="11_btls2"]
[ext_resource type="PackedScene" uid="uid://dm60a0uaiusfj" path="res://Scenes/Player/UI/pit_fiend_button.tscn" id="12_jlddl"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_v6oad"]
bg_color = Color(0.243137, 0.713726, 0.0627451, 0.301961)
@ -308,5 +309,5 @@ layout_mode = 2
[node name="NecromancerButton" parent="UIRoot/ControlPanel/ButtonPanel" instance=ExtResource("11_btls2")]
layout_mode = 2
[node name="SpawnableButton4" parent="UIRoot/ControlPanel/ButtonPanel" instance=ExtResource("1_tnnk6")]
[node name="PitFiendButton" parent="UIRoot/ControlPanel/ButtonPanel" instance=ExtResource("12_jlddl")]
layout_mode = 2

View File

@ -14,12 +14,12 @@ atlas = ExtResource("2_0p8tq")
region = Rect2(0, 0, 64, 64)
[node name="BatSpawnable" instance=ExtResource("1_verf7")]
maxHp = 10
maxHp = 7
attackSpeed = 50.0
speed = 4000.0
damage = 2
damage = 1
priority = 1
expReward = 25
expReward = 15
BludGen = 0.5
cost = 20
minSpawnRange = 10.0

View File

@ -237,12 +237,12 @@ fill = 1
fill_from = Vector2(0.5, 0.5)
[node name="NecromancerSpawnable" instance=ExtResource("1_scjiu")]
maxHp = 20
maxHp = 25
speed = 2000.0
priority = 10
expReward = 150
BludGen = 5.0
cost = 100
BludGen = 7.0
cost = 200
canAttack = false
monsterName = "Necromancer"
monsterIcon = SubResource("AtlasTexture_ac0gw")

View File

@ -0,0 +1,439 @@
[gd_scene load_steps=64 format=3 uid="uid://cdwb2dp0orkiv"]
[ext_resource type="PackedScene" uid="uid://kkfxguj0lr5a" path="res://Scenes/Spawnables/template_spawnable.tscn" id="1_u8yit"]
[ext_resource type="Texture2D" uid="uid://dyoeqid128gvx" path="res://Assets/Golem/noBKG_GolemIdle_strip.png" id="2_daixe"]
[ext_resource type="Texture2D" uid="uid://cqwly7qn6ku6s" path="res://Assets/Golem/noBKG_GolemAttack_strip.png" id="3_qnbks"]
[ext_resource type="Texture2D" uid="uid://cshtc16rc48dj" path="res://Assets/Golem/noBKG_GolemDeath_strip.png" id="4_dhv1l"]
[ext_resource type="Texture2D" uid="uid://vaii474sosto" path="res://Assets/Golem/noBKG_GolemWalk_strip.png" id="5_mjihu"]
[ext_resource type="Script" path="res://Scenes/Spawnables/AIs/ai_bat.gd" id="6_8yrnd"]
[sub_resource type="AtlasTexture" id="AtlasTexture_khu6i"]
atlas = ExtResource("2_daixe")
region = Rect2(576, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_4pli0"]
atlas = ExtResource("3_qnbks")
region = Rect2(0, 0, 80, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_nx00t"]
atlas = ExtResource("3_qnbks")
region = Rect2(80, 0, 80, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_woi1n"]
atlas = ExtResource("3_qnbks")
region = Rect2(160, 0, 80, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_4vww7"]
atlas = ExtResource("3_qnbks")
region = Rect2(240, 0, 80, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_cikws"]
atlas = ExtResource("3_qnbks")
region = Rect2(320, 0, 80, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_ouqha"]
atlas = ExtResource("3_qnbks")
region = Rect2(400, 0, 80, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_n7wxh"]
atlas = ExtResource("3_qnbks")
region = Rect2(480, 0, 80, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_cbwpr"]
atlas = ExtResource("3_qnbks")
region = Rect2(560, 0, 80, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_arfcl"]
atlas = ExtResource("3_qnbks")
region = Rect2(720, 0, 80, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_8j4m0"]
atlas = ExtResource("3_qnbks")
region = Rect2(640, 0, 80, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_x0cpk"]
atlas = ExtResource("3_qnbks")
region = Rect2(800, 0, 80, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_jex3b"]
atlas = ExtResource("3_qnbks")
region = Rect2(880, 0, 80, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_0f6ci"]
atlas = ExtResource("3_qnbks")
region = Rect2(960, 0, 80, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_iljcy"]
atlas = ExtResource("3_qnbks")
region = Rect2(1040, 0, 80, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_i0gi3"]
atlas = ExtResource("3_qnbks")
region = Rect2(1120, 0, 80, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_i2qrt"]
atlas = ExtResource("3_qnbks")
region = Rect2(1200, 0, 80, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_donew"]
atlas = ExtResource("4_dhv1l")
region = Rect2(0, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_pnvyt"]
atlas = ExtResource("4_dhv1l")
region = Rect2(64, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_4380n"]
atlas = ExtResource("4_dhv1l")
region = Rect2(128, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_k82d6"]
atlas = ExtResource("4_dhv1l")
region = Rect2(192, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_xmov3"]
atlas = ExtResource("4_dhv1l")
region = Rect2(256, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_1ayuc"]
atlas = ExtResource("4_dhv1l")
region = Rect2(320, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_f0n6r"]
atlas = ExtResource("4_dhv1l")
region = Rect2(384, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_wu51d"]
atlas = ExtResource("4_dhv1l")
region = Rect2(448, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_a36qb"]
atlas = ExtResource("4_dhv1l")
region = Rect2(512, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_jil03"]
atlas = ExtResource("4_dhv1l")
region = Rect2(576, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_uoq5u"]
atlas = ExtResource("4_dhv1l")
region = Rect2(640, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_aocwm"]
atlas = ExtResource("4_dhv1l")
region = Rect2(704, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_1a3k5"]
atlas = ExtResource("4_dhv1l")
region = Rect2(768, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_dr62t"]
atlas = ExtResource("4_dhv1l")
region = Rect2(832, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_jscnp"]
atlas = ExtResource("4_dhv1l")
region = Rect2(896, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_qpfqr"]
atlas = ExtResource("4_dhv1l")
region = Rect2(960, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_ftrii"]
atlas = ExtResource("4_dhv1l")
region = Rect2(1024, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_er5gi"]
atlas = ExtResource("4_dhv1l")
region = Rect2(1088, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_lyu62"]
atlas = ExtResource("4_dhv1l")
region = Rect2(1152, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_77pda"]
atlas = ExtResource("4_dhv1l")
region = Rect2(1216, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_buk2h"]
atlas = ExtResource("4_dhv1l")
region = Rect2(1280, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_vcpcy"]
atlas = ExtResource("4_dhv1l")
region = Rect2(1344, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_dmxbu"]
atlas = ExtResource("4_dhv1l")
region = Rect2(1408, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_8lccl"]
atlas = ExtResource("4_dhv1l")
region = Rect2(1472, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_8v2uu"]
atlas = ExtResource("4_dhv1l")
region = Rect2(1536, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_0y00l"]
atlas = ExtResource("4_dhv1l")
region = Rect2(1600, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_aev1r"]
atlas = ExtResource("4_dhv1l")
region = Rect2(1664, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_q2eyt"]
atlas = ExtResource("4_dhv1l")
region = Rect2(1728, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_a0l4p"]
atlas = ExtResource("5_mjihu")
region = Rect2(0, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_fx7hu"]
atlas = ExtResource("5_mjihu")
region = Rect2(64, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_hdqdx"]
atlas = ExtResource("5_mjihu")
region = Rect2(128, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_l7nkm"]
atlas = ExtResource("5_mjihu")
region = Rect2(192, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_x1urr"]
atlas = ExtResource("5_mjihu")
region = Rect2(256, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_5odsc"]
atlas = ExtResource("5_mjihu")
region = Rect2(320, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_tcbot"]
atlas = ExtResource("5_mjihu")
region = Rect2(384, 0, 64, 64)
[sub_resource type="SpriteFrames" id="SpriteFrames_5qpss"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_4pli0")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_nx00t")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_woi1n")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_4vww7")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_cikws")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ouqha")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_n7wxh")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_cbwpr")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_arfcl")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_8j4m0")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_x0cpk")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_jex3b")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_0f6ci")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_iljcy")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_i0gi3")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_i2qrt")
}],
"loop": false,
"name": &"attack",
"speed": 12.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_donew")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_pnvyt")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_4380n")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_k82d6")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_xmov3")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_1ayuc")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_f0n6r")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_wu51d")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_a36qb")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_jil03")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_uoq5u")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_aocwm")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_1a3k5")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_dr62t")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_jscnp")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_qpfqr")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ftrii")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_er5gi")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_lyu62")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_77pda")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_buk2h")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_vcpcy")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_dmxbu")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_8lccl")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_8v2uu")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_0y00l")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_aev1r")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_q2eyt")
}],
"loop": false,
"name": &"death",
"speed": 12.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_a0l4p")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_fx7hu")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_hdqdx")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_l7nkm")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_x1urr")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_5odsc")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_tcbot")
}],
"loop": true,
"name": &"default",
"speed": 12.0
}]
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_2tdhm"]
radius = 14.0
height = 44.0
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_bx6np"]
radius = 25.0
height = 50.0
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_2hq38"]
radius = 28.0
height = 56.0
[sub_resource type="OccluderPolygon2D" id="OccluderPolygon2D_bc1mk"]
polygon = PackedVector2Array(3, -25, 3, -25, -7, -18, -8, -7, -7, 11, 0, 16, 7, 15, 12, 7, 10, -5, 8, -16)
[node name="PitFiendSpawnable" instance=ExtResource("1_u8yit")]
maxHp = 300
attackSpeed = 20.0
speed = 3000.0
damage = 20
priority = 5
expReward = 1250
BludGen = 5.0
cost = 500
monsterName = "Pit Fiend"
monsterIcon = SubResource("AtlasTexture_khu6i")
[node name="AnimatedSprite2D" parent="." index="1"]
sprite_frames = SubResource("SpriteFrames_5qpss")
animation = &"default"
frame = 0
frame_progress = 0.0
[node name="BodyCollision" parent="." index="2"]
position = Vector2(0, -5)
rotation = 0.0
shape = SubResource("CapsuleShape2D_2tdhm")
[node name="AttackCollision" parent="AttackArea" index="0"]
position = Vector2(0, -8)
shape = SubResource("CapsuleShape2D_bx6np")
[node name="DamageCollision" parent="DamageArea" index="0"]
position = Vector2(0, -10)
shape = SubResource("CapsuleShape2D_2hq38")
[node name="AI" parent="." index="5"]
script = ExtResource("6_8yrnd")
[node name="LightOccluder2D" parent="." index="7"]
occluder = SubResource("OccluderPolygon2D_bc1mk")

View File

@ -330,10 +330,12 @@ animations = [{
radius = 6.0
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_sx05l"]
radius = 7.0
radius = 11.0
height = 44.0
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_dmcm0"]
radius = 8.0
radius = 12.0
height = 46.0
[sub_resource type="OccluderPolygon2D" id="OccluderPolygon2D_jmta4"]
polygon = PackedVector2Array(-11, -5, 10, -5, 12, 1, 4, 5, -13, 5, -18, 0)
@ -342,9 +344,9 @@ polygon = PackedVector2Array(-11, -5, 10, -5, 12, 1, 4, 5, -13, 5, -18, 0)
maxHp = 14
attackSpeed = 70.0
speed = 10000.0
damage = 5
damage = 3
priority = 3
expReward = 50
expReward = 75
BludGen = 0.25
cost = 50
monsterName = "Wolf"
@ -364,11 +366,11 @@ frame_progress = 0.996176
shape = SubResource("CapsuleShape2D_oxc6d")
[node name="AttackCollision" parent="AttackArea" index="0"]
position = Vector2(11, 1)
position = Vector2(0, 0)
shape = SubResource("CapsuleShape2D_sx05l")
[node name="DamageCollision" parent="DamageArea" index="0"]
position = Vector2(14, 1)
position = Vector2(0, 0)
shape = SubResource("CapsuleShape2D_dmcm0")
[node name="AI" parent="." index="5"]