//:://///////////////////////////////////////////// //:: FileName has_ml6 //::////////////////////////////////////////////// //::////////////////////////////////////////////// //:: Created By: Script Wizard //:: Created On: 2/10/2007 9:08:40 PM //::////////////////////////////////////////////// #include "nw_i0_tool" #include "prc_class_const" int StartingConditional() { object oPC = GetPCSpeaker(); int iMonk = GetLevelByClass(CLASS_TYPE_MONK, oPC) + GetLevelByClass(CLASS_TYPE_SOHEI, oPC) + GetLevelByClass(CLASS_TYPE_SWORDSAGE, oPC) + GetLevelByClass(CLASS_TYPE_PSION, oPC); // Restrict based on the player's class int iPassed = 0; if(iMonk <= 0) return FALSE; // Make sure the PC speaker has these items in their inventory if(!HasItem(GetPCSpeaker(), "ML7")) return FALSE; return TRUE; }