some necromancer adjustements

This commit is contained in:
Victor Turgeon 2023-10-11 08:27:17 -04:00
parent b115b8476e
commit 7ca7780d6a
2 changed files with 28 additions and 8 deletions

View File

@ -1,4 +1,4 @@
[gd_scene load_steps=9 format=3 uid="uid://dgtscjxcqoxls"] [gd_scene load_steps=9 format=3 uid="uid://cl7w6ndvons1a"]
[ext_resource type="Texture2D" uid="uid://dvtntmnfw83ms" path="res://Assets/RF_Catacombs_v1.0/candleA_02.png" id="1_2uqmc"] [ext_resource type="Texture2D" uid="uid://dvtntmnfw83ms" path="res://Assets/RF_Catacombs_v1.0/candleA_02.png" id="1_2uqmc"]
[ext_resource type="Texture2D" uid="uid://biomqy201h4yk" path="res://Assets/RF_Catacombs_v1.0/candleA_03.png" id="2_dgnwu"] [ext_resource type="Texture2D" uid="uid://biomqy201h4yk" path="res://Assets/RF_Catacombs_v1.0/candleA_03.png" id="2_dgnwu"]
@ -26,12 +26,12 @@ animations = [{
"speed": 8.0 "speed": 8.0
}] }]
[sub_resource type="Gradient" id="Gradient_sm8o0"] [sub_resource type="Gradient" id="Gradient_uxp8x"]
offsets = PackedFloat32Array(0, 0.736573) offsets = PackedFloat32Array(0, 0.736573)
colors = PackedColorArray(1, 1, 1, 1, 0, 0, 0, 1) colors = PackedColorArray(1, 1, 1, 1, 0, 0, 0, 1)
[sub_resource type="GradientTexture2D" id="GradientTexture2D_mton1"] [sub_resource type="GradientTexture2D" id="GradientTexture2D_mton1"]
gradient = SubResource("Gradient_sm8o0") gradient = SubResource("Gradient_uxp8x")
fill = 1 fill = 1
fill_from = Vector2(0.5, 0.5) fill_from = Vector2(0.5, 0.5)

View File

@ -1,4 +1,4 @@
[gd_scene load_steps=39 format=3 uid="uid://bap3ds6o3m4i1"] [gd_scene load_steps=41 format=3 uid="uid://bap3ds6o3m4i1"]
[ext_resource type="PackedScene" uid="uid://kkfxguj0lr5a" path="res://Scenes/Spawnables/template_spawnable.tscn" id="1_scjiu"] [ext_resource type="PackedScene" uid="uid://kkfxguj0lr5a" path="res://Scenes/Spawnables/template_spawnable.tscn" id="1_scjiu"]
[ext_resource type="Texture2D" uid="uid://ckeayob6k71b1" path="res://Assets/Witch/noBKG_WitchIdle_strip.png" id="2_ryiw4"] [ext_resource type="Texture2D" uid="uid://ckeayob6k71b1" path="res://Assets/Witch/noBKG_WitchIdle_strip.png" id="2_ryiw4"]
@ -227,13 +227,22 @@ radius = 6.0
[sub_resource type="OccluderPolygon2D" id="OccluderPolygon2D_apenn"] [sub_resource type="OccluderPolygon2D" id="OccluderPolygon2D_apenn"]
polygon = PackedVector2Array(0, -18, -6, -10, -7, -2, -6, 6, -2, 12, 2, 9, 6, 3, 6, -5, 4, -15) polygon = PackedVector2Array(0, -18, -6, -10, -7, -2, -6, 6, -2, 12, 2, 9, 6, 3, 6, -5, 4, -15)
[sub_resource type="Gradient" id="Gradient_sm8o0"]
offsets = PackedFloat32Array(0, 0.736573)
colors = PackedColorArray(1, 1, 1, 1, 0, 0, 0, 1)
[sub_resource type="GradientTexture2D" id="GradientTexture2D_tqkl0"]
gradient = SubResource("Gradient_sm8o0")
fill = 1
fill_from = Vector2(0.5, 0.5)
[node name="NecromancerSpawnable" instance=ExtResource("1_scjiu")] [node name="NecromancerSpawnable" instance=ExtResource("1_scjiu")]
maxHp = 40 maxHp = 20
speed = 2000.0 speed = 2000.0
priority = 10 priority = 10
expReward = 100 expReward = 150
BludGen = 10.0 BludGen = 5.0
cost = 75 cost = 100
canAttack = false canAttack = false
monsterName = "Necromancer" monsterName = "Necromancer"
monsterIcon = SubResource("AtlasTexture_ac0gw") monsterIcon = SubResource("AtlasTexture_ac0gw")
@ -260,3 +269,14 @@ script = ExtResource("5_325bs")
[node name="LightOccluder2D" parent="." index="7"] [node name="LightOccluder2D" parent="." index="7"]
occluder = SubResource("OccluderPolygon2D_apenn") occluder = SubResource("OccluderPolygon2D_apenn")
[node name="PointLight2D" type="PointLight2D" parent="." index="8"]
position = Vector2(0, -13)
color = Color(0.929412, 0, 0.184314, 1)
energy = 0.75
shadow_enabled = true
shadow_filter = 2
shadow_filter_smooth = 20.5
shadow_item_cull_mask = 2
texture = SubResource("GradientTexture2D_tqkl0")
texture_scale = 1.5