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

Safe HaskellSafe-Infered

Game.LambdaHack.Common.Ability

Description

AI strategy abilities.

Synopsis

Documentation

data Ability

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 path, if any, meleeing any opponents

Heal

heal if almost dead

Flee

flee if almost dead

Melee

melee target

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