113 lines
4.3 KiB
Plaintext
113 lines
4.3 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_sparscr402", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 4)
|
|
{ CreateItemOnObject("nw_it_spdvscr301", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 6)
|
|
{ CreateItemOnObject("nw_it_sparscr415", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 8)
|
|
{ CreateItemOnObject("nw_it_sparscr409", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 10)
|
|
{ CreateItemOnObject("nw_it_sparscr401", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 12)
|
|
{ CreateItemOnObject("nw_it_sparscr417", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 14)
|
|
{ CreateItemOnObject("nw_it_sparscr408", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 16)
|
|
{ CreateItemOnObject("nw_it_sparscr413", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 18)
|
|
{ CreateItemOnObject("nw_it_sparscr412", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 20)
|
|
{ CreateItemOnObject("nw_it_sparscr411", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 22)
|
|
{ CreateItemOnObject("nw_it_sparscr406", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 24)
|
|
{ CreateItemOnObject("nw_it_sparscr405", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 26)
|
|
{ CreateItemOnObject("nw_it_sparscr414", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 28)
|
|
{ CreateItemOnObject("nw_it_sparscr407", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 30)
|
|
{ CreateItemOnObject("nw_it_sparscr404", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 32)
|
|
{ CreateItemOnObject("nw_it_sparscr403", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 34)
|
|
{ CreateItemOnObject("nw_it_sparscr410", OBJECT_SELF, 1);}
|
|
}
|
|
else if(nUberRoll <= 66)
|
|
{
|
|
int nDiceRoll = d100(1);
|
|
if(nDiceRoll <= 2)
|
|
{ CreateItemOnObject("nw_it_sparscr510", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 4)
|
|
{ CreateItemOnObject("nw_it_sparscr506", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 6)
|
|
{ CreateItemOnObject("nw_it_sparscr513", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 8)
|
|
{ CreateItemOnObject("nw_it_sparscr512", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 10)
|
|
{ CreateItemOnObject("nw_it_sparscr511", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 12)
|
|
{ CreateItemOnObject("nw_it_sparscr505", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 14)
|
|
{ CreateItemOnObject("nw_it_sparscr508", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 16)
|
|
{ CreateItemOnObject("nw_it_sparscr504", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 18)
|
|
{ CreateItemOnObject("nw_it_sparscr416", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 20)
|
|
{ CreateItemOnObject("nw_it_sparscr503", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 22)
|
|
{ CreateItemOnObject("nw_it_sparscr501", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 24)
|
|
{ CreateItemOnObject("nw_it_sparscr507", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 26)
|
|
{ CreateItemOnObject("nw_it_sparscr502", OBJECT_SELF, 1);}
|
|
}
|
|
else
|
|
{
|
|
int nDiceRoll = d100(1);
|
|
if(nDiceRoll <= 2)
|
|
{ CreateItemOnObject("nw_it_sparscr614", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 4)
|
|
{ CreateItemOnObject("nw_it_sparscr605", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 6)
|
|
{ CreateItemOnObject("nw_it_sparscr609", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 8)
|
|
{ CreateItemOnObject("nw_it_sparscr604", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 10)
|
|
{ CreateItemOnObject("nw_it_sparscr611", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 12)
|
|
{ CreateItemOnObject("nw_it_sparscr613", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 14)
|
|
{ CreateItemOnObject("nw_it_sparscr612", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 16)
|
|
{ CreateItemOnObject("nw_it_sparscr602", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 18)
|
|
{ CreateItemOnObject("nw_it_sparscr601", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 20)
|
|
{ CreateItemOnObject("nw_it_sparscr608", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 22)
|
|
{ CreateItemOnObject("nw_it_sparscr610", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 24)
|
|
{ CreateItemOnObject("nw_it_sparscr607", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 26)
|
|
{ CreateItemOnObject("nw_it_sparscr603", OBJECT_SELF, 1);}
|
|
else if(nDiceRoll <= 28)
|
|
{ CreateItemOnObject("nw_it_sparscr606", OBJECT_SELF, 1);}
|
|
}
|
|
|
|
}
|