tuxemon.technique.effects.damage module

class tuxemon.technique.effects.damage.DamageEffect[source]

Bases: TechEffect

Apply damage.

This effect applies damage to a target monster. This effect will only be applied if “damage” is defined in the relevant technique’s effect list.

  • user – The Monster object that used this technique.

  • target – The Monster object that we are using this technique on.


Dict summarizing the result.

apply(tech, user, target)[source]
  • tech (Technique) –

  • user (Monster) –

  • target (Monster) –

Return type:


name: ClassVar[str] = 'damage'
session: Session
class tuxemon.technique.effects.damage.DamageEffectResult(*args, **kwargs)[source]

Bases: dict

damage: int
element_multiplier: float
should_tackle: bool
success: bool