2025/08/05 Update

Added Regenerate Ring spell.
Added Regenerate Circle spell.
Added Leonal's Roar spell.
Added Summon Nature's Ally I-IX spells.
Added Lion of Talisid PrC.
Added Favored of the Companions Feat.
Corrected Regenerate Serious Wounds level.
Corrected Regenerate Critical Wounds level.
Removed Baelnorn class and added Baelnorn template.
This commit is contained in:
Jaysyn904
2025-08-05 18:58:54 -04:00
parent 20281d284d
commit dd67019103
158 changed files with 93051 additions and 64695 deletions

View File

@@ -253,6 +253,11 @@ void Shifter(object oPC, int iArcSpell, int iDivSpell)
//Wild Shape qualifies
SetLocalInt(oPC, "PRC_PrereqShift", 0);
}
if (GetLevelByClass(CLASS_TYPE_LION_OF_TALISID) >= 3)
{
//Wild Shape qualifies
SetLocalInt(oPC, "PRC_PrereqShift", 0);
}
//These classes have appropriate alternate forms
if (GetLevelByClass(CLASS_TYPE_SHAMAN) >= 7)
{
@@ -279,12 +284,6 @@ void Shifter(object oPC, int iArcSpell, int iDivSpell)
//Elemental Form qualifies
SetLocalInt(oPC, "PRC_PrereqShift", 0);
}
//This is not strictly necessary because Witch gains Polymorph Self
//at an earlier level, but add it here anyway for completeness:
if (GetLevelByClass(CLASS_TYPE_WITCH) >= 13)
{
SetLocalInt(oPC, "PRC_PrereqShift", 0);
}
int nRace = GetRacialType(oPC);
//These races have appropriate alternate forms
@@ -679,6 +678,45 @@ void reqCombatMedic(object oPC)
}
}
void reqLionOfTalisid(object oPC)
{
//:: Get casting ability scores
int iWis = GetAbilityScore(oPC, ABILITY_WISDOM, TRUE);
int iInt = GetAbilityScore(oPC, ABILITY_INTELLIGENCE, TRUE);
//:: Check if the character knows Summon Nature's Ally II
int bKnowsSNA2 = PRCGetIsRealSpellKnown(SPELL_SUMMON_NATURES_ALLY_2, oPC);
//:: Archivist (INT-based)
if(iInt >= 12 && GetLevelByClass(CLASS_TYPE_ARCHIVIST) >= 3 && bKnowsSNA2)
{
SetLocalInt(oPC, "PRC_PrereqLoT", 0);
return;
}
//:: Druid (WIS-based)
if(iWis >= 12 && GetLevelByClass(CLASS_TYPE_DRUID) >= 3 && bKnowsSNA2)
{
SetLocalInt(oPC, "PRC_PrereqLoT", 0);
return;
}
//:: Ranger (WIS-based) <20> Rangers get 2nd-level spells at level 6
if(iWis >= 12 && GetLevelByClass(CLASS_TYPE_RANGER) >= 6 && bKnowsSNA2)
{
SetLocalInt(oPC, "PRC_PrereqLoT", 0);
return;
}
//:: Shaman (WIS-based)
if(iWis >= 12 && GetLevelByClass(CLASS_TYPE_SHAMAN) >= 3 && bKnowsSNA2)
{
SetLocalInt(oPC, "PRC_PrereqLoT", 0);
return;
}
}
void RedWizard(object oPC)
{
SetLocalInt(oPC, "PRC_PrereqRedWiz", 1);
@@ -1314,6 +1352,8 @@ void AlienistPreReqs(object oPC)
void AOTSPreReqs(object oPC)
{
if(DEBUG) DoDebug("prc_prereq >> AOTSPreReqs: Entering function.");
int iArcane = 0;
int iShadow = 0;
@@ -1334,6 +1374,7 @@ void AOTSPreReqs(object oPC)
if (PRCGetCasterLevel(oPC) > 4 || GetInvokerLevel(oPC) > 4 || GetShadowcasterLevel(oPC) > 4)
{
SetLocalInt(oPC, "PRC_PrereqAOTS", 0);
if(DEBUG) DoDebug("prc_prereq >> AOTSPreReqs: Unsetting varible to allow class.");
}
}
@@ -1884,6 +1925,7 @@ void main()
WildMageReq(oPC);
Witchborn(oPC);
reqCombatMedic(oPC);
reqLionOfTalisid(oPC);
// Truly massive debug message flood if activated.
/* if (DEBUG)