27 lines
553 B
Plaintext
27 lines
553 B
Plaintext
//::///staingag
|
|
|
|
void main()
|
|
{
|
|
|
|
ExecuteScript ("uberloot", OBJECT_SELF);
|
|
ExecuteScript("prc_npc_death", OBJECT_SELF);
|
|
ExecuteScript("prc_pwondeath", OBJECT_SELF);
|
|
|
|
|
|
int nDiceRoll = d100(1);
|
|
if(nDiceRoll <= 10)
|
|
{
|
|
CreateItemOnObject("MithralEdgedKukri", OBJECT_SELF, 1);
|
|
}
|
|
else if(nDiceRoll <= 20)
|
|
{
|
|
CreateItemOnObject("SteelGloves", OBJECT_SELF, 1);
|
|
}
|
|
else if(nDiceRoll <= 30)
|
|
{
|
|
CreateItemOnObject("LavaSealedSword", OBJECT_SELF, 1);
|
|
}
|
|
else{CreateItemOnObject("DragonsBlood", OBJECT_SELF, 1);}
|
|
}
|
|
|