generated from Jaysyn/ModuleTemplate
Initial upload
Initial upload.
This commit is contained in:
13
_module/nss/vtw_ilrexceeded.nss
Normal file
13
_module/nss/vtw_ilrexceeded.nss
Normal file
@@ -0,0 +1,13 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user