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

32 lines
811 B
Plaintext

// need to be 8th 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;
if (iArcane>7) iResult = FALSE;
return iResult;
}
/* int StartingConditional()
{
int iResult=TRUE;
int nL=GetLevelByClass(CLASS_TYPE_SORCERER,GetPCSpeaker());
nL=nL+GetLevelByClass(CLASS_TYPE_WIZARD,GetPCSpeaker());
if (nL>7) iResult=FALSE;
return iResult;
}
*/