14 lines
298 B
Plaintext
14 lines
298 B
Plaintext
|
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;
|
||
|
}
|