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

25 lines
569 B
Plaintext

//checks to see if hench has prerequisites for blackguard prestige class
//written by kookoo 8-13-8
int StartingConditional()
{
object oHench = OBJECT_SELF;
//must be evil
if (GetAlignmentGoodEvil(oHench) == ALIGNMENT_EVIL)
{
//must have BAB of 6 or better
if (GetBaseAttackBonus(oHench) >= 6)
{
//must have 5 ranks of hide skill
if (GetSkillRank(SKILL_HIDE, oHench) >= 5)
{
//must have cleave feat
if (GetHasFeat(FEAT_CLEAVE, oHench))
{
return TRUE;
}
}
}
}
return FALSE;
}