fixed the parity between air and land enemies. +added a lot of new cards
This commit is contained in:
@@ -17,12 +17,9 @@ func _process(delta: float) -> void:
|
||||
func shoot():
|
||||
for index in shapecast.get_collision_count():
|
||||
var target = shapecast.get_collider(index) as CharacterBody3D
|
||||
#TODO: its shit the way the enemy and status have to know about each other
|
||||
var status = StatusOnFire.new()
|
||||
status.affected = target.get_parent()
|
||||
status.stats = status_stats
|
||||
target.get_parent().status_manager.add_effect(status)
|
||||
target.get_parent().add_child(status)
|
||||
target.status_manager.add_effect(status)
|
||||
|
||||
|
||||
func aim():
|
||||
|
||||
Reference in New Issue
Block a user