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

8 lines
489 B
Plaintext

int StartingConditional()
{
int iResult;
iResult = (GetClassByPosition(1, OBJECT_SELF) == CLASS_TYPE_PALEMASTER || GetClassByPosition(2, OBJECT_SELF) == CLASS_TYPE_PALEMASTER || GetClassByPosition(3, OBJECT_SELF) == CLASS_TYPE_PALEMASTER || GetClassByPosition(3, OBJECT_SELF) == CLASS_TYPE_INVALID) && (GetAlignmentGoodEvil(OBJECT_SELF) != ALIGNMENT_GOOD) && (GetCasterLevel(OBJECT_SELF) >= 3) && (GetLevelByClass(CLASS_TYPE_PALEMASTER, OBJECT_SELF) != 40);
return iResult;
}