21 lines
459 B
Plaintext
21 lines
459 B
Plaintext
|
|
||
|
void main()
|
||
|
{
|
||
|
ExecuteScript ("uberloot", OBJECT_SELF);
|
||
|
ExecuteScript ("uberloot", OBJECT_SELF);
|
||
|
ExecuteScript ("uberloot", OBJECT_SELF);
|
||
|
int nDiceRoll = d100(1);
|
||
|
if(nDiceRoll <= 10)
|
||
|
{
|
||
|
CreateItemOnObject("baronvondoom1", OBJECT_SELF, 1);
|
||
|
}
|
||
|
else if(nDiceRoll <= 20)
|
||
|
{
|
||
|
CreateItemOnObject("baronvondoom2", OBJECT_SELF, 1);
|
||
|
}
|
||
|
else if(nDiceRoll <= 30)
|
||
|
{
|
||
|
CreateItemOnObject("baronvondoom3", OBJECT_SELF, 1);
|
||
|
}
|
||
|
}
|