Amon_PRC8/_module/nss/ls_trintroll.nss
Jaysyn904 c5cffc37af Initial Commit
Initial Commit [v1.01]
2025-04-03 19:00:46 -04:00

26 lines
577 B
Plaintext

//:://////////////////////////////////////////////
//::// Trinland Troll LEWT
//:://///////////////////////////////////////////
void main()
{
ExecuteScript ("uberloot", OBJECT_SELF);
int nDiceRoll = d100(1);
if(nDiceRoll <= 10)
{
CreateItemOnObject("gronk1", OBJECT_SELF, 1);
}
else if(nDiceRoll <= 20)
{
CreateItemOnObject("gronk2", OBJECT_SELF, 1);
}
else if(nDiceRoll <= 30)
{
CreateItemOnObject("gronk3", OBJECT_SELF, 1);
}
ExecuteScript("prc_npc_death", OBJECT_SELF);
ExecuteScript("prc_pwondeath", OBJECT_SELF);
}