PoA_PRC8/_module/nss/gc_is_ranger.nss

26 lines
602 B
Plaintext
Raw Normal View History

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
//:://////////////////////////////////////////////
#include "prc_class_const"
2022-10-07 14:20:31 -04:00
int StartingConditional()
{
object oPC = GetPCSpeaker();
2022-10-07 14:20:31 -04:00
// Restrict based on the player's class
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;
}