RATDOG/_module/nss/henchlvl_drgdsta.nss
Jaysyn904 0f13e6c538 Initial module commit
Initial module commit.
2021-08-29 23:34:48 -04:00

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;
}