2025/09/15 Update

Updated XP system to use PWFXP.
This commit is contained in:
Jaysyn904
2025-09-16 07:32:56 -04:00
parent c4b53f62ba
commit 43c4564112
247 changed files with 7274 additions and 708 deletions

View File

@@ -0,0 +1,16 @@
// written by fluffyamoeba 09-07-06
// actually gets the LA modifier, not ECL
// gets the LA from ecl.2da (actually the 2da cache)
// used to hand out XP adjusted for LA
int GetECLMod(object oCreature);
#include "inc_utility"
int GetECLMod(object oCreature)
{
int nRace = GetRacialType(oCreature); //:: Note this is not MyPRCGetRacialType becuase we want to include subraces too
int nLA = 0;
nLA = StringToInt(Get2DACache("ECL", "LA", nRace));
return nLA;
}