fixed the parity between air and land enemies. +added a lot of new cards
This commit is contained in:
17
PCs/Universal/ClassCards/Reactor/reactortower.gd
Normal file
17
PCs/Universal/ClassCards/Reactor/reactortower.gd
Normal file
@@ -0,0 +1,17 @@
|
||||
extends Tower
|
||||
class_name ReactorTower
|
||||
|
||||
@export var status_stats : StatusStats
|
||||
@export var particlesystem : GPUParticles3D
|
||||
|
||||
|
||||
func aim():
|
||||
pass
|
||||
|
||||
|
||||
func shoot():
|
||||
for enemy in get_tree().get_nodes_in_group("Enemies"):
|
||||
if global_position.distance_to(enemy.global_position) <= stats.fire_range:
|
||||
var status = StatusRadioactive.new()
|
||||
status.stats = status_stats
|
||||
enemy.status_manager.add_effect(status)
|
||||
Reference in New Issue
Block a user