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

30 lines
716 B
Plaintext

//:://////////////////////////////////////////////
//::// Lubrass LEWT
//:://///////////////////////////////////////////
void main()
{
ExecuteScript ("uberloot", OBJECT_SELF);
int nDiceRoll = d100(1);
if(nDiceRoll <= 10)
{
CreateItemOnObject("Lubrass1", OBJECT_SELF, 1);
}
else if(nDiceRoll <= 20)
{
CreateItemOnObject("Lubrass2", OBJECT_SELF, 1);
}
else if(nDiceRoll <= 30)
{
CreateItemOnObject("Lubrass3", OBJECT_SELF, 1);
}
int nBookRoll = d100(1);
if(nBookRoll <= 40)
{ CreateObject(OBJECT_TYPE_CREATURE, "possessedspellbo", GetLocation(OBJECT_SELF), TRUE);}
ExecuteScript("prc_npc_death", OBJECT_SELF);
ExecuteScript("prc_pwondeath", OBJECT_SELF);
}