Added 1:10000 chance to spawn a Paragon version of any creature

Added 1:10000 chance to spawn a Paragon version of any creature.  Full compile.  Updated release archive.
This commit is contained in:
Jaysyn904
2024-12-13 19:40:24 -05:00
parent b0a9d7abac
commit 99262f2dd9
10 changed files with 503 additions and 49 deletions

View File

@@ -135,6 +135,15 @@ void main()
{
nAveragePCLevel = 2;
}
//:: Paragon Check
if (Random(9999) == 0)
{
if(GetLocalInt(OBJECT_SELF, "TEMPLATE_PARAGON") < 1)
{
ExecuteScript("make_paragon", OBJECT_SELF);
}
}
//:: Setup Evolved Undead
if(iRacial == RACIAL_TYPE_UNDEAD)