Further PRC integration

Further PRC integration.  Fixed Rod of Ruin.  Full compile.
This commit is contained in:
Jaysyn904
2022-10-10 08:16:23 -04:00
parent b257fba4d9
commit 2bf42182fd
1710 changed files with 1758 additions and 244 deletions

View File

@@ -5,14 +5,20 @@
//:: 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 iPassed = 0;
if(GetLevelByClass(CLASS_TYPE_RANGER, GetPCSpeaker()) >= 1)
iPassed = 1;
if(iPassed == 0)
int nClass;
nClass = GetLevelByClass(CLASS_TYPE_RANGER, oPC)
+GetLevelByClass(CLASS_TYPE_TOTEMIST, oPC);
if(nClass <= 0)
return FALSE;
return TRUE;