24 lines
473 B
Plaintext
24 lines
473 B
Plaintext
//:://////////////////////////////////////////////
|
|
|
|
void main()
|
|
{
|
|
|
|
ExecuteScript("uberloot", OBJECT_SELF);
|
|
ExecuteScript("xp_system", OBJECT_SELF);
|
|
|
|
int nDiceRoll = d100(1);
|
|
if(nDiceRoll <= 10)
|
|
{
|
|
CreateItemOnObject("ZombieCaptain1", OBJECT_SELF, 1);
|
|
}
|
|
else if(nDiceRoll <= 20)
|
|
{
|
|
CreateItemOnObject("ZombieCaptain2", OBJECT_SELF, 1);
|
|
}
|
|
else if(nDiceRoll <= 30)
|
|
{
|
|
CreateItemOnObject("ZombieCaptain3", OBJECT_SELF, 1);
|
|
}
|
|
}
|
|
|