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

24 lines
459 B
Plaintext

//:://////////////////////////////////////////////
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);
}
}