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

21 lines
494 B
Plaintext

//checks to see if hench has prerequisites for assasin prestige class
//written by kookoo 8-13-8
int StartingConditional()
{
object oHench = OBJECT_SELF;
//must be evil
if (GetAlignmentGoodEvil(oHench) == ALIGNMENT_EVIL)
{
//must have 8 ranks of hide skill
if (GetSkillRank(SKILL_HIDE, oHench) >= 8)
{
//must have 8 ranks of move silently skill
if (GetSkillRank(SKILL_MOVE_SILENTLY, oHench) >= 8)
{
return TRUE;
}
}
}
return FALSE;
}