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:
Jaysyn904
2024-03-13 21:52:56 -04:00
parent 786c640862
commit f5a98c2d22
85 changed files with 3041 additions and 673 deletions

View File

@@ -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++)
{