19 lines
430 B
Plaintext
19 lines
430 B
Plaintext
|
void main()
|
||
|
{
|
||
|
ExecuteScript ("uberloot", OBJECT_SELF);
|
||
|
|
||
|
int nDiceRoll = d100(1);
|
||
|
if(nDiceRoll <= 70)
|
||
|
{
|
||
|
CreateItemOnObject("GoblinEar", OBJECT_SELF, 1);
|
||
|
}
|
||
|
|
||
|
int nDiceRoll2 = d100(1);
|
||
|
if(nDiceRoll2 <= 30)
|
||
|
{
|
||
|
location lLocation = GetLocation(OBJECT_SELF);
|
||
|
CreateObject (OBJECT_TYPE_CREATURE,"urkatanwarrior", lLocation);
|
||
|
CreateObject (OBJECT_TYPE_CREATURE,"urkatanwarrior", lLocation);
|
||
|
}
|
||
|
}
|