22 lines
481 B
Plaintext
22 lines
481 B
Plaintext
|
////////////////////////////////////////////////////////////////////////////////
|
||
|
//
|
||
|
// Check Levels
|
||
|
// opw_chk_less5
|
||
|
// By Don Anderson
|
||
|
// dandersonru@msn.com
|
||
|
//
|
||
|
// Check to See if the Speaker is at or greater than a specific level.
|
||
|
//
|
||
|
////////////////////////////////////////////////////////////////////////////////
|
||
|
|
||
|
int StartingConditional()
|
||
|
{
|
||
|
object oPC=GetPCSpeaker();
|
||
|
|
||
|
int nHD = GetHitDice(oPC);
|
||
|
int nLvl = 5;
|
||
|
|
||
|
if(nHD <= nLvl) return TRUE;
|
||
|
else return FALSE;
|
||
|
}
|