27 lines
570 B
Plaintext
27 lines
570 B
Plaintext
|
//:://////////////////////////////////////////////
|
||
|
//::// loicet LEWT
|
||
|
//:://///////////////////////////////////////////
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
|
||
|
ExecuteScript ("uberloot", OBJECT_SELF);
|
||
|
|
||
|
int nDiceRoll = d100(1);
|
||
|
if(nDiceRoll <= 5)
|
||
|
{
|
||
|
CreateItemOnObject("loicet1", OBJECT_SELF, 1);
|
||
|
}
|
||
|
else if(nDiceRoll <= 10)
|
||
|
{
|
||
|
CreateItemOnObject("loicet2", OBJECT_SELF, 1);
|
||
|
}
|
||
|
else if(nDiceRoll <= 15)
|
||
|
{
|
||
|
CreateItemOnObject("loicet3", OBJECT_SELF, 1);
|
||
|
}
|
||
|
ExecuteScript("prc_npc_death", OBJECT_SELF);
|
||
|
ExecuteScript("prc_pwondeath", OBJECT_SELF);
|
||
|
}
|
||
|
|