31 lines
728 B
Plaintext
31 lines
728 B
Plaintext
//:://////////////////////////////////////////////
|
|
//::// Took LEWT
|
|
//:://////////////////////////////////////////////
|
|
|
|
void main()
|
|
{
|
|
CreateItemOnObject("GoblinEar", OBJECT_SELF, 1);
|
|
ExecuteScript ("uberloot", OBJECT_SELF);
|
|
|
|
int nDiceRoll = d100(1);
|
|
if(nDiceRoll <= 10)
|
|
{
|
|
CreateItemOnObject("Tookatac1", OBJECT_SELF, 1);
|
|
}
|
|
else if(nDiceRoll <= 20)
|
|
{
|
|
CreateItemOnObject("Tookatac2", OBJECT_SELF, 1);
|
|
}
|
|
else if(nDiceRoll <= 30)
|
|
{
|
|
CreateItemOnObject("Tookatac3", OBJECT_SELF, 1);
|
|
}
|
|
else if(nDiceRoll <= 40)
|
|
{
|
|
CreateItemOnObject("GlovesofSummon", OBJECT_SELF, 1);
|
|
}
|
|
ExecuteScript("prc_npc_death", OBJECT_SELF);
|
|
ExecuteScript("prc_pwondeath", OBJECT_SELF);
|
|
}
|
|
|