fixed the parity between air and land enemies. +added a lot of new cards
This commit is contained in:
@ -10,7 +10,7 @@
|
||||
[resource]
|
||||
script = ExtResource("1_4m1rh")
|
||||
title = "Glue Gun"
|
||||
rarity = 3
|
||||
rarity = 1
|
||||
faction = 0
|
||||
sprite = ExtResource("2_xsq3l")
|
||||
turret = ExtResource("4_1nhoo")
|
||||
|
@ -7,6 +7,4 @@ class_name StickyTower
|
||||
func shoot():
|
||||
var status = StatusSticky.new()
|
||||
status.stats = status_stats
|
||||
status.affected = targeted_enemy
|
||||
status.affected.status_manager.add_effect(status)
|
||||
targeted_enemy.add_child(status)
|
||||
targeted_enemy.status_manager.add_effect(status)
|
||||
|
@ -14,6 +14,4 @@ func shoot():
|
||||
if target_hitbox is Hitbox:
|
||||
var status = StatusSticky.new()
|
||||
status.stats = status_stats
|
||||
status.affected = target.get_parent()
|
||||
status.affected.status_manager.add_effect(status)
|
||||
target.add_child(status)
|
||||
target.status_manager.add_effect(status)
|
||||
|
@ -1,7 +1,8 @@
|
||||
[gd_scene load_steps=7 format=3 uid="uid://d24q8j53oiyd4"]
|
||||
[gd_scene load_steps=8 format=3 uid="uid://d24q8j53oiyd4"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://jmxhiwsiw1f5" path="res://Assets/TextureAtlases/g_glue_gun.tres" id="1_pl6t8"]
|
||||
[ext_resource type="Script" path="res://PCs/Universal/ClassCards/Sniper/scopedweapon.gd" id="2_8m6e6"]
|
||||
[ext_resource type="Script" path="res://PCs/Universal/ClassCards/GlueLauncher/stickyweapon.gd" id="2_dnhqb"]
|
||||
[ext_resource type="Resource" uid="uid://d0643gfp52x3s" path="res://Resources/StatusEffects/sticky.tres" id="3_4t7ku"]
|
||||
[ext_resource type="Resource" uid="uid://dnucn65m12dmq" path="res://Resources/WeaponStats/glue.tres" id="3_li2dn"]
|
||||
|
||||
[sub_resource type="Animation" id="Animation_n8b32"]
|
||||
@ -46,7 +47,8 @@ layers = 2
|
||||
billboard = 1
|
||||
texture_filter = 0
|
||||
texture = ExtResource("1_pl6t8")
|
||||
script = ExtResource("2_8m6e6")
|
||||
script = ExtResource("2_dnhqb")
|
||||
status_stats = ExtResource("3_4t7ku")
|
||||
stats = ExtResource("3_li2dn")
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
||||
|
Reference in New Issue
Block a user