X0 i0 combat
From NWN Lexicon
[edit] x0_i0_combat
Library for the XP1-specific modified combat AI.
NOTE: This file includes x0_i0_talent .
[edit] Constants
| Name | Value | Brief Description |
|---|---|---|
| sCombatCondVarname | X0_COMBAT_CONDITION | |
| X0_COMBAT_FLAG_AMBUSHER | 0x00000008 | |
| X0_COMBAT_FLAG_COWARDLY | 0x00000004 | |
| X0_COMBAT_FLAG_DEFENSIVE | 0x00000002 | |
| X0_COMBAT_FLAG_RANGED | 0x00000001 |
[edit] Functions
| Name | Brief Description |
|---|---|
| Determine whether the specified X0_COMBAT_FLAG_* is set on the target. | |
| Set one of the X0_COMBAT_FLAG_* values on the target. | |
| Checks for the special tactics flags and chooses tactics appropriately for each. | |
| Special tactics for ambushers. | |
| Special tactics for cowardly creatures. | |
| Special tactics for defensive fighters. | |
| Special tactics for ranged fighters. |
author: Mistress, editor: Baragg