tuxemon.item.conditions.status module

class tuxemon.item.conditions.status.StatusCondition(expected)[source]

Bases: ItemCondition

Checks against the creature’s current statuses.

Accepts a single parameter and returns whether it is applied.

Parameters:

expected (str) –

expected: str
name: ClassVar[str] = 'status'
test(target)[source]

Return True if satisfied, or False if not.

Parameters:

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

Return type:

bool