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
-
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.
-
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
-
-
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
-
-
class
Splash
(user: int, target_tile: scripts.engine.world_objects.tile.Tile, direction: DirectionType)[source]¶ Bases:
scripts.engine.internal.action.Skill
Simple projectile attack
-
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.
-