PGCC_PRC8/_module/nss/vtw_ilrexceeded.nss

14 lines
298 B
Plaintext
Raw Permalink Normal View History

2024-10-09 14:17:22 -04:00
int StartingConditional()
{
object oPC = GetPCSpeaker();
int iItemLevel = GetLocalInt(oPC, "iItemLevel");
int iPCLevel = GetHitDice(oPC);
if (GetLocalInt(GetModule(), "iAllowExceedILR") == 0)
{
if (iItemLevel > iPCLevel) return TRUE;
}
return FALSE;
}