HoS_PRC8/_mod/_module/nss/ck_agernisheart.nss

10 lines
356 B
Plaintext
Raw Normal View History

2024-11-25 19:36:07 -05:00
int StartingConditional()
{
object oPC=GetPCSpeaker();
int nAGE=GetAlignmentGoodEvil(oPC);
int nMaskAlignment=GetLocalInt(oPC,"nMaskAlignment");
if (nAGE==ALIGNMENT_EVIL&&nMaskAlignment!=TRUE) return TRUE;
if (nAGE==ALIGNMENT_NEUTRAL&&GetAlignmentLawChaos(oPC)!=ALIGNMENT_NEUTRAL&&nMaskAlignment!=TRUE) return TRUE;
return FALSE;
}