27 lines
615 B
Plaintext
27 lines
615 B
Plaintext
|
//:://////////////////////////////////////////////
|
||
|
//::// Bosh LEWT
|
||
|
//:://///////////////////////////////////////////
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
CreateItemOnObject("GoblinEar", OBJECT_SELF, 1);
|
||
|
ExecuteScript ("uberloot", OBJECT_SELF);
|
||
|
|
||
|
int nDiceRoll = d100(1);
|
||
|
if(nDiceRoll <= 10)
|
||
|
{
|
||
|
CreateItemOnObject("Bosh1", OBJECT_SELF, 1);
|
||
|
}
|
||
|
else if(nDiceRoll <= 20)
|
||
|
{
|
||
|
CreateItemOnObject("Bosh2", OBJECT_SELF, 1);
|
||
|
}
|
||
|
else if(nDiceRoll <= 30)
|
||
|
{
|
||
|
CreateItemOnObject("Bosh3", OBJECT_SELF, 1);
|
||
|
}
|
||
|
ExecuteScript("prc_npc_death", OBJECT_SELF);
|
||
|
ExecuteScript("prc_pwondeath", OBJECT_SELF);
|
||
|
}
|
||
|
|