50 lines
1.2 KiB
Plaintext
50 lines
1.2 KiB
Plaintext
//:://////////////////////////////////////////////
|
|
//::// blackclaw LEWT
|
|
//:://///////////////////////////////////////////
|
|
|
|
void main()
|
|
{
|
|
|
|
ExecuteScript ("uberloot", OBJECT_SELF);
|
|
int nDiceRoll = d100(1);
|
|
if(nDiceRoll <= 4)
|
|
{
|
|
CreateItemOnObject("Blackclawstooth", OBJECT_SELF, 1);
|
|
}
|
|
else if(nDiceRoll <= 8)
|
|
{
|
|
CreateItemOnObject("Blackclawsclaw", OBJECT_SELF, 1);
|
|
}
|
|
else if(nDiceRoll <= 12)
|
|
{
|
|
CreateItemOnObject("blackclawscloak", OBJECT_SELF, 1);
|
|
}
|
|
else if(nDiceRoll <= 16)
|
|
{
|
|
CreateItemOnObject("Blackclaw4", OBJECT_SELF, 1);
|
|
}
|
|
else if(nDiceRoll <= 20)
|
|
{
|
|
CreateItemOnObject("Blackclaw5", OBJECT_SELF, 1);
|
|
}
|
|
else if(nDiceRoll <= 24)
|
|
{
|
|
CreateItemOnObject("Blackclaw6", OBJECT_SELF, 1);
|
|
}
|
|
else if(nDiceRoll <= 28)
|
|
{
|
|
CreateItemOnObject("Blackclaw7", OBJECT_SELF, 1);
|
|
}
|
|
else if(nDiceRoll <= 32)
|
|
{
|
|
CreateItemOnObject("Blackclaw8", OBJECT_SELF, 1);
|
|
}
|
|
else if(nDiceRoll <= 36)
|
|
{
|
|
CreateItemOnObject("Blackclaw9", OBJECT_SELF, 1);
|
|
}
|
|
else{CreateItemOnObject("DragonsBlood", OBJECT_SELF, 1);}
|
|
ExecuteScript("prc_npc_death", OBJECT_SELF);
|
|
ExecuteScript("prc_pwondeath", OBJECT_SELF);
|
|
}
|