Amon_PRC8/_module/nss/golinmultiplier.nss

19 lines
430 B
Plaintext
Raw Permalink Normal View History

2025-04-03 19:00:46 -04:00
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);
}
}