26 lines
602 B
Plaintext
26 lines
602 B
Plaintext
//::///////////////////////////////////////////////
|
|
//:: FileName gc_is_ranger
|
|
//:://////////////////////////////////////////////
|
|
//:://////////////////////////////////////////////
|
|
//:: Created By: Script Wizard
|
|
//:: Created On: 9/11/2008 12:18:32 PM
|
|
//:://////////////////////////////////////////////
|
|
#include "prc_class_const"
|
|
|
|
int StartingConditional()
|
|
{
|
|
object oPC = GetPCSpeaker();
|
|
|
|
// Restrict based on the player's class
|
|
|
|
int nClass;
|
|
|
|
nClass = GetLevelByClass(CLASS_TYPE_RANGER, oPC)
|
|
+GetLevelByClass(CLASS_TYPE_TOTEMIST, oPC);
|
|
|
|
if(nClass <= 0)
|
|
return FALSE;
|
|
|
|
return TRUE;
|
|
}
|