28 lines
551 B
Plaintext
28 lines
551 B
Plaintext
|
//:://////////////////////////////////////////////
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
ExecuteScript("uberloot", OBJECT_SELF);
|
||
|
ExecuteScript("prc_npc_death", OBJECT_SELF);
|
||
|
ExecuteScript("prc_pwondeath", OBJECT_SELF);
|
||
|
|
||
|
int nDiceRoll = d100(1);
|
||
|
if(nDiceRoll <= 3)
|
||
|
{
|
||
|
CreateItemOnObject("TowerAxe", OBJECT_SELF, 1);
|
||
|
}
|
||
|
else if(nDiceRoll <= 6)
|
||
|
{
|
||
|
CreateItemOnObject("SharpZombieBone", OBJECT_SELF, 1);
|
||
|
}
|
||
|
else if(nDiceRoll <= 9)
|
||
|
{
|
||
|
CreateItemOnObject("1Ring", OBJECT_SELF, 1);
|
||
|
}
|
||
|
else if(nDiceRoll <= 10)
|
||
|
{
|
||
|
CreateItemOnObject("tgcloak", OBJECT_SELF, 1);
|
||
|
}
|
||
|
}
|
||
|
|