38 lines
833 B
Plaintext
38 lines
833 B
Plaintext
|
//:://////////////////////////////////////////////
|
||
|
//::// Zeyria LEWT
|
||
|
//:://///////////////////////////////////////////
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
|
||
|
ExecuteScript ("uberloot", OBJECT_SELF);
|
||
|
|
||
|
int nDiceRoll = d100(1);
|
||
|
if(nDiceRoll <= 6)
|
||
|
{
|
||
|
CreateItemOnObject("SummonStaff1", OBJECT_SELF, 1);
|
||
|
}
|
||
|
else if(nDiceRoll <= 12)
|
||
|
{
|
||
|
CreateItemOnObject("SummonStaff2", OBJECT_SELF, 1);
|
||
|
}
|
||
|
else if(nDiceRoll <= 18)
|
||
|
{
|
||
|
CreateItemOnObject("Zeyria1", OBJECT_SELF, 1);
|
||
|
}
|
||
|
else if(nDiceRoll <= 24)
|
||
|
{
|
||
|
CreateItemOnObject("Zeyria2", OBJECT_SELF, 1);
|
||
|
}
|
||
|
else if(nDiceRoll <= 30)
|
||
|
{
|
||
|
CreateItemOnObject("Zeyria3", OBJECT_SELF, 1);
|
||
|
}
|
||
|
else{CreateItemOnObject("DragonsBlood", OBJECT_SELF, 1);}
|
||
|
|
||
|
ExecuteScript("prc_npc_death", OBJECT_SELF);
|
||
|
ExecuteScript("prc_pwondeath", OBJECT_SELF);
|
||
|
|
||
|
}
|
||
|
|