Skill

class BasicAttack(user: int, target_tile: scripts.engine.world_objects.tile.Tile, direction: DirectionType)[source]

Bases: scripts.engine.internal.action.Skill

Basic attack for an entity

_build_effects(entity: EntityID, potency: float = 1.0)List[Effect][source]

Build the effects of this skill applying to a single entity.

class Lightning(user: int, target_tile: scripts.engine.world_objects.tile.Tile, direction: DirectionType)[source]

Bases: scripts.engine.internal.action.Skill

Test the Delayed Skill functionality.

_build_effects(entity: EntityID, potency: float = 1.0)List[DamageEffect][source]

Build the effects of this skill applying to a single entity. Must be overridden in subclass.

class Lunge(user: int, tile: scripts.engine.world_objects.tile.Tile, direction: DirectionType)[source]

Bases: scripts.engine.internal.action.Skill

Lunge skill for an entity

Set the target tile as the current tile since we need to move. N.B. ignores provided tile.

__init__(user: int, tile: scripts.engine.world_objects.tile.Tile, direction: DirectionType)[source]

Set the target tile as the current tile since we need to move. N.B. ignores provided tile.

_build_cooldown_reduction_effect(entity: int)scripts.engine.core.effect.AffectCooldownEffect[source]

Returns an effect that executes the cooldown effect for the lunge

_build_damage_effect(success_effects: List[Effect], potency: float = 1.0)Optional[DamageEffect][source]

Return the damage effect for the lunge

_build_effects(entity: EntityID, potency: float = 1.0)List[Effect][source]

Build the skill effects

_build_move_effect(entity: EntityID, success_effects: List[Effect])MoveSelfEffect[source]

Return the move effect for the lunge

_find_target()Optional[EntityID][source]

Find the first entity that will be affected by the lunge

class Move(user: int, target_tile: scripts.engine.world_objects.tile.Tile, direction)[source]

Bases: scripts.engine.internal.action.Skill

Basic move for an entity.

Move needs an init as it overrides the target tile

__init__(user: int, target_tile: scripts.engine.world_objects.tile.Tile, direction)[source]

Move needs an init as it overrides the target tile

_build_effects(entity: EntityID, potency: float = 1.0)List[Effect][source]

Build the effects of this skill applying to a single entity.

class Splash(user: int, target_tile: scripts.engine.world_objects.tile.Tile, direction: DirectionType)[source]

Bases: scripts.engine.internal.action.Skill

Simple projectile attack

_build_effects(entity: EntityID, potency: float = 1.0)List[DamageEffect][source]

Build the effects of this skill applying to a single entity.

class TarAndFeather(user: int, target_tile: scripts.engine.world_objects.tile.Tile, direction: DirectionType)[source]

Bases: scripts.engine.internal.action.Skill

TarAndFeather skill for an entity

__init__(user: int, target_tile: scripts.engine.world_objects.tile.Tile, direction: DirectionType)[source]

Initialize self. See help(type(self)) for accurate signature.

_build_effects(hit_entity: EntityID, potency: float = 1.0)List[Effect][source]

Build the skill effects