41 lines
894 B
Plaintext
41 lines
894 B
Plaintext
|
//::///////////////////////////////////////////////
|
||
|
//:: Name
|
||
|
//:: FileName
|
||
|
//:: Copyright (c) 2001 Bioware Corp.
|
||
|
//:://////////////////////////////////////////////
|
||
|
/*
|
||
|
|
||
|
*/
|
||
|
//:://////////////////////////////////////////////
|
||
|
//:: Created By:
|
||
|
//:: Created On:
|
||
|
//:://////////////////////////////////////////////
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
|
||
|
ExecuteScript ("uberloot", OBJECT_SELF);
|
||
|
|
||
|
int nDiceRoll = d100(1);
|
||
|
if(nDiceRoll <= 45)
|
||
|
{
|
||
|
CreateItemOnObject("findol", OBJECT_SELF, 1);
|
||
|
}
|
||
|
else if(nDiceRoll <= 60)
|
||
|
{
|
||
|
CreateItemOnObject("klindar", OBJECT_SELF, 1);
|
||
|
}
|
||
|
else if(nDiceRoll <= 80)
|
||
|
{
|
||
|
CreateItemOnObject("staffofalsephius", OBJECT_SELF, 1);
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
CreateItemOnObject("gemmedbelt", OBJECT_SELF, 1);
|
||
|
}
|
||
|
int nBookRoll = d100(1);
|
||
|
if(nBookRoll <= 40)
|
||
|
{ CreateObject(OBJECT_TYPE_CREATURE, "possessedtome", GetLocation(OBJECT_SELF), TRUE);}
|
||
|
}
|
||
|
|