32 lines
811 B
Plaintext
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;
|
|
}
|
|
*/ |