8 lines
668 B
Plaintext
8 lines
668 B
Plaintext
int StartingConditional()
|
|
{
|
|
int iResult;
|
|
|
|
iResult = (GetHitDice(OBJECT_SELF) >= 5) && (GetClassByPosition(1, OBJECT_SELF) == CLASS_TYPE_DRAGONDISCIPLE || GetClassByPosition(1, OBJECT_SELF) == CLASS_TYPE_SORCERER || GetClassByPosition(1, OBJECT_SELF) == CLASS_TYPE_BARD || GetClassByPosition(2, OBJECT_SELF) == CLASS_TYPE_DRAGONDISCIPLE || GetClassByPosition(2, OBJECT_SELF) == CLASS_TYPE_SORCERER || GetClassByPosition(2, OBJECT_SELF) == CLASS_TYPE_BARD || GetClassByPosition(3, OBJECT_SELF) == CLASS_TYPE_DRAGONDISCIPLE) && (GetSkillRank(SKILL_LORE, OBJECT_SELF) >= 8) && (GetLevelByClass(CLASS_TYPE_DRAGONDISCIPLE, OBJECT_SELF) != 40);
|
|
return iResult;
|
|
}
|