oh man i fixed that status effect bug
This commit is contained in:
@ -18,7 +18,7 @@ damage = 0
|
||||
status_effects = Array[ExtResource("3_4h7vt")]([SubResource("Resource_f5usv")])
|
||||
|
||||
[sub_resource type="SphereShape3D" id="SphereShape3D_tyf6m"]
|
||||
radius = 3.0
|
||||
radius = 3.5
|
||||
|
||||
[node name="FlamethrowerTower" instance=ExtResource("1_m6l05")]
|
||||
stats = ExtResource("4_by7c8")
|
||||
@ -29,10 +29,13 @@ transform = Transform3D(0.42, 0, 0, 0, 0.42, 0, 0, 0, 0.42, 0, 0.389397, 0)
|
||||
mesh = ExtResource("5_tc7nr")
|
||||
|
||||
[node name="ShapeCast3D" type="ShapeCast3D" parent="Pitch" index="0"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.896251, 0)
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.896251, -0.56516)
|
||||
shape = SubResource("SphereShape3D_tyf6m")
|
||||
target_position = Vector3(0, 0, -3)
|
||||
collision_mask = 4
|
||||
|
||||
[node name="CSGSphere3D" parent="." index="4"]
|
||||
radius = 3.0
|
||||
|
||||
[node name="AreaAffector" parent="." index="6" node_paths=PackedStringArray("shapecast")]
|
||||
shapecast = NodePath("../Pitch/ShapeCast3D")
|
||||
|
@ -21,5 +21,6 @@ value = 3.0
|
||||
[resource]
|
||||
script = ExtResource("2_wptab")
|
||||
target_type = 1
|
||||
energy_type = 0
|
||||
attributes = Array[ExtResource("1_ikp33")]([SubResource("Resource_j28f4"), SubResource("Resource_likes"), SubResource("Resource_b65mk")])
|
||||
text = "Applies burning to enemies in front of it"
|
||||
|
@ -1,6 +1,7 @@
|
||||
[gd_scene load_steps=10 format=3 uid="uid://b7idyi1c67ou4"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://kioik38usbqj" path="res://Scenes/Towers/area_tower.tscn" id="1_0qp3f"]
|
||||
[ext_resource type="Resource" uid="uid://cssdyxk8oefsd" path="res://Towers/Reactor/tower_stats.tres" id="2_gthqr"]
|
||||
[ext_resource type="Script" uid="uid://djp7tepdsda8w" path="res://Scripts/effect.gd" id="2_v1m7x"]
|
||||
[ext_resource type="Script" uid="uid://chy7bx8dlwgs0" path="res://Scripts/StatusEffects/status_effect.gd" id="3_amg2o"]
|
||||
[ext_resource type="Script" uid="uid://c6eghujlaqhwi" path="res://Scripts/StatusEffects/status_dot.gd" id="4_dcmuu"]
|
||||
@ -18,20 +19,13 @@ damage = 0
|
||||
status_effects = Array[ExtResource("3_amg2o")]([SubResource("Resource_ltmnh")])
|
||||
metadata/_custom_type_script = "uid://djp7tepdsda8w"
|
||||
|
||||
[sub_resource type="SphereShape3D" id="SphereShape3D_v6dih"]
|
||||
radius = 30.0
|
||||
|
||||
[node name="Tower" instance=ExtResource("1_0qp3f")]
|
||||
turns_to_aim = false
|
||||
stats = ExtResource("2_gthqr")
|
||||
effect = SubResource("Resource_joohe")
|
||||
|
||||
[node name="ShapeCast3D" type="ShapeCast3D" parent="Pitch" index="0"]
|
||||
shape = SubResource("SphereShape3D_v6dih")
|
||||
target_position = Vector3(0, 0, 0)
|
||||
collision_mask = 4
|
||||
|
||||
[node name="Yaw" parent="." index="2"]
|
||||
mesh = ExtResource("6_7kedu")
|
||||
|
||||
[node name="AreaAffector" parent="." index="6" node_paths=PackedStringArray("shapecast")]
|
||||
shapecast = NodePath("../Pitch/ShapeCast3D")
|
||||
[node name="CSGSphere3D" parent="." index="4"]
|
||||
radius = 5.0
|
||||
|
@ -21,5 +21,6 @@ value = 30.0
|
||||
[resource]
|
||||
script = ExtResource("2_8w61k")
|
||||
target_type = 3
|
||||
energy_type = 0
|
||||
attributes = Array[ExtResource("1_peekg")]([SubResource("Resource_j28f4"), SubResource("Resource_likes"), SubResource("Resource_b65mk")])
|
||||
text = "Slowly applies Radioactive to enemies around itself at a range of /Range\\m"
|
||||
|
@ -1,6 +1,7 @@
|
||||
[gd_scene load_steps=10 format=3 uid="uid://dfgxf88kk2nhn"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://kioik38usbqj" path="res://Scenes/Towers/area_tower.tscn" id="1_3igso"]
|
||||
[ext_resource type="Resource" uid="uid://st0qrut5nxrm" path="res://Towers/Refrigerator/tower_stats.tres" id="2_4wo3i"]
|
||||
[ext_resource type="Script" uid="uid://djp7tepdsda8w" path="res://Scripts/effect.gd" id="2_npue5"]
|
||||
[ext_resource type="Script" uid="uid://chy7bx8dlwgs0" path="res://Scripts/StatusEffects/status_effect.gd" id="3_frvi8"]
|
||||
[ext_resource type="Script" uid="uid://bh74uangqekuk" path="res://Scripts/StatusEffects/status_slow.gd" id="4_cirat"]
|
||||
@ -18,19 +19,13 @@ damage = 0
|
||||
status_effects = Array[ExtResource("3_frvi8")]([SubResource("Resource_d3abg")])
|
||||
metadata/_custom_type_script = "uid://djp7tepdsda8w"
|
||||
|
||||
[sub_resource type="SphereShape3D" id="SphereShape3D_jc2g4"]
|
||||
radius = 3.0
|
||||
|
||||
[node name="Tower" instance=ExtResource("1_3igso")]
|
||||
turns_to_aim = false
|
||||
stats = ExtResource("2_4wo3i")
|
||||
effect = SubResource("Resource_yoqmb")
|
||||
|
||||
[node name="ShapeCast3D" type="ShapeCast3D" parent="Pitch" index="0"]
|
||||
shape = SubResource("SphereShape3D_jc2g4")
|
||||
collision_mask = 4
|
||||
|
||||
[node name="Yaw" parent="." index="2"]
|
||||
mesh = ExtResource("6_bb4hb")
|
||||
|
||||
[node name="AreaAffector" parent="." index="6" node_paths=PackedStringArray("shapecast")]
|
||||
shapecast = NodePath("../Pitch/ShapeCast3D")
|
||||
[node name="CSGSphere3D" parent="." index="4"]
|
||||
radius = 3.0
|
||||
|
@ -21,5 +21,6 @@ value = 3.0
|
||||
[resource]
|
||||
script = ExtResource("2_w4q6a")
|
||||
target_type = 1
|
||||
energy_type = 0
|
||||
attributes = Array[ExtResource("1_wa26m")]([SubResource("Resource_j28f4"), SubResource("Resource_likes"), SubResource("Resource_b65mk")])
|
||||
text = "Applies Cold to enemies around itself"
|
||||
|
Reference in New Issue
Block a user