32 lines
670 B
Plaintext
32 lines
670 B
Plaintext
|
//:://////////////////////////////////////////////
|
||
|
//::// Svatous LEWT
|
||
|
//:://///////////////////////////////////////////
|
||
|
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
|
||
|
ExecuteScript ("uberloot", OBJECT_SELF);
|
||
|
|
||
|
int nDiceRoll = d100(1);
|
||
|
if(nDiceRoll <= 9)
|
||
|
{
|
||
|
CreateItemOnObject("Svatous1", OBJECT_SELF, 1);
|
||
|
}
|
||
|
else if(nDiceRoll <= 16)
|
||
|
{
|
||
|
CreateItemOnObject("Svatous2", OBJECT_SELF, 1);
|
||
|
}
|
||
|
else if(nDiceRoll <= 23)
|
||
|
{
|
||
|
CreateItemOnObject("Svatous3", OBJECT_SELF, 1);
|
||
|
}
|
||
|
else if(nDiceRoll <= 30)
|
||
|
{
|
||
|
CreateItemOnObject("Svatous4", OBJECT_SELF, 1);
|
||
|
}
|
||
|
ExecuteScript("prc_npc_death", OBJECT_SELF);
|
||
|
ExecuteScript("prc_pwondeath", OBJECT_SELF);
|
||
|
}
|
||
|
|