32 lines
651 B
Plaintext
32 lines
651 B
Plaintext
//:://////////////////////////////////////////////
|
|
//::// Silas LEWT
|
|
//:://///////////////////////////////////////////
|
|
|
|
void main()
|
|
{
|
|
|
|
ExecuteScript ("uberloot", OBJECT_SELF);
|
|
|
|
int nDiceRoll = d100(1);
|
|
if(nDiceRoll <= 15)
|
|
{
|
|
CreateItemOnObject("Silas1", OBJECT_SELF, 1);
|
|
}
|
|
else if(nDiceRoll <= 30)
|
|
{
|
|
CreateItemOnObject("Silas2", OBJECT_SELF, 1);
|
|
}
|
|
else if(nDiceRoll <= 45)
|
|
{
|
|
CreateItemOnObject("Silas3", OBJECT_SELF, 1);
|
|
}
|
|
else
|
|
{
|
|
CreateItemOnObject("DragonsBlood", OBJECT_SELF, 1);
|
|
}
|
|
|
|
ExecuteScript("prc_npc_death", OBJECT_SELF);
|
|
ExecuteScript("prc_pwondeath", OBJECT_SELF);
|
|
}
|
|
|