2022-10-07 14:20:31 -04:00
|
|
|
//::///////////////////////////////////////////////
|
|
|
|
//:: FileName gc_is_ranger
|
|
|
|
//:://////////////////////////////////////////////
|
|
|
|
//:://////////////////////////////////////////////
|
|
|
|
//:: Created By: Script Wizard
|
|
|
|
//:: Created On: 9/11/2008 12:18:32 PM
|
|
|
|
//:://////////////////////////////////////////////
|
2022-10-10 08:16:23 -04:00
|
|
|
#include "prc_class_const"
|
|
|
|
|
2022-10-07 14:20:31 -04:00
|
|
|
int StartingConditional()
|
|
|
|
{
|
2022-10-10 08:16:23 -04:00
|
|
|
object oPC = GetPCSpeaker();
|
|
|
|
|
2022-10-07 14:20:31 -04:00
|
|
|
// Restrict based on the player's class
|
2022-10-10 08:16:23 -04:00
|
|
|
|
|
|
|
int nClass;
|
|
|
|
|
|
|
|
nClass = GetLevelByClass(CLASS_TYPE_RANGER, oPC)
|
|
|
|
+GetLevelByClass(CLASS_TYPE_TOTEMIST, oPC);
|
|
|
|
|
|
|
|
if(nClass <= 0)
|
2022-10-07 14:20:31 -04:00
|
|
|
return FALSE;
|
|
|
|
|
|
|
|
return TRUE;
|
|
|
|
}
|