Amon_PRC8/_module/nss/ls_zomtowerguard.nss

24 lines
459 B
Plaintext
Raw Permalink Normal View History

2025-04-03 19:00:46 -04:00
//:://////////////////////////////////////////////
void main()
{
ExecuteScript("uberloot", OBJECT_SELF);
ExecuteScript("xp_system", OBJECT_SELF);
int nDiceRoll = d100(1);
if(nDiceRoll <= 15)
{
CreateItemOnObject("TowerAxe", OBJECT_SELF, 1);
}
else if(nDiceRoll <= 30)
{
CreateItemOnObject("SharpZombieBone", OBJECT_SELF, 1);
}
else if(nDiceRoll <= 45)
{
CreateItemOnObject("1Ring", OBJECT_SELF, 1);
}
}