Finished PRC8 integration. Moved creature abilities to top hak. Setup tooling. Created release archive
32 lines
912 B
Plaintext
32 lines
912 B
Plaintext
//::///////////////////////////////////////////////
|
|
//:: 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;
|
|
}
|