20 lines
382 B
Plaintext
20 lines
382 B
Plaintext
|
void main()
|
||
|
{
|
||
|
|
||
|
ExecuteScript ("uberloot", OBJECT_SELF);
|
||
|
|
||
|
int nDiceRoll = d100(1);
|
||
|
if(nDiceRoll <= 03)
|
||
|
{
|
||
|
CreateItemOnObject("platedarusteth1", OBJECT_SELF, 1);
|
||
|
}
|
||
|
else if(nDiceRoll <= 06)
|
||
|
{
|
||
|
CreateItemOnObject("platedarusteth2", OBJECT_SELF, 1);
|
||
|
}
|
||
|
else if(nDiceRoll <= 09)
|
||
|
{
|
||
|
CreateItemOnObject("platedarusteth3", OBJECT_SELF, 1);
|
||
|
}
|
||
|
}
|