PoA_PRC8/_module/nss/gc_is_sorcerer.nss
Jaysyn904 2bf42182fd Further PRC integration
Further PRC integration.  Fixed Rod of Ruin.  Full compile.
2022-10-10 08:16:23 -04:00

29 lines
755 B
Plaintext

//::///////////////////////////////////////////////
//:: FileName gc_is_sorcerer
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: 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 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;
}