//:://///////////////////////////////////////////// //:: FileName spirit_rewrd_chk //::////////////////////////////////////////////// //::////////////////////////////////////////////// //:: Created By: Script Wizard //:: Created On: 7/20/2003 10:53:36 AM //::////////////////////////////////////////////// int StartingConditional() { // Restrict based on the player's class int iPassed = 0; if(GetLevelByClass(CLASS_TYPE_ARCANE_ARCHER, GetPCSpeaker()) >= 15) iPassed = 1; if((iPassed == 0) && (GetLevelByClass(CLASS_TYPE_ASSASSIN, GetPCSpeaker()) >= 15)) iPassed = 1; if((iPassed == 0) && (GetLevelByClass(CLASS_TYPE_BARBARIAN, GetPCSpeaker()) >= 15)) iPassed = 1; if((iPassed == 0) && (GetLevelByClass(CLASS_TYPE_BARD, GetPCSpeaker()) >= 15)) iPassed = 1; if((iPassed == 0) && (GetLevelByClass(CLASS_TYPE_BLACKGUARD, GetPCSpeaker()) >= 15)) iPassed = 1; if((iPassed == 0) && (GetLevelByClass(CLASS_TYPE_CLERIC, GetPCSpeaker()) >= 15)) iPassed = 1; if((iPassed == 0) && (GetLevelByClass(CLASS_TYPE_DRUID, GetPCSpeaker()) >= 15)) iPassed = 1; if((iPassed == 0) && (GetLevelByClass(CLASS_TYPE_FIGHTER, GetPCSpeaker()) >= 15)) iPassed = 1; if((iPassed == 0) && (GetLevelByClass(CLASS_TYPE_HARPER, GetPCSpeaker()) >= 15)) iPassed = 1; if((iPassed == 0) && (GetLevelByClass(CLASS_TYPE_PALADIN, GetPCSpeaker()) >= 15)) iPassed = 1; if((iPassed == 0) && (GetLevelByClass(CLASS_TYPE_RANGER, GetPCSpeaker()) >= 15)) iPassed = 1; if((iPassed == 0) && (GetLevelByClass(CLASS_TYPE_ROGUE, GetPCSpeaker()) >= 15)) iPassed = 1; if((iPassed == 0) && (GetLevelByClass(CLASS_TYPE_SHADOWDANCER, GetPCSpeaker()) >= 15)) iPassed = 1; if((iPassed == 0) && (GetLevelByClass(CLASS_TYPE_SORCERER, GetPCSpeaker()) >= 15)) iPassed = 1; if((iPassed == 0) && (GetLevelByClass(CLASS_TYPE_WIZARD, GetPCSpeaker()) >= 15)) iPassed = 1; if(iPassed == 0) return FALSE; return TRUE; }