Lankhmar_PRC8/_module/nss/hch_if_pre_rdd.nss
Jaysyn904 ebc0c6a9b2 Initial commit
Initial commit [v9.7]
2025-04-03 12:54:47 -04:00

20 lines
502 B
Plaintext

//checks to see if hench has prerequisites for red dragon disciple prestige class
//written by kookoo 8-13-8
int StartingConditional()
{
object oHench = OBJECT_SELF;
//must be bard or sorcerer, not wizard.
int nClass;
nClass = GetLevelByClass(CLASS_TYPE_BARD, oHench);
nClass += GetLevelByClass(CLASS_TYPE_SORCERER, oHench);
if (nClass>0)
{
//must have 8 ranks of lore persuade skill
if (GetSkillRank(SKILL_LORE, oHench) >= 8)
{
return TRUE;
}
}
return FALSE;
}