Added per enemy taunts and other tweaks
This commit is contained in:
@@ -47,7 +47,7 @@ func _ready():
|
||||
#highlight target
|
||||
if target != null:
|
||||
var taunt_spawn = ENEMY_TAUNT.instantiate()
|
||||
taunt_spawn.text = taunt_spawn.taunts.pick_random()
|
||||
taunt_spawn.text = target.taunts.pick_random()
|
||||
target.add_child(taunt_spawn)
|
||||
taunt_spawn.global_transform.origin = target.global_position + Vector3(0,2,0)
|
||||
taunt_node = taunt_spawn
|
||||
|
||||
Reference in New Issue
Block a user