37 lines
1011 B
Plaintext
37 lines
1011 B
Plaintext
//checks to see if hench has prerequisites for harper scout prestige class
|
|
//written by kookoo 8-13-8
|
|
int StartingConditional()
|
|
{
|
|
object oHench = OBJECT_SELF;
|
|
//must not be evil
|
|
if (GetAlignmentGoodEvil(oHench) != ALIGNMENT_EVIL)
|
|
{
|
|
//must have 4 ranks of search skill
|
|
if (GetSkillRank(SKILL_SEARCH, oHench) >= 4)
|
|
{
|
|
//must have 8 ranks of move persuade skill
|
|
if (GetSkillRank(SKILL_PERSUADE, oHench) >= 8)
|
|
{
|
|
//must have 4 ranks of discipline skill
|
|
if (GetSkillRank(SKILL_DISCIPLINE, oHench) >= 4)
|
|
{
|
|
//must have 6 ranks of lore persuade skill
|
|
if (GetSkillRank(SKILL_LORE, oHench) >= 6)
|
|
{
|
|
//must have alertness feat
|
|
if (GetHasFeat(FEAT_ALERTNESS, oHench))
|
|
{
|
|
//must have iron will feat
|
|
if (GetHasFeat(FEAT_IRON_WILL, oHench))
|
|
{
|
|
return TRUE;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
return FALSE;
|
|
}
|