26 lines
502 B
Plaintext
26 lines
502 B
Plaintext
|
//:://////////////////////////////////////////////
|
||
|
|
||
|
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("Ksara1", OBJECT_SELF, 1);
|
||
|
}
|
||
|
else if(nDiceRoll <= 20)
|
||
|
{
|
||
|
CreateItemOnObject("Ksara2", OBJECT_SELF, 99);
|
||
|
}
|
||
|
else if(nDiceRoll <= 30)
|
||
|
{
|
||
|
CreateItemOnObject("Ksara3", OBJECT_SELF, 1);
|
||
|
}
|
||
|
}
|
||
|
|