Unit small_corpse_spider
Classes, Interfaces, Objects and Records
Types
Constants
Variables
Description
Spider that can inflict poison damage
Uses
- SysUtils
- ai_animal
- combat_resolver
- ui
Overview
Functions and Procedures
procedure createCorpseSpider(uniqueid, npcx, npcy: smallint); |
procedure takeTurn(id: smallint); |
procedure death; |
procedure decisionNeutral(id: smallint); |
procedure decisionHostile(id: smallint); |
procedure decisionEscape(id: smallint); |
function isNextToPlayer(spx, spy: smallint): boolean; |
Description
Functions and Procedures
procedure createCorpseSpider(uniqueid, npcx, npcy: smallint); |
Create a Corpse Spider |
procedure takeTurn(id: smallint); |
The NPC takes their turn in the game loop |
procedure death; |
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 |
function isNextToPlayer(spx, spy: smallint): boolean; |
Check if player is next to NPC |
Generated by PasDoc 0.16.0.