DoWhirlwindAttack

From NWN Lexicon
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.



DoWhirlwindAttack(int, int)

Perform a whirlwind attack.

void DoWhirlwindAttack(
    int bDisplayFeedback = TRUE,
    int bImproved = FALSE
);

Parameters

bDisplayFeedback

TRUE OR FALSE - display feedback or not (Default: TRUE)

bImproved

TRUE OR FALSE - use improved whirlwind instead (Default: FALSE)


Description

Does a single attack on every hostile creature within 10ft. of the attacker and determines damage accordingly. If the attacker has a ranged weapon equipped, this will have no effect.
** NOTE ** This is meant to be called inside the spell script for whirlwind attack, it is not meant to be used to queue up a new whirlwind attack. To do that you need to call ActionUseFeat(FEAT_WHIRLWIND_ATTACK, oEnemy).



Remarks

As mentioned in the description, you probably won't need to use this function ever.


Version

1.61

See Also

constants: 

FEAT_* Constants



 author: Lilac Soul