20255/17/19 Update

Added PEPS AI.
Full compile.
This commit is contained in:
Jaysyn904
2025-07-19 18:27:32 -04:00
parent dd3496e400
commit d2a9c50615
2533 changed files with 136137 additions and 13984 deletions

View File

@@ -15,6 +15,7 @@
#include "colors_inc"
#include "prc_inc_spells"
#include "zep_inc_scrptdlg"
@@ -522,13 +523,16 @@ int ZEPDemilichChooseSoulGem(object oPC)
// Get the threshold for our attention from the demilich.
int nThreshold = GetLocalInt(OBJECT_SELF, "ZEP_DEMI_Power_Threshold");
if ( nThreshold == 0 )
{
// Use the module default.
nThreshold = ZEP_DEMI_POWER_THRESHOLD;
}
// See if oPC is not worthy of attention.
if ( PRCGetCasterLevel(oPC) < nThreshold )
{
// Do not trap.
return -1;
}
// Find the weakest entrapped soul.
int nWeakestGem = -1;
int nWeakestLevel = 99;
@@ -881,3 +885,5 @@ object ZEPDemilichGetVictimParty(int nGem)
ZEP_DEMI_LOCAL_SGCORPSE);
}
//;; void main() {}