Files
Amon_PRC8/_module/nss/ls_alsephius.nss
Jaysyn904 8f76c0e5a5 2025/09/24 Update
Updates from @behindflayer
2025-09-24 16:04:25 -04:00

43 lines
985 B
Plaintext

//::///////////////////////////////////////////////
//:: Name
//:: FileName
//:: Copyright (c) 2001 Bioware Corp.
//:://////////////////////////////////////////////
/*
*/
//:://////////////////////////////////////////////
//:: Created By:
//:: Created On:
//:://////////////////////////////////////////////
void main()
{
ExecuteScript("uberloot", OBJECT_SELF);
ExecuteScript("prc_npc_death", OBJECT_SELF);
ExecuteScript("prc_pwondeath", 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);}
}