28 lines
625 B
Plaintext
28 lines
625 B
Plaintext
|
//:://////////////////////////////////////////////
|
||
|
//::// Baggarok LEWT
|
||
|
//:://///////////////////////////////////////////
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
ExecuteScript("uberloot", OBJECT_SELF);
|
||
|
ExecuteScript("ls_tomehigh", OBJECT_SELF);
|
||
|
|
||
|
|
||
|
int nDiceRoll = d100(1);
|
||
|
if(nDiceRoll <= 10)
|
||
|
{
|
||
|
CreateItemOnObject("Sshegurka1", OBJECT_SELF, 1);
|
||
|
}
|
||
|
else if(nDiceRoll <= 20)
|
||
|
{
|
||
|
CreateItemOnObject("Sshegurka2", OBJECT_SELF, 1);
|
||
|
}
|
||
|
else if(nDiceRoll <= 30)
|
||
|
{
|
||
|
CreateItemOnObject("Sshegurka3", OBJECT_SELF, 1);
|
||
|
}
|
||
|
ExecuteScript("prc_npc_death", OBJECT_SELF);
|
||
|
ExecuteScript("prc_pwondeath", OBJECT_SELF);
|
||
|
}
|
||
|
|