6 lines
177 B
GDScript
6 lines
177 B
GDScript
extends BehaviourAction
|
|
|
|
@onready var body := get_behaviour_tree().get_parent() as CharacterBody3D
|
|
|
|
func _enter() -> int:
|
|
return Success if body.wants_sweep_attack() else Fail
|