28 lines
702 B
Plaintext
28 lines
702 B
Plaintext
void main()
|
|
{
|
|
ExecuteScript ("uberloot", OBJECT_SELF);
|
|
ExecuteScript ("lootgems", OBJECT_SELF);
|
|
ExecuteScript ("lootgold", OBJECT_SELF);
|
|
ExecuteScript ("lootpotions", OBJECT_SELF);
|
|
ExecuteScript ("lootgold", OBJECT_SELF);
|
|
ExecuteScript ("lootgems", OBJECT_SELF);
|
|
ExecuteScript ("lootpotions", OBJECT_SELF);
|
|
ExecuteScript ("lootranged", OBJECT_SELF);
|
|
ExecuteScript ("lootranged", OBJECT_SELF);
|
|
|
|
|
|
int nDiceRoll = d100(1);
|
|
if(nDiceRoll <= 10)
|
|
{
|
|
CreateItemOnObject("spheuy1", OBJECT_SELF, 1);
|
|
}
|
|
else if(nDiceRoll <= 20)
|
|
{
|
|
CreateItemOnObject("spheuy2", OBJECT_SELF, 1);
|
|
}
|
|
else if(nDiceRoll <= 30)
|
|
{
|
|
CreateItemOnObject("spheuy3", OBJECT_SELF, 1);
|
|
}
|
|
}
|