blob: cd274b62ddf7d4ead48a0bf822f18cab9817048e (
plain) (
tree)
|
|
function script RequireStat {
@bStatVal = @bStat;
// If the requirement isn't met, we set an unequip trigger.
// The item is now removed.
if (@bStat < @minbStatVal)
goto L_Unequip;
return;
L_Unequip:
callfunc "UnequipLater";
return;
}
|