20 lines
502 B
Plaintext
20 lines
502 B
Plaintext
//checks to see if hench has prerequisites for red dragon disciple prestige class
|
|
//written by kookoo 8-13-8
|
|
int StartingConditional()
|
|
{
|
|
object oHench = OBJECT_SELF;
|
|
//must be bard or sorcerer, not wizard.
|
|
int nClass;
|
|
nClass = GetLevelByClass(CLASS_TYPE_BARD, oHench);
|
|
nClass += GetLevelByClass(CLASS_TYPE_SORCERER, oHench);
|
|
if (nClass>0)
|
|
{
|
|
//must have 8 ranks of lore persuade skill
|
|
if (GetSkillRank(SKILL_LORE, oHench) >= 8)
|
|
{
|
|
return TRUE;
|
|
}
|
|
}
|
|
return FALSE;
|
|
}
|