Lankhmar_PRC8/_module/nss/hch_if_pre_shado.nss

29 lines
755 B
Plaintext
Raw Permalink Normal View History

2025-04-03 12:54:47 -04:00
//checks to see if hench has prerequisites for shadowdancer prestige class
//written by kookoo 8-13-8
int StartingConditional()
{
object oHench = OBJECT_SELF;
//must have 10 ranks of hide skill
if (GetSkillRank(SKILL_HIDE, oHench) >= 10)
{
//must have 8 ranks of move silently skill
if (GetSkillRank(SKILL_MOVE_SILENTLY, oHench) >= 8)
{
//must have 5 ranks of lore tumble skill
if (GetSkillRank(SKILL_TUMBLE, oHench) >= 5)
{
//must have dodge feat
if (GetHasFeat(FEAT_DODGE, oHench))
{
//must have mobility feat
if (GetHasFeat(FEAT_MOBILITY, oHench))
{
return TRUE;
}
}
}
}
}
return FALSE;
}