24 lines
450 B
Plaintext
24 lines
450 B
Plaintext
|
//::///staingag
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
ExecuteScript ("uberloot", OBJECT_SELF);
|
||
|
|
||
|
int nDiceRoll = d100(1);
|
||
|
if(nDiceRoll <= 10)
|
||
|
{
|
||
|
CreateItemOnObject("staingag1", OBJECT_SELF, 1);
|
||
|
}
|
||
|
else if(nDiceRoll <= 20)
|
||
|
{
|
||
|
CreateItemOnObject("staingag2", OBJECT_SELF, 1);
|
||
|
}
|
||
|
else if(nDiceRoll <= 30)
|
||
|
{
|
||
|
CreateItemOnObject("staingag3", OBJECT_SELF, 1);
|
||
|
}
|
||
|
else{CreateItemOnObject("DragonsBlood", OBJECT_SELF, 1);
|
||
|
}
|
||
|
}
|
||
|
|