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

Go to the source code of this file.

Functions

void NWNX_Race_SetRacialModifier (int iRace, int iMod, int iParam1, int iParam2=0xDEADBEEF, int iParam3=0xDEADBEEF)
 Sets a racial modifier. More...
 
int NWNX_Race_GetParentRace (int iRace)
 Gets the parent race for a race. More...
 
void NWNX_Race_SetFavoredEnemyFeat (int iRace, int iFeat)
 Associates the race with its favored enemy feat. More...
 
void NWNX_Race_SuppressCreatureRaceEffects (object oCreature)
 Removes any nwnx_race 'Effects' on the targeted creature. Suppression lasts until levelup, next login, or Reactivated by function. More...
 
void NWNX_Race_ReactivateCreatureRaceEffects (object oCreature)
 Reactivates the nwnx_race 'Effects' on the targeted creature after they were Suppressed. More...
 

Variables

Racial Modifiers

const int NWNX_RACE_MODIFIER_INVALID = 0
 
const int NWNX_RACE_MODIFIER_AB = 1
 
const int NWNX_RACE_MODIFIER_ABVSRACE = 2
 
const int NWNX_RACE_MODIFIER_AC = 3
 
const int NWNX_RACE_MODIFIER_ACVSRACE = 4
 
const int NWNX_RACE_MODIFIER_CONCEALMENT = 5
 
const int NWNX_RACE_MODIFIER_DMGIMMUNITY = 6
 
const int NWNX_RACE_MODIFIER_DMGREDUCTION = 7
 
const int NWNX_RACE_MODIFIER_DMGRESIST = 8
 
const int NWNX_RACE_MODIFIER_FEAT = 9
 
const int NWNX_RACE_MODIFIER_FEATUSAGE = 10
 
const int NWNX_RACE_MODIFIER_IMMUNITY = 11
 
const int NWNX_RACE_MODIFIER_INITIATIVE = 12
 
const int NWNX_RACE_MODIFIER_MOVEMENTSPEED = 13
 
const int NWNX_RACE_MODIFIER_RACE = 14
 
const int NWNX_RACE_MODIFIER_REGENERATION = 15
 
const int NWNX_RACE_MODIFIER_SAVE = 16
 
const int NWNX_RACE_MODIFIER_SAVEVSRACE = 17
 
const int NWNX_RACE_MODIFIER_SAVEVSTYPE = 18
 
const int NWNX_RACE_MODIFIER_SKILL = 19
 
const int NWNX_RACE_MODIFIER_SPELLIMMUNITY = 20
 
const int NWNX_RACE_MODIFIER_SRCHARGEN = 21
 
const int NWNX_RACE_MODIFIER_SRINCLEVEL = 22