Battledale_PRC8/_module/nss/jw_isclericdruid.nss

32 lines
912 B
Plaintext
Raw Permalink Normal View History

//::///////////////////////////////////////////////
//:: FileName jw_isclericdruid
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 01/12/2002 23:19:12
//:://////////////////////////////////////////////
#include "prc_class_const"
int StartingConditional()
{
object oPC = GetPCSpeaker();
int iDivine = GetLevelByClass(CLASS_TYPE_CLERIC, oPC)
+ GetLevelByClass(CLASS_TYPE_ARCHIVIST, oPC)
+ GetLevelByClass(CLASS_TYPE_FAVOURED_SOUL, oPC)
+ GetLevelByClass(CLASS_TYPE_HEALER, oPC)
+ GetLevelByClass(CLASS_TYPE_DRUID, oPC)
+ GetLevelByClass(CLASS_TYPE_RANGER, oPC)
+ GetLevelByClass(CLASS_TYPE_SHAMAN, oPC);
// Restrict based on the player's class
int iPassed = 0;
if(iDivine >= 1)
iPassed = 1;
if(iPassed == 0)
return FALSE;
return TRUE;
}