2025/10/21 Update
Added PEPS AI. Hopefully stopped "bleed" bug after being healed from dying. Full compile.
This commit is contained in:
@@ -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!
|
||||
|
||||
Reference in New Issue
Block a user