extends ConditionLeaf

@export var damage_threshold: float = 80.0


func tick(actor: Node, _blackboard: Blackboard) -> int:
	return SUCCESS if (actor as MechEnemy).damage >= damage_threshold else FAILURE
