2024-07-28 09:53:54 +00:00
|
|
|
[gd_scene load_steps=7 format=3 uid="uid://dnnn2xyayiehk"]
|
2024-04-28 13:55:19 +00:00
|
|
|
|
2024-07-31 14:14:40 +00:00
|
|
|
[ext_resource type="Texture2D" uid="uid://wt50kx6bup51" path="res://sprites/weapon/StaffNecromancy.png" id="1_ms3us"]
|
2024-06-22 11:21:06 +00:00
|
|
|
[ext_resource type="Script" path="res://scripts/weapon/ProjectileWeapon.cs" id="1_w8hhv"]
|
2024-06-13 03:14:24 +00:00
|
|
|
[ext_resource type="PackedScene" uid="uid://c01av43yk1q71" path="res://prefab/projectile/curseOfTheUndead.tscn" id="2_34250"]
|
2024-07-28 09:53:54 +00:00
|
|
|
[ext_resource type="AudioStream" uid="uid://cak6chjjsu7wo" path="res://sounds/fire.wav" id="4_ffr2k"]
|
2024-04-28 13:55:19 +00:00
|
|
|
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_obcq2"]
|
|
|
|
size = Vector2(49, 5)
|
|
|
|
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_14m1g"]
|
|
|
|
size = Vector2(49, 5.25)
|
|
|
|
|
|
|
|
[node name="StaffOfTheUndead" type="RigidBody2D"]
|
|
|
|
collision_layer = 8
|
|
|
|
collision_mask = 34
|
|
|
|
script = ExtResource("1_w8hhv")
|
2024-06-13 03:14:24 +00:00
|
|
|
ProjectileScenes = [ExtResource("2_34250")]
|
2024-06-15 09:16:41 +00:00
|
|
|
FiringIntervalAsMillisecond = 300
|
2024-06-16 10:35:00 +00:00
|
|
|
Id = "staff_of_the_undead"
|
2024-04-28 13:55:19 +00:00
|
|
|
|
2024-06-11 14:16:10 +00:00
|
|
|
[node name="DamageArea2D" type="Area2D" parent="."]
|
2024-04-28 13:55:19 +00:00
|
|
|
collision_layer = 8
|
2024-06-16 07:28:16 +00:00
|
|
|
collision_mask = 70
|
2024-04-28 13:55:19 +00:00
|
|
|
|
2024-06-11 14:16:10 +00:00
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="DamageArea2D"]
|
2024-04-28 13:55:19 +00:00
|
|
|
position = Vector2(25.5, 0.5)
|
|
|
|
shape = SubResource("RectangleShape2D_obcq2")
|
|
|
|
|
|
|
|
[node name="StaffOfTheUndead2" type="Sprite2D" parent="."]
|
|
|
|
position = Vector2(30, 0)
|
|
|
|
texture = ExtResource("1_ms3us")
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
|
|
position = Vector2(25.5, 0.375)
|
|
|
|
shape = SubResource("RectangleShape2D_14m1g")
|
|
|
|
|
|
|
|
[node name="Marker2D" type="Marker2D" parent="."]
|
|
|
|
position = Vector2(65, 0)
|
2024-07-28 09:53:54 +00:00
|
|
|
|
|
|
|
[node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="Marker2D"]
|
|
|
|
stream = ExtResource("4_ffr2k")
|
|
|
|
bus = &"SoundEffect"
|