Rune_PRC8/_module/nss/vtw_haspriestlvl.nss
Jaysyn904 d1c309ae63 Initial commit
Initial commit
2024-09-13 09:10:39 -04:00

41 lines
1.4 KiB
Plaintext

#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_SHAMAN, oPC)
+ GetLevelByClass(CLASS_TYPE_BLACKGUARD, oPC)
+ GetLevelByClass(CLASS_TYPE_BLIGHTER, oPC)
+ GetLevelByClass(CLASS_TYPE_JUSTICEWW, oPC)
+ GetLevelByClass(CLASS_TYPE_KNIGHT_CHALICE, oPC)
+ GetLevelByClass(CLASS_TYPE_KNIGHT_MIDDLECIRCLE, oPC)
+ GetLevelByClass(CLASS_TYPE_NENTYAR_HUNTER, oPC)
+ GetLevelByClass(CLASS_TYPE_OCULAR, oPC)
+ GetLevelByClass(CLASS_TYPE_PALADIN, oPC)
+ GetLevelByClass(CLASS_TYPE_RANGER, oPC)
+ GetLevelByClass(CLASS_TYPE_SLAYER_OF_DOMIEL, oPC)
+ GetLevelByClass(CLASS_TYPE_SOHEI, oPC)
+ GetLevelByClass(CLASS_TYPE_SOLDIER_OF_LIGHT, oPC)
+ GetLevelByClass(CLASS_TYPE_VASSAL, oPC);
return FALSE;
/* if ((GetLevelByClass(CLASS_TYPE_CLERIC, oPC)==0)&&
(GetLevelByClass(CLASS_TYPE_DRUID, oPC)==0)&&
(GetLevelByClass(CLASS_TYPE_PALADIN, oPC)==0)&&
(GetLevelByClass(CLASS_TYPE_RANGER, oPC)==0)&&
(GetLevelByClass(CLASS_TYPE_BLACKGUARD, oPC)==0)&&
(GetLevelByClass(CLASS_TYPE_DIVINECHAMPION, oPC)==0)&&
(GetLevelByClass(CLASS_TYPE_SHIFTER, oPC)==0)) */
return TRUE;
}