tuxemon.event.conditions.combat_started module
- class tuxemon.event.conditions.combat_started.CombatStartedCondition[source]
Bases:
EventCondition
Check to see if combat has been started or not.
Script usage
is combat_started
- name: ClassVar[str] = 'combat_started'
- test(session, condition)[source]
Check to see if combat has been started or not.
- Parameters:
session (Session) – The session object
condition (MapCondition) – The map condition object.
- Returns:
Whether a combat has started or not.
- Return type:
bool