Unit skeleton_lvl1
Classes, Interfaces, Objects and Records
Types
Constants
Variables
Description
High defence, low attack
Uses
Overview
Functions and Procedures
procedure createSkeleton(uniqueid, npcx, npcy: smallint); |
procedure takeTurn(id: smallint); |
procedure death(id: smallint); |
procedure decisionNeutral(id: smallint); |
procedure decisionHostile(id: smallint); |
procedure decisionEscape(id: smallint); |
procedure wander(id, spx, spy: smallint); |
procedure chaseTarget(id, spx, spy: smallint); |
function isNextToPlayer(spx, spy: smallint): boolean; |
procedure escapePlayer(id, spx, spy: smallint); |
procedure combat(id: smallint); |
procedure followScent(id: smallint); |
Description
Functions and Procedures
procedure createSkeleton(uniqueid, npcx, npcy: smallint); |
Create a Skeleton |
procedure takeTurn(id: smallint); |
Take a turn |
procedure death(id: smallint); |
Creature death |
procedure decisionNeutral(id: smallint); |
Decision tree for Neutral state |
procedure decisionHostile(id: smallint); |
Decision tree for Hostile state |
procedure decisionEscape(id: smallint); |
Decision tree for Escape state |
procedure wander(id, spx, spy: smallint); |
Move in a random direction |
procedure chaseTarget(id, spx, spy: smallint); |
Chase enemy |
function isNextToPlayer(spx, spy: smallint): boolean; |
Check if player is next to NPC |
procedure escapePlayer(id, spx, spy: smallint); |
Run from player |
procedure combat(id: smallint); |
Combat |
procedure followScent(id: smallint); |
Sniff out the player |
Generated by PasDoc 0.16.0.