x0_i0_combat

Library for the XP1-specific modified combat AI.

NOTE: This file includes x0_i0_talent.

Constants

NameValueBrief Description
sCombatCondVarnameX0_COMBAT_CONDITION
X0_COMBAT_FLAG_AMBUSHER0x00000008
X0_COMBAT_FLAG_COWARDLY0x00000004
X0_COMBAT_FLAG_DEFENSIVE0x00000002
X0_COMBAT_FLAG_RANGED0x00000001

Functions

NameBrief Description
GetCombatConditionDetermine whether the specified X0_COMBAT_FLAG_* is set on the target.
SetCombatConditionSet one of the X0_COMBAT_FLAG_* values on the target.
SpecialTacticsChecks for the special tactics flags and chooses tactics appropriately for each.
SpecialTacticsAmbusherSpecial tactics for ambushers.
SpecialTacticsCowardlySpecial tactics for cowardly creatures.
SpecialTacticsDefensiveSpecial tactics for defensive fighters.
SpecialTacticsRangedSpecial tactics for ranged fighters.


  author: Mistress, editor: Baragg