Amon_PRC8/_module/nss/ls_topox.nss

26 lines
583 B
Plaintext
Raw Permalink Normal View History

2025-04-03 19:00:46 -04:00
//:://////////////////////////////////////////////
void main()
{
ExecuteScript ("uberloot", OBJECT_SELF);
ExecuteScript("prc_npc_death", OBJECT_SELF);
ExecuteScript("prc_pwondeath", OBJECT_SELF);
int nDiceRoll = d100(1);
if(nDiceRoll <= 10)
{
CreateItemOnObject("topoxsspine", OBJECT_SELF, 1);
}
else if(nDiceRoll <= 20)
{
CreateItemOnObject("topoxsshield", OBJECT_SELF, 1);
}
else if(nDiceRoll <= 30)
{
CreateItemOnObject("NW_IT_MRING018", OBJECT_SELF, 1);
}
else{CreateItemOnObject("DragonsBlood", OBJECT_SELF, 1);}
}