34 lines
791 B
Plaintext
34 lines
791 B
Plaintext
//:://////////////////////////////////////////////
|
|
//::// Penthrax LEWT
|
|
//:://///////////////////////////////////////////
|
|
|
|
void main()
|
|
{
|
|
|
|
ExecuteScript ("uberloot", OBJECT_SELF);
|
|
|
|
int nDiceRoll = d100(1);
|
|
if(nDiceRoll <= 7)
|
|
{
|
|
CreateItemOnObject("HideofPenthrax", OBJECT_SELF, 1);
|
|
}
|
|
else if(nDiceRoll <= 14)
|
|
{
|
|
CreateItemOnObject("HeartoftheGreatOak", OBJECT_SELF, 1);
|
|
}
|
|
else if(nDiceRoll <= 21)
|
|
{
|
|
CreateItemOnObject("PenthraxsScale", OBJECT_SELF, 1);
|
|
}
|
|
else if(nDiceRoll <= 28)
|
|
{
|
|
CreateItemOnObject("FangofPenthrax", OBJECT_SELF, 1);
|
|
}
|
|
else if(nDiceRoll <= 35)
|
|
{
|
|
CreateItemOnObject("PenthraxsRobe", OBJECT_SELF, 1);
|
|
}
|
|
ExecuteScript("prc_npc_death", OBJECT_SELF);
|
|
ExecuteScript("prc_pwondeath", OBJECT_SELF);
|
|
}
|