Unit crypt_wolf

Classes, Interfaces, Objects and Records
Types
Constants
Variables

Description

Sleeping when first encountered, chases the player when awake

Uses

Overview

Functions and Procedures

procedure createCryptWolf(uniqueid, npcx, npcy: smallint);
procedure takeTurn(id: smallint);
procedure death;
procedure decisionNeutral(id: smallint);
procedure decisionHostile(id: smallint);
procedure chaseTarget(id, spx, spy: smallint);
function isNextToPlayer(spx, spy: smallint): boolean;
procedure combat(id: smallint);
procedure followScent(id: smallint);
procedure wander(id, spx, spy: smallint);

Description

Functions and Procedures

procedure createCryptWolf(uniqueid, npcx, npcy: smallint);

Create a Crypt Wolf

procedure takeTurn(id: smallint);

Take a turn

procedure death;

Creature death

procedure decisionNeutral(id: smallint);

Decision tree for Neutral state

procedure decisionHostile(id: smallint);

Decision tree for Hostile state

procedure chaseTarget(id, spx, spy: smallint);

Chase enemy

function isNextToPlayer(spx, spy: smallint): boolean;

Check if player is next to NPC

procedure combat(id: smallint);

Combat

procedure followScent(id: smallint);

Sniff out the player

procedure wander(id, spx, spy: smallint);

Wander, when Bewildered


Generated by PasDoc 0.16.0.