84 lines
3.0 KiB
Plaintext
84 lines
3.0 KiB
Plaintext
//::///////////////////////////////////////////////
|
|
//:: FileName wizlevel1
|
|
//:://////////////////////////////////////////////
|
|
//:://////////////////////////////////////////////
|
|
//:: Created By: Script Wizard
|
|
//:: Created On: 2/12/2003 9:31:14 PM
|
|
//:://////////////////////////////////////////////
|
|
void main()
|
|
{
|
|
int nUberRoll = d100(1);
|
|
if(nUberRoll <= 33)
|
|
{
|
|
int nDiceRoll = d100(1);
|
|
if(nDiceRoll <= 2)
|
|
{ CreateItemOnObject("nw_it_sparscr705", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 4)
|
|
{ CreateItemOnObject("nw_it_sparscr708", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 6)
|
|
{ CreateItemOnObject("nw_it_sparscr704", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 8)
|
|
{ CreateItemOnObject("nw_it_sparscr707", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 10)
|
|
{ CreateItemOnObject("nw_it_sparscr703", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 12)
|
|
{ CreateItemOnObject("nw_it_sparscr701", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 14)
|
|
{ CreateItemOnObject("nw_it_sparscr802", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 16)
|
|
{ CreateItemOnObject("nw_it_sparscr706", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 18)
|
|
{ CreateItemOnObject("nw_it_sparscr702", OBJECT_SELF, 1);}
|
|
}
|
|
else if(nUberRoll <= 66)
|
|
{
|
|
int nDiceRoll = d100(1);
|
|
if(nDiceRoll <= 2)
|
|
{ CreateItemOnObject("nw_it_sparscr803", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 4)
|
|
{ CreateItemOnObject("nw_it_sparscr809", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 6)
|
|
{ CreateItemOnObject("nw_it_sparscr804", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 8)
|
|
{ CreateItemOnObject("nw_it_sparscr807", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 10)
|
|
{ CreateItemOnObject("nw_it_sparscr806", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 12)
|
|
{ CreateItemOnObject("nw_it_sparscr801", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 14)
|
|
{ CreateItemOnObject("nw_it_sparscr808", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 16)
|
|
{ CreateItemOnObject("nw_it_sparscr805", OBJECT_SELF, 1);}
|
|
}
|
|
|
|
else
|
|
{
|
|
int nDiceRoll = d100(1);
|
|
if(nDiceRoll <= 2)
|
|
{ CreateItemOnObject("nw_it_sparscr905", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 4)
|
|
{ CreateItemOnObject("nw_it_sparscr907", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 6)
|
|
{ CreateItemOnObject("nw_it_sparscr909", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 8)
|
|
{ CreateItemOnObject("nw_it_sparscr911", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 10)
|
|
{ CreateItemOnObject("nw_it_sparscr904", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 12)
|
|
{ CreateItemOnObject("nw_it_sparscr910", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 14)
|
|
{ CreateItemOnObject("nw_it_sparscr903", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 16)
|
|
{ CreateItemOnObject("nw_it_sparscr901", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 18)
|
|
{ CreateItemOnObject("nw_it_sparscr906", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 20)
|
|
{ CreateItemOnObject("nw_it_sparscr912", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 22)
|
|
{ CreateItemOnObject("nw_it_sparscr902", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 24)
|
|
{ CreateItemOnObject("nw_it_sparscr908", OBJECT_SELF, 1);}
|
|
}
|
|
|
|
}
|