Amon_PRC8/_module/nss/ls_alsephius.nss
Jaysyn904 c5cffc37af Initial Commit
Initial Commit [v1.01]
2025-04-03 19:00:46 -04:00

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);}
}