31 lines
790 B
Plaintext
31 lines
790 B
Plaintext
|
//::///////////////////////////////////////////////
|
||
|
//:: FileName chk_class_druid
|
||
|
//:://////////////////////////////////////////////
|
||
|
//:://////////////////////////////////////////////
|
||
|
//:: Created By: Script Wizard
|
||
|
//:: Created On: 11/27/2002 10:39:33 AM
|
||
|
//:://////////////////////////////////////////////
|
||
|
#include "prc_class_const"
|
||
|
|
||
|
int StartingConditional()
|
||
|
{
|
||
|
object oPC = GetPCSpeaker();
|
||
|
|
||
|
int iDruidic = GetLevelByClass(CLASS_TYPE_DRUID, oPC)
|
||
|
+ GetLevelByClass(CLASS_TYPE_SHAMAN, oPC);
|
||
|
|
||
|
if(iDruidic == 0)
|
||
|
return FALSE;
|
||
|
else
|
||
|
return TRUE;
|
||
|
|
||
|
/* // Restrict based on the player's class
|
||
|
int iPassed = 0;
|
||
|
if(GetLevelByClass(CLASS_TYPE_DRUID, GetPCSpeaker()) >= 1)
|
||
|
iPassed = 1;
|
||
|
if(iPassed == 0)
|
||
|
return FALSE;
|
||
|
|
||
|
return TRUE; */
|
||
|
}
|