ActionPsionicCharm(object)
From NWN Lexicon
Attempts a confusion attack on target.
void ActionPsionicCharm( object oSpellTarget );
Contents |
[edit] Parameters
- oSpellTarget
- The object target of the action.
[edit] Description
The target must make a will save with a DC of 17 or be confused for 4 rounds.
[edit] Remarks
This function will attempt a confusion on all creatures within a cone shaped spell out to 10 meters.
This function apparently used to do a charm effect. Looking the script over, it does indeed do confusion and not charm.
[edit] Requirements
#include "inc_mf_combat"
[edit] Version
???
[edit] Example
// Will cast cone shaped stun effect out to 10 meters. #include "inc_mf_combat" void main() { // Obtain oTarget, and attempt spell on it. object oTarget = GetLastHostileActor(); ActionPsionicCharm(oTarget); }
[edit] See Also
functions: | GetLastHostileActor() |
author: Baragg, editors: Mistress, Kolyana