24 lines
459 B
Plaintext
24 lines
459 B
Plaintext
|
//:://////////////////////////////////////////////
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
|
||
|
ExecuteScript("uberloot", OBJECT_SELF);
|
||
|
ExecuteScript("xp_system", OBJECT_SELF);
|
||
|
|
||
|
int nDiceRoll = d100(1);
|
||
|
if(nDiceRoll <= 15)
|
||
|
{
|
||
|
CreateItemOnObject("TowerAxe", OBJECT_SELF, 1);
|
||
|
}
|
||
|
else if(nDiceRoll <= 30)
|
||
|
{
|
||
|
CreateItemOnObject("SharpZombieBone", OBJECT_SELF, 1);
|
||
|
}
|
||
|
else if(nDiceRoll <= 45)
|
||
|
{
|
||
|
CreateItemOnObject("1Ring", OBJECT_SELF, 1);
|
||
|
}
|
||
|
}
|
||
|
|