27 lines
582 B
Plaintext
27 lines
582 B
Plaintext
//:://////////////////////////////////////////////
|
|
//::// Zok LEWT
|
|
//:://////////////////////////////////////////////
|
|
|
|
void main()
|
|
{
|
|
|
|
ExecuteScript ("uberloot", OBJECT_SELF);
|
|
|
|
int nDiceRoll = d100(1);
|
|
if(nDiceRoll <= 10)
|
|
{
|
|
CreateItemOnObject("scaleofzok", OBJECT_SELF, 1);
|
|
}
|
|
else if(nDiceRoll <= 20)
|
|
{
|
|
CreateItemOnObject("dragontailbelt", OBJECT_SELF, 1);
|
|
}
|
|
else if(nDiceRoll <= 30)
|
|
{
|
|
CreateItemOnObject("zoksfang", OBJECT_SELF, 1);
|
|
}
|
|
ExecuteScript("prc_npc_death", OBJECT_SELF);
|
|
ExecuteScript("prc_pwondeath", OBJECT_SELF);
|
|
}
|
|
|