21 lines
700 B
Plaintext
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;
|
|
} |