29 lines
755 B
Plaintext
29 lines
755 B
Plaintext
|
//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;
|
||
|
}
|