WoR_PRC8/_module/nss/s_isnotrangeoraa.nss

24 lines
631 B
Plaintext
Raw Normal View History

2025-04-03 11:49:34 -04:00
//::///////////////////////////////////////////////
//:: FileName s_isnotbardorcle
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 3/5/2005 6:29:47 PM
//:://////////////////////////////////////////////
int StartingConditional()
{
// Restrict based on the player's class
int class = GetClassByPosition(1, GetPCSpeaker());
if(class == CLASS_TYPE_RANGER)
{
return FALSE;
}
else if(GetLevelByClass(CLASS_TYPE_ARCANE_ARCHER, GetPCSpeaker()) >= 1)
{
return FALSE;
}
return TRUE;
}