Amon_PRC8/_module/nss/ls_zombiecaptain.nss

24 lines
473 B
Plaintext
Raw 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 <= 10)
{
CreateItemOnObject("ZombieCaptain1", OBJECT_SELF, 1);
}
else if(nDiceRoll <= 20)
{
CreateItemOnObject("ZombieCaptain2", OBJECT_SELF, 1);
}
else if(nDiceRoll <= 30)
{
CreateItemOnObject("ZombieCaptain3", OBJECT_SELF, 1);
}
}