MMD_PRC8/_module/nss/chk_sm_rc_cls.nss
Jaysyn904 adeff59f82 Initial commit
Initial commit.
2024-08-02 23:18:00 -04:00

21 lines
483 B
Plaintext

/* Script generated by
Lilac Soul's NWN Script Generator, v. 2.1
For download info, please visit:
http://nwvault.ign.com/View.php?view=Other.Detail&id=4683&id=625 */
int StartingConditional()
{
object oPC = GetPCSpeaker();
int iMyrace = GetRacialType(OBJECT_SELF);
int iYerrace = GetRacialType(oPC);
int iMyclass = GetClassByPosition(1,OBJECT_SELF);
int iYerclass = GetClassByPosition(1,oPC);
if (iMyrace == iYerrace || iMyclass == iYerclass) return TRUE;
return FALSE;
}