21 lines
582 B
Plaintext
21 lines
582 B
Plaintext
//Priest level for store
|
|
|
|
int StartingConditional()
|
|
{
|
|
object oPC = GetPCSpeaker();
|
|
|
|
if((GetLocalInt(GetModule(), "iAllowStores") == 1)) return TRUE;
|
|
|
|
if ((GetLevelByClass(CLASS_TYPE_CLERIC, oPC)==0)&&
|
|
(GetLevelByClass(CLASS_TYPE_DRUID, oPC)==0)&&
|
|
(GetLevelByClass(CLASS_TYPE_PALADIN, oPC)==0)&&
|
|
(GetLevelByClass(CLASS_TYPE_RANGER, oPC)==0)&&
|
|
(GetLevelByClass(CLASS_TYPE_BLACKGUARD, oPC)==0)&&
|
|
(GetLevelByClass(CLASS_TYPE_DIVINECHAMPION, oPC)==0)&&
|
|
(GetLevelByClass(CLASS_TYPE_SHIFTER, oPC)==0))
|
|
return FALSE;
|
|
|
|
return TRUE;
|
|
}
|
|
|