[gd_scene format=3 uid="uid://b8k3m2n4p5q6r"]

[ext_resource type="Texture2D" uid="uid://dwthqtcn5sqoj" path="res://assets/gfx/fx/flames/nedladdning (14).png" id="1_52nqi"]
[ext_resource type="Script" uid="uid://pufa280hfhiy" path="res://scripts/attack_spell_flame.gd" id="1_flame"]
[ext_resource type="Shader" uid="uid://c40fb6mfe76g3" path="res://shaders/fire_light.gdshader" id="3_g5mbl"]
[ext_resource type="AudioStream" uid="uid://d1ylxthy45aw" path="res://assets/audio/sfx/environment/fireplace/fireplace-01.mp3" id="4_n6h4x"]
[ext_resource type="AudioStream" uid="uid://dd6xrtcx2vtlx" path="res://assets/audio/sfx/environment/fireplace/fireplace-02.mp3" id="5_2hde6"]
[ext_resource type="AudioStream" uid="uid://bjlq8la2amdut" path="res://assets/audio/sfx/environment/fireplace/fireplace-03.mp3" id="6_sy6oy"]
[ext_resource type="AudioStream" uid="uid://cxw5pdksu1o8v" path="res://assets/audio/sfx/environment/fireplace/fireplace-04.mp3" id="7_l6fjl"]
[ext_resource type="AudioStream" uid="uid://cxtp23isjsfvw" path="res://assets/audio/sfx/environment/fireplace/fireplace-05.mp3" id="8_rlm0w"]
[ext_resource type="AudioStream" uid="uid://rtn5i86tlqyh" path="res://assets/audio/sfx/environment/fireplace/fireplace-06.mp3" id="9_8o5sr"]
[ext_resource type="AudioStream" uid="uid://jri0jevyl5d3" path="res://assets/audio/sfx/wizard/incantations/spell_effect.mp3" id="10_2hde6"]

[sub_resource type="ShaderMaterial" id="ShaderMaterial_rach5"]
shader = ExtResource("3_g5mbl")
shader_parameter/brightness_multiplier = 3.0

[sub_resource type="Gradient" id="Gradient_lquwl"]
offsets = PackedFloat32Array(0.743, 0.74418604)
colors = PackedColorArray(1, 1, 1, 1, 0, 0, 0, 0)

[sub_resource type="GradientTexture2D" id="GradientTexture2D_w00nx"]
gradient = SubResource("Gradient_lquwl")
fill = 1
fill_from = Vector2(0.508547, 0.487179)
fill_to = Vector2(0.974359, 0.0470085)

[sub_resource type="RectangleShape2D" id="RectangleShape2D_flame"]
size = Vector2(16, 16)

[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_1qtic"]
streams_count = 6
stream_0/stream = ExtResource("4_n6h4x")
stream_1/stream = ExtResource("5_2hde6")
stream_2/stream = ExtResource("6_sy6oy")
stream_3/stream = ExtResource("7_l6fjl")
stream_4/stream = ExtResource("8_rlm0w")
stream_5/stream = ExtResource("9_8o5sr")

[node name="FlameSpell" type="Node2D" unique_id=250449910]
script = ExtResource("1_flame")

[node name="Sprite2D" type="Sprite2D" parent="." unique_id=546834923]
texture = ExtResource("1_52nqi")
hframes = 4
vframes = 4
frame = 4

[node name="ExplosionInit" type="Sprite2D" parent="." unique_id=123456789]
visible = false
texture = ExtResource("1_52nqi")
hframes = 4
vframes = 4

[node name="TorchLight" type="PointLight2D" parent="." unique_id=1247002844]
modulate = Color(1.353256, 1.353256, 1.353256, 1)
z_index = 10
material = SubResource("ShaderMaterial_rach5")
position = Vector2(0, -1)
blend_mode = 2
texture = SubResource("GradientTexture2D_w00nx")

[node name="Area2D" type="Area2D" parent="." unique_id=556563630]
collision_layer = 4
collision_mask = 3

[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D" unique_id=520125161]
shape = SubResource("RectangleShape2D_flame")
debug_color = Color(0.70196074, 0, 0.09064378, 0.41960785)

[node name="LifetimeTimer" type="Timer" parent="." unique_id=77775231]
wait_time = 2.0
one_shot = true

[node name="SfxFire" type="AudioStreamPlayer2D" parent="." unique_id=8963001]
stream = SubResource("AudioStreamRandomizer_1qtic")
volume_db = 4.996
max_distance = 1040.0
attenuation = 2.2973964
panning_strength = 1.09

[node name="SfxInit" type="AudioStreamPlayer2D" parent="." unique_id=467371620]
stream = ExtResource("10_2hde6")
volume_db = -11.018
pitch_scale = 0.93
attenuation = 1.5157177
panning_strength = 1.04
bus = &"Sfx"
