Further PRC integration

Further PRC integration. Updated racial & class hooks.  Updated NPC AI  for PRC NPC events.  Updated loot generation tables for PRC classes.
This commit is contained in:
Jaysyn904
2022-10-09 23:07:18 -04:00
parent baf0860664
commit 6937da5f87
1708 changed files with 242 additions and 1746 deletions

View File

@@ -5,20 +5,14 @@
//:: Created By: Script Wizard
//:: Created On: 9/11/2008 12:18:32 PM
//:://////////////////////////////////////////////
#include "prc_class_const"
int StartingConditional()
{
object oPC = GetPCSpeaker();
// Restrict based on the player's class
int nClass;
nClass = GetLevelByClass(CLASS_TYPE_RANGER, oPC)
+GetLevelByClass(CLASS_TYPE_TOTEMIST, oPC);
if(nClass <= 0)
int iPassed = 0;
if(GetLevelByClass(CLASS_TYPE_RANGER, GetPCSpeaker()) >= 1)
iPassed = 1;
if(iPassed == 0)
return FALSE;
return TRUE;