21 lines
573 B
Plaintext
21 lines
573 B
Plaintext
//Exotic level for store
|
|
|
|
int StartingConditional()
|
|
{
|
|
object oPC = GetPCSpeaker();
|
|
|
|
if((GetLocalInt(GetModule(), "iAllowStores") != 1))
|
|
{
|
|
if ((GetLevelByClass(CLASS_TYPE_MONK, oPC)==0)&&
|
|
(GetLevelByClass(CLASS_TYPE_RANGER, oPC)==0)&&
|
|
(GetLevelByClass(CLASS_TYPE_ROGUE, oPC)==0)&&
|
|
(GetLevelByClass(CLASS_TYPE_BARD, oPC)==0)&&
|
|
(GetLevelByClass(CLASS_TYPE_ASSASSIN, oPC)==0)&&
|
|
(GetLevelByClass(CLASS_TYPE_HARPER, oPC)==0)&&
|
|
(GetLevelByClass(CLASS_TYPE_SHADOWDANCER, oPC)==0))
|
|
return FALSE;
|
|
}
|
|
return TRUE;
|
|
}
|
|
|