35 lines
852 B
Plaintext
35 lines
852 B
Plaintext
|
//:://////////////////////////////////////////////
|
||
|
//::// Ssleehasha LEWT
|
||
|
//:://////////////////////////////////////////////
|
||
|
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
|
||
|
ExecuteScript ("uberloot", OBJECT_SELF);
|
||
|
|
||
|
int nDiceRoll = d100(1);
|
||
|
if(nDiceRoll <= 10)
|
||
|
{
|
||
|
CreateItemOnObject("Ssleehasha1", OBJECT_SELF, 1);
|
||
|
CreateItemOnObject("ArustethHead", OBJECT_SELF, 1);
|
||
|
}
|
||
|
else if(nDiceRoll <= 20)
|
||
|
{
|
||
|
CreateItemOnObject("Ssleehasha2", OBJECT_SELF, 1);
|
||
|
CreateItemOnObject("ArustethHead", OBJECT_SELF, 1);
|
||
|
}
|
||
|
else if(nDiceRoll <= 30)
|
||
|
{
|
||
|
CreateItemOnObject("Ssleehasha3", OBJECT_SELF, 1);
|
||
|
CreateItemOnObject("ArustethHead", OBJECT_SELF, 1);
|
||
|
}
|
||
|
else if(nDiceRoll <= 50)
|
||
|
{
|
||
|
CreateItemOnObject("ArustethHead", OBJECT_SELF, 1);
|
||
|
}
|
||
|
ExecuteScript("prc_npc_death", OBJECT_SELF);
|
||
|
ExecuteScript("prc_pwondeath", OBJECT_SELF);
|
||
|
}
|
||
|
|