Files
Amon_PRC8/_module/nss/ls_baronvondoom.nss
Jaysyn904 8f76c0e5a5 2025/09/24 Update
Updates from @behindflayer
2025-09-24 16:04:25 -04:00

24 lines
550 B
Plaintext

void main()
{
ExecuteScript ("uberloot", OBJECT_SELF);
ExecuteScript ("uberloot", OBJECT_SELF);
ExecuteScript ("uberloot", OBJECT_SELF);
int nDiceRoll = d100(1);
if(nDiceRoll <= 10)
{
CreateItemOnObject("baronvondoom1", OBJECT_SELF, 1);
}
else if(nDiceRoll <= 20)
{
CreateItemOnObject("baronvondoom2", OBJECT_SELF, 1);
}
else if(nDiceRoll <= 30)
{
CreateItemOnObject("baronvondoom3", OBJECT_SELF, 1);
}
ExecuteScript("prc_npc_death", OBJECT_SELF);
ExecuteScript("prc_pwondeath", OBJECT_SELF);
}