Files
Amon_PRC8/_module/nss/ls_norhamer.nss
Jaysyn904 baf444e0eb 2025/09/28 Update
More updates from @Behindflayer.
Full compile.
2025-09-28 10:34:01 -04:00

32 lines
656 B
Plaintext

//:://////////////////////////////////////////////
//::// Norhamer LEWT
//:://///////////////////////////////////////////
void main()
{
ExecuteScript ("uberloot", OBJECT_SELF);
int nDiceRoll = d100(1);
if(nDiceRoll <= 10)
{
CreateItemOnObject("Norhamer1", OBJECT_SELF, 1);
}
else if(nDiceRoll <= 20)
{
CreateItemOnObject("Norhamer2", OBJECT_SELF, 1);
}
else if(nDiceRoll <= 30)
{
CreateItemOnObject("Norhamer3", OBJECT_SELF, 1);
}
else
{
CreateItemOnObject("DragonsBlood", OBJECT_SELF, 1);
}
ExecuteScript("prc_npc_death", OBJECT_SELF);
ExecuteScript("prc_pwondeath", OBJECT_SELF);
}