Changed XP system over to PnP XP system
Changed XP system over to PnP XP system. Updated NWNxEE scripts. Full compile. Updated public release archive.
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
/// @file nwnx_race_2da.nss
|
||||
/// @brief Parse a column in the racialtypes.2da to load the modifiers.
|
||||
#include "nwnx_race"
|
||||
#include "nwnx_util"
|
||||
|
||||
/// @ingroup race
|
||||
/// @brief Translate a modifier type from a string to its constant.
|
||||
@@ -45,14 +44,14 @@ int NWNX_Race_GetModifierConstant(string raceMod)
|
||||
|
||||
void NWNX_Race_LoadRacialModifiers(string sColumnName = "RacialModsTable")
|
||||
{
|
||||
int iRaceRows = NWNX_Util_Get2DARowCount("racialtypes");
|
||||
int iRaceRows = Get2DARowCount("racialtypes");
|
||||
int iRace;
|
||||
for (iRace = 0; iRace < iRaceRows; iRace++)
|
||||
{
|
||||
string sRaceModTable = Get2DAString("racialtypes", sColumnName, iRace);
|
||||
if(sRaceModTable != "")
|
||||
{
|
||||
int iRaceModRows = NWNX_Util_Get2DARowCount(sRaceModTable);
|
||||
int iRaceModRows = Get2DARowCount(sRaceModTable);
|
||||
int iRaceMod;
|
||||
for (iRaceMod = 0; iRaceMod < iRaceModRows; iRaceMod++)
|
||||
{
|
||||
|
Reference in New Issue
Block a user