tuxemon.item.conditions.wild_monster module

class tuxemon.item.conditions.wild_monster.WildMonsterCondition[source]

Bases: ItemCondition

True if not owned by a trainer.

name: ClassVar[str] = 'wild_monster'
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