tuxemon.item.conditions.has_status module

class tuxemon.item.conditions.has_status.HasStatusCondition[source]

Bases: ItemCondition

Checks if the creature has a status or not.

Parameters: -

Example: “conditions”: [

“is has_status” “is has_status status_xxx”

],

name: ClassVar[str] = 'has_status'
session: Session
test(target)[source]

Return True if satisfied, or False if not.

Parameters:

target (Monster) – The target of the item’s use.

Return type:

bool