7 lines
141 B
GDScript
7 lines
141 B
GDScript
extends ConditionLeaf
|
|
|
|
func tick(actor: Node, blackboard: Blackboard) -> int:
|
|
if actor.action_points >= 1:
|
|
return SUCCESS
|
|
return FAILURE
|