Further PRC integration

Further PRC integration.  Class & race integration.  Updated PoA loot spawn scripts for PRC classes.  Integrated PRC NPC event scripts.  Full compile.
This commit is contained in:
Jaysyn904
2022-10-09 22:53:12 -04:00
parent 55766b63b5
commit baf0860664
1708 changed files with 1746 additions and 242 deletions

View File

@@ -5,14 +5,23 @@
//:: Created By: Script Wizard
//:: Created On: 9/11/2008 12:19:02 PM
//:://////////////////////////////////////////////
#include "prc_class_const"
int StartingConditional()
{
object oPC = GetPCSpeaker();
// Restrict based on the player's class
int iPassed = 0;
if(GetLevelByClass(CLASS_TYPE_SORCERER, GetPCSpeaker()) >= 1)
iPassed = 1;
if(iPassed == 0)
int nClass;
nClass = GetLevelByClass(CLASS_TYPE_SORCERER, oPC)
+GetLevelByClass(CLASS_TYPE_DREAD_NECROMANCER, oPC)
+GetLevelByClass(CLASS_TYPE_WARMAGE, oPC)
+GetLevelByClass(CLASS_TYPE_SHADOWCASTER, oPC)
+GetLevelByClass(CLASS_TYPE_WARLOCK, oPC);
if(nClass <= 0)
return FALSE;
return TRUE;