tuxemon.item.conditions.type module
- class tuxemon.item.conditions.type.TypeCondition(elements)[source]
Bases:
ItemCondition
Compares the target Monster’s type against the given types.
Returns true if its equal to any of the listed types.
- Parameters:
elements (str) –
- elements: str
- name: ClassVar[str] = 'type'