Ancordia_PRC8/_module/nss/adv_isvigogood35.nss
Jaysyn904 102ba7dab6 Initial Commit
Initial Commit
2023-09-21 19:51:32 -04:00

10 lines
509 B
Plaintext

int StartingConditional()
{
string sName = GetLocalString(OBJECT_SELF, "sName");
string sLastName = GetLocalString(OBJECT_SELF, "sLastName");
SetCustomToken(11001, sName);
SetCustomToken(11002, sLastName);
if (GetLocalInt(OBJECT_SELF, "Adventurer") == TRUE && GetLocalInt(OBJECT_SELF, "nPersonality") == 0 && GetAlignmentGoodEvil(OBJECT_SELF) == ALIGNMENT_GOOD && GetAlignmentGoodEvil(GetPCSpeaker()) == ALIGNMENT_EVIL && GetHitDice(GetPCSpeaker()) >= 35) return TRUE;
return FALSE;
}