Amon_PRC8/_module/nss/ls_kurbiskopf.nss

29 lines
645 B
Plaintext
Raw Permalink Normal View History

2025-04-03 19:00:46 -04:00
//:://////////////////////////////////////////////
//::// KurbisKopf LEWT
//:://///////////////////////////////////////////
void main()
{
ExecuteScript ("uberloot", OBJECT_SELF);
if((GetLocalInt(OBJECT_SELF, "NOLOOT") == 0))
{
int nDiceRoll = d100(1);
if(nDiceRoll <= 10)
{
CreateItemOnObject("KurbisKopf1", OBJECT_SELF, 1);
}
else if(nDiceRoll <= 20)
{
CreateItemOnObject("KurbisKopf2", OBJECT_SELF, 1);
}
else if(nDiceRoll <= 30)
{
CreateItemOnObject("KurbisKopf3", OBJECT_SELF, 1);
}
}
ExecuteScript("prc_npc_death", OBJECT_SELF);
ExecuteScript("prc_pwondeath", OBJECT_SELF);
}