52 lines
1.3 KiB
Plaintext
52 lines
1.3 KiB
Plaintext
//:://////////////////////////////////////////////
|
|
//::// blackclaw LEWT
|
|
//:://///////////////////////////////////////////
|
|
|
|
void main()
|
|
{
|
|
|
|
ExecuteScript ("uberloot", OBJECT_SELF);
|
|
CreateItemOnObject("DragonsBlood", OBJECT_SELF, 1);
|
|
|
|
int nDiceRoll = d100(1);
|
|
if(nDiceRoll <= 10)
|
|
{
|
|
CreateItemOnObject("Blackclawstooth", OBJECT_SELF, 1);
|
|
}
|
|
else if(nDiceRoll <= 20)
|
|
{
|
|
CreateItemOnObject("Blackclawsclaw", OBJECT_SELF, 1);
|
|
}
|
|
else if(nDiceRoll <= 30)
|
|
{
|
|
CreateItemOnObject("blackclawscloak", OBJECT_SELF, 1);
|
|
}
|
|
else if(nDiceRoll <= 40)
|
|
{
|
|
CreateItemOnObject("Blackclaw4", OBJECT_SELF, 1);
|
|
}
|
|
else if(nDiceRoll <= 50)
|
|
{
|
|
CreateItemOnObject("Blackclaw5", OBJECT_SELF, 1);
|
|
}
|
|
else if(nDiceRoll <= 60)
|
|
{
|
|
CreateItemOnObject("Blackclaw6", OBJECT_SELF, 1);
|
|
}
|
|
else if(nDiceRoll <= 70)
|
|
{
|
|
CreateItemOnObject("Blackclaw7", OBJECT_SELF, 1);
|
|
}
|
|
else if(nDiceRoll <= 80)
|
|
{
|
|
CreateItemOnObject("Blackclaw8", OBJECT_SELF, 1);
|
|
}
|
|
else if(nDiceRoll <= 90)
|
|
{
|
|
CreateItemOnObject("Blackclaw9", OBJECT_SELF, 1);
|
|
}
|
|
else{CreateItemOnObject("DragonsBlood", OBJECT_SELF, 1);}
|
|
ExecuteScript("prc_npc_death", OBJECT_SELF);
|
|
ExecuteScript("prc_pwondeath", OBJECT_SELF);
|
|
}
|