HoS_PRC8/_mod/_module/nss/mg_not_level.nss
Jaysyn904 04165202c0 Initial upload
Initial upload
2024-11-25 19:36:07 -05:00

21 lines
700 B
Plaintext

// need to be 3rd level Wizard or sorcerer
#include "prc_class_const"
int StartingConditional()
{
object oPC = GetPCSpeaker();
int iArcane = GetLevelByClass(CLASS_TYPE_WIZARD, oPC)
+ GetLevelByClass(CLASS_TYPE_SORCERER, oPC)
+ GetLevelByClass(CLASS_TYPE_DREAD_NECROMANCER, oPC)
+ GetLevelByClass(CLASS_TYPE_BEGUILER, oPC)
+ GetLevelByClass(CLASS_TYPE_SHADOWCASTER, oPC)
+ GetLevelByClass(CLASS_TYPE_WARMAGE, oPC)
+ GetLevelByClass(CLASS_TYPE_WARLOCK, oPC);
int iResult=TRUE;
/* int nL=GetLevelByClass(CLASS_TYPE_SORCERER,GetPCSpeaker());
nL=nL+GetLevelByClass(CLASS_TYPE_WIZARD,GetPCSpeaker()); */
if (iArcane>2) iResult=FALSE;
return iResult;
}