Ancordia_PRC8/_module/nss/adv_ismalicioatt.nss

10 lines
407 B
Plaintext
Raw Permalink Normal View History

2023-09-21 19:51:32 -04:00
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") == 1 && GetLocalInt(OBJECT_SELF, "WillAttack") == 1) return TRUE;
return FALSE;
}