NWNX:EE  8193.36.12
nwnx_weapon.nss File Reference
#include "nwnx"

Go to the source code of this file.

Classes

struct  NWNX_Weapon_DevastatingCriticalEvent_Data
 Devastating critical event data. More...
 

Functions

void NWNX_Weapon_SetWeaponFocusFeat (int nBaseItem, int nFeat)
 Set nFeat as weapon focus feat for a base item. More...
 
void NWNX_Weapon_SetWeaponFinesseSize (int nBaseItem, int nSize)
 Set required creature size for a weapon base item to be finessable. More...
 
int NWNX_Weapon_GetWeaponFinesseSize (int nBaseItem)
 Get required creature size for a weapon base item to be finessable. More...
 
void NWNX_Weapon_SetWeaponUnarmed (int nBaseItem)
 Set weapon base item to be considered as unarmed for weapon finesse feat. More...
 
void NWNX_Weapon_SetWeaponImprovedCriticalFeat (int nBaseItem, int nFeat)
 Set a feat as weapon improved critical for a base item. More...
 
void NWNX_Weapon_SetWeaponSpecializationFeat (int nBaseItem, int nFeat)
 Set a feat as weapon specialization for a base item. More...
 
void NWNX_Weapon_SetEpicWeaponFocusFeat (int nBaseItem, int nFeat)
 Set a feat as epic weapon focus for a base item. More...
 
void NWNX_Weapon_SetEpicWeaponSpecializationFeat (int nBaseItem, int nFeat)
 Set a feat as epic weapon specialization for a base item. More...
 
void NWNX_Weapon_SetEpicWeaponOverwhelmingCriticalFeat (int nBaseItem, int nFeat)
 Set a feat as epic weapon overwhelming critical for a base item. More...
 
void NWNX_Weapon_SetEpicWeaponDevastatingCriticalFeat (int nBaseItem, int nFeat)
 Set a feat as epic weapon devastating critical for a base item. More...
 
void NWNX_Weapon_SetWeaponOfChoiceFeat (int nBaseItem, int nFeat)
 Set a feat as weapon of choice for a base item. More...
 
void NWNX_Weapon_SetGreaterWeaponSpecializationFeat (int nBaseItem, int nFeat)
 Set a feat as greater weapon specialization for a base item. More...
 
void NWNX_Weapon_SetGreaterWeaponFocusFeat (int nBaseItem, int nFeat)
 Set a feat as greater weapon focus for a base item. More...
 
void NWNX_Weapon_SetWeaponIsMonkWeapon (int nBaseItem)
 Set base item as monk weapon. More...
 
void NWNX_Weapon_SetOption (int nOption, int nVal)
 Set plugin options. More...
 
void NWNX_Weapon_SetDevastatingCriticalEventScript (string sScript)
 Set Devastating Critical Event Script. More...
 
struct NWNX_Weapon_DevastatingCriticalEvent_Data NWNX_Weapon_GetDevastatingCriticalEventData ()
 Get Devastating Critical Event Data. More...
 
void NWNX_Weapon_BypassDevastatingCritical ()
 Bypass Devastating Critical. More...
 
void NWNX_Weapon_SetOneHalfStrength (object oWeapon, int nEnable, int bPersist=FALSE)
 Sets weapon to gain .5 strength bonus. More...
 
int NWNX_Weapon_GetOneHalfStrength (object oWeapon)
 Gets if the weapon is set to gain addition .5 strength bonus. More...
 
void NWNX_Weapon_SetMaxRangedAttackDistanceOverride (int nBaseItem, float fMax, float fMaxPassive, float fPreferred)
 Override the max attack distance of ranged weapons. More...
 

Variables

const int NWNX_WEAPON_GETDATA_DC = 0
 Get Devastating Critical Data. More...
 
const int NWNX_WEAPON_SETDATA_DC_BYPASS = 0
 Set Devastating Critical Bypass. More...
 
Weapons Options

Options constants to be used with NWNX_Weapon_SetOption function.

const int NWNX_WEAPON_OPT_GRTFOCUS_AB_BONUS = 0
 Greater Focus Attack Bonus. More...
 
const int NWNX_WEAPON_OPT_GRTSPEC_DAM_BONUS = 1
 Greater Specialization Damage Bonus. More...