39 lines
921 B
Plaintext
39 lines
921 B
Plaintext
//:://////////////////////////////////////////////
|
|
//::// Penthrax LEWT
|
|
//:://///////////////////////////////////////////
|
|
|
|
void main()
|
|
{
|
|
|
|
ExecuteScript ("uberloot", OBJECT_SELF);
|
|
CreateItemOnObject("DragonsBlood", OBJECT_SELF, 1);
|
|
|
|
int nDiceRoll = d100(1);
|
|
if(nDiceRoll <= 15)
|
|
{
|
|
CreateItemOnObject("HideofPenthrax", OBJECT_SELF, 1);
|
|
}
|
|
else if(nDiceRoll <= 30)
|
|
{
|
|
CreateItemOnObject("HeartoftheGreatOak", OBJECT_SELF, 1);
|
|
}
|
|
else if(nDiceRoll <= 45)
|
|
{
|
|
CreateItemOnObject("PenthraxsScale", OBJECT_SELF, 1);
|
|
}
|
|
else if(nDiceRoll <= 60)
|
|
{
|
|
CreateItemOnObject("FangofPenthrax", OBJECT_SELF, 1);
|
|
}
|
|
else if(nDiceRoll <= 75)
|
|
{
|
|
CreateItemOnObject("PenthraxsRobe", OBJECT_SELF, 1);
|
|
}
|
|
else
|
|
{
|
|
CreateItemOnObject("DragonsBlood", OBJECT_SELF, 1);
|
|
}
|
|
ExecuteScript("prc_npc_death", OBJECT_SELF);
|
|
ExecuteScript("prc_pwondeath", OBJECT_SELF);
|
|
}
|