25 lines
569 B
Plaintext
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;
|
|
}
|