LambdaHack-0.2.12: A roguelike game engine in early and active development

Safe HaskellSafe-Inferred

Game.LambdaHack.Common.Ability

Description

AI strategy abilities.

Synopsis

Documentation

data Ability Source

All possible AI actor abilities. AI chooses among these when considering the next action to perform. The ability descriptions refer to the target that any actor picks each turn, depending on the actor's characteristics and his environment.

Constructors

Track

move along a set trajectory, if any, meleeing any opponents

Heal

heal if almost dead

Flee

flee if almost dead

Melee

melee target

Displace

switch places with a friend

Pickup

gather items, if no foes visible

Trigger

trigger a feature

Ranged

attack the visible target opponent at range, some of the time

Tools

use items, if target opponent visible, some of the time

Chase

chase the target, ignoring any actors on the way

Wander

wander around, meleeing any opponents on the way