21 lines
494 B
Plaintext
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;
|
|
}
|