SPECIAL_ATTACK_* Constant Group

From NWN Lexicon
Jump to navigationJump to search

Special attacks that can be performed during combat.

Remarks

Several things are missing, there are two ways they operate:

  • Taunts and Animal Empathy both trigger the OnPhysicalAttacked event but do not reset this value, so it repeats the last value used (eg; if knockdown was the previous one it uses that constant again)
  • Ki Strike, Smite Good and Smite Evil can't be used with other feats below, but reset the value returned to 0 (SPECIAL_ATTACK_INVALID) so at least it won't "pass through" the last attack type.

Anything that is a spell-like feat, such as Whirlwind Attack, also won't show up here (possibly only Whirlwind attack really would trigger the On Physical Attacked event however).

Constants

Constant Value Description
SPECIAL_ATTACK_CALLED_SHOT_ARM 2
Attempt to disable or hinder a foe's ability to fight with its arms. FEAT_CALLED_SHOT causes this.
SPECIAL_ATTACK_CALLED_SHOT_LEG 1
Attempt to disable or hinder a foe's ability to move by walking. FEAT_CALLED_SHOT causes this.
SPECIAL_ATTACK_DISARM 4
Attempt to disarm a foe by sundering their weapon; provokes an attack of opportunity. FEAT_DISARM causes this.
SPECIAL_ATTACK_FLURRY_OF_BLOWS 9
Monk's Flurry of Blows ability (additional unarmed attacks with a penalty to attack rolls). FEAT_FLURRY_OF_BLOWS causes this. See also COMBAT_MODE_FLURRY_OF_BLOWS and ACTION_MODE_FLURRY_OF_BLOWS.
SPECIAL_ATTACK_IMPROVED_DISARM 5
Attempt to disarm a foe by sundering his weapon without drawing an attack of opportunity. FEAT_IMPROVED_DISARM causes this.
SPECIAL_ATTACK_IMPROVED_KNOCKDOWN 7
Attempts to knock a foe down; does not draw an attack of opportunity. FEAT_IMPROVED_KNOCKDOWN causes this.
SPECIAL_ATTACK_INVALID 0
Invalid special attack; ie a normal attack or potentially an edge case of OnPhysicalAttacked firing with no mode being set (eg Smite Good etc, see above remarks for list).
SPECIAL_ATTACK_KNOCKDOWN 6
Attempts to knock a foe down; draws an attack of opportunity. FEAT_KNOCKDOWN causes this.
SPECIAL_ATTACK_RAPID_SHOT 10
Grants an additional missile attack with all missile attack rolls taken at a penalty. Attacks from FEAT_RAPID_SHOT, see also COMBAT_MODE_RAPID_SHOT and ACTION_MODE_RAPID_SHOT.
SPECIAL_ATTACK_SAP 3
Attacks made with FEAT_SAP.
SPECIAL_ATTACK_STUNNING_FIST 8
Monk's stunning fist ability, ie attacks from using FEAT_STUNNING_FIST.

See Also

functions: 

GetLastAttackType

constants:

COMBAT_MODE_* ACITON_MODE_*

events:

OnPhysicalAttacked