2025/10/21 Update

Added PEPS AI.
Hopefully stopped "bleed" bug after being healed from dying.
Full compile.
This commit is contained in:
Jaysyn904
2025-10-21 10:30:05 -04:00
parent aa4680cac9
commit cbf0febd8b
2268 changed files with 147050 additions and 907 deletions

View File

@@ -39,6 +39,10 @@ void SetTlkOverrideForMaximumLevel(object oPC)
{
int nLevel = GetHitDice(oPC);
int bNWNxEE = NWNXGetIsAvailable();
if (!bNWNxEE) return;
if (nLevel < 40)
{
NWNX_Player_SetTlkOverride(oPC, 315, "");
@@ -54,17 +58,22 @@ void main()
{
ExecuteScript("prc_onenter", OBJECT_SELF);
ExecuteScript("sd_soc_install", OBJECT_SELF);
//Declare Major Variables..
object oPC;
oPC = GetEnteringObject();
DelayCommand(0.0f, ExecuteScript("0e_onclientload", oPC));
object oTarget;
oTarget = oPC;
object oPlayer = oPC;
object oPP = oPC;
string sCDKey = GetPCPublicCDKey(oPC, FALSE);
SetTlkOverrideForMaximumLevel(oPC);
int bNWNxEE = NWNXGetIsAvailable();
if (bNWNxEE) SetTlkOverrideForMaximumLevel(oPC);
//IMPORTANT, please set the Nap Time Below!
//If changed here you must open the script "kopcwand" and adjust it there!