AOC_PRC8/_module/nss/enhance_chek2.nss
Jaysyn904 5e558169a0 Initial Commit
Initial Commit
2025-04-03 11:24:16 -04:00

25 lines
681 B
Plaintext

//::///////////////////////////////////////////////
//:: FileName sc_022
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 26/01/2005 5:27:11 PM
//:://////////////////////////////////////////////
int StartingConditional()
{
int oFlag = 0;
object oItem = GetFirstItemInInventory(OBJECT_SELF);
while(GetIsObjectValid(oItem))
{
if (GetLocalInt(oItem, "enhancement_max")==1)
{oFlag=1;}
oItem = GetNextItemInInventory(OBJECT_SELF);
}
// Inspect local variables
if(!(oFlag == 1))
return FALSE;
return TRUE;
}