2025/09/07 Update

Added Amulet of Mighty Fists +1 thru +5.
Added Greenbound template.
Fixed Evolved & Paragon templates.
Updated several area names.
This commit is contained in:
Jaysyn904
2025-09-07 17:32:31 -04:00
parent 1771fadbad
commit 0b5b6912d2
54 changed files with 5367 additions and 176 deletions

View File

@@ -81,7 +81,10 @@ void main()
string sCurrentDate = SQLite_GetSystemDate();
string sMonthDay = GetSubString(sCurrentDate, 0, 5);
object oArea = GetArea(OBJECT_SELF);
object oArea = GetArea(OBJECT_SELF);
int bIsNatural = GetIsAreaNatural(oArea);
int bAboveGround = GetIsAreaAboveGround(oArea);
object oSkelly;
object oPC = GetFirstObjectInArea(oArea);
@@ -137,7 +140,7 @@ void main()
}
//:: Paragon Check
if (Random(9999) == 0)
if (Random(10000) == 0)
{
if(GetLocalInt(OBJECT_SELF, "TEMPLATE_PARAGON") < 1)
{
@@ -145,6 +148,37 @@ void main()
}
}
//:: Greenbound Check
if (bIsNatural && bAboveGround)
{
if (iRacial == RACIAL_TYPE_FEY
|| iRacial == RACIAL_TYPE_ANIMAL
|| iRacial == RACIAL_TYPE_BEAST
|| iRacial == RACIAL_TYPE_GIANT
|| iRacial == RACIAL_TYPE_VERMIN)
{
if (Random(1000) == 0)
{
if (GetLocalInt(OBJECT_SELF, "TEMPLATE_GREENBOUND") < 1)
{
ExecuteScript("make_greenbound", OBJECT_SELF);
}
else
{
if (DEBUG) DoDebug("prc_pwonspawn >> Greenbound Check: Creature already has the Greenbound template.");
}
}
}
else
{
if (DEBUG) DoDebug("prc_pwonspawn >> Greenbound Check: Invalid racial type for template.");
}
}
else
{
if (DEBUG) DoDebug("prc_pwonspawn >> Greenbound Check: Area must be natural & above ground.");
}
//:: Setup Evolved Undead
if(iRacial == RACIAL_TYPE_UNDEAD)
{