PoA_PRC8/_module/nss/gc_is_paladin.nss

27 lines
602 B
Plaintext
Raw Normal View History

2022-10-07 14:20:31 -04:00
//::///////////////////////////////////////////////
//:: FileName gc_is_paladin
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 9/11/2008 11:46:56 AM
//:://////////////////////////////////////////////
#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_PALADIN, oPC)
+GetLevelByClass(CLASS_TYPE_SOHEI, oPC);
if(nClass <= 0)
2022-10-07 14:20:31 -04:00
return FALSE;
return TRUE;
}