Re-added arcane & divine marker feats.

Re-added arcane & divine marker feats.  Fixed broken hamatula summon.  Removed old culled content.
This commit is contained in:
Jaysyn904
2024-03-27 21:37:18 -04:00
parent 1e4d84338a
commit aa50c6b6ec
214 changed files with 46752 additions and 46482 deletions

View File

@@ -385,7 +385,6 @@ int GenasaiFocus()
return FALSE;
}*/
int VileFeats()
{
if(GetHasFeat(FEAT_VILE_DEFORM_OBESE) && GetHasFeat(FEAT_VILE_DEFORM_GAUNT))
@@ -1907,8 +1906,8 @@ int ReserveFeats()
int nClass = GetPrimarySpellcastingClass(oPC);
int nLevel = GetLevelByClass(nClass, oPC);
if (GetIsDivineClass(nClass, oPC)) nLevel += GetDivinePRCLevels(oPC);
else if (GetIsArcaneClass(nClass, oPC)) nLevel += GetArcanePRCLevels(oPC);
if (GetIsDivineClass(nClass, oPC)) nLevel += GetDivinePRCLevels(oPC, nClass);
else if (GetIsArcaneClass(nClass, oPC)) nLevel += GetArcanePRCLevels(oPC, nClass);
int nSpellLevelKnown = GetMaxSpellLevelForCasterLevel(nClass, nLevel);

File diff suppressed because it is too large Load Diff

View File

@@ -1523,6 +1523,7 @@ void main()
object oSkin = GetPCSkin(oPC);
SetLocalInt(oPC, "PRC_PrereqFMM", 1);
SetLocalInt(oPC, "PRC_PrereqEKnight", 1);
// Initialize all the variables.
string sVariable, sCount;
@@ -1582,7 +1583,7 @@ void main()
if (!bFirstDivClassFound &&
GetPrimaryDivineClass(oPC) == nClass)
{
nLevel += GetDivinePRCLevels(oPC);
nLevel += GetDivinePRCLevels(oPC, nClass);
bFirstDivClassFound = TRUE;
}
int nAbility = GetAbilityScoreForClass(nClass, oPC);
@@ -1596,6 +1597,8 @@ void main()
SetLocalInt(oPC, "PRC_DivSpell"+IntToString(nSpellLevel), 0);
if(nSpellLevel > nDivHighest)
nDivHighest = nSpellLevel;
// if(DEBUG) DoDebug("Divine Prereq Variable " + IntToString(nSpellLevel) +": " + IntToString(GetLocalInt(oPC, "PRC_DivSpell"+IntToString(nSpellLevel))), oPC);
// if(DEBUG) DoDebug("All Prereq Variable " + IntToString(nSpellLevel) +": " + IntToString(GetLocalInt(oPC, "PRC_AllSpell"+IntToString(nSpellLevel))), oPC);
}
}
}
@@ -1623,7 +1626,7 @@ void main()
if (!bFirstArcClassFound &&
(GetPrimaryArcaneClass(oPC) == nClass || nMonsterCaster))
{
nLevel += GetArcanePRCLevels(oPC);
nLevel += GetArcanePRCLevels(oPC, nClass);
bFirstArcClassFound = TRUE;
}
int nAbility = GetAbilityScoreForClass(nClass, oPC);
@@ -1643,6 +1646,8 @@ void main()
SetLocalInt(oPC, "PRC_ArcSpell"+IntToString(nSpellLevel), 0);
if(nSpellLevel > nArcHighest)
nArcHighest = nSpellLevel;
// if(DEBUG) DoDebug ("Arcane Prereq Variable " + IntToString(nSpellLevel) +": " + IntToString(GetLocalInt(oPC, "PRC_ArcSpell"+IntToString(nSpellLevel))), oPC);
// if(DEBUG) DoDebug ("All Prereq Variable " + IntToString(nSpellLevel) +": " + IntToString(GetLocalInt(oPC, "PRC_AllSpell"+IntToString(nSpellLevel))), oPC);
}
}
}
@@ -1688,7 +1693,7 @@ void main()
//if(DEBUG) DoDebug("Shadowcasting mystery level Prereq Variable " + IntToString(nSpellLevel) +": " + IntToString(GetLocalInt(oPC, "PRC_MystLevel"+IntToString(nSpellLevel))), oPC);
}
}
}// end while - loop over all 3 class slots
}// end while - loop over all 8 class slots
// special alignment requirements
reqAlignment(oPC);
@@ -1750,7 +1755,7 @@ void main()
reqCombatMedic(oPC);
// Truly massive debug message flood if activated.
/*if (DEBUG)
/* if (DEBUG)
{
string sPRC_AllSpell;
string sPRC_ArcSpell;
@@ -1776,5 +1781,5 @@ void main()
SendMessageToPC(oPC, sVariable + " is " + IntToString(GetLocalInt(oPC, sVariable)) + ".");
}
}*/
} */
}

View File

@@ -117,7 +117,6 @@ int ReducedSpellFailure(object oPC, object oArmor)
if(nAC < 4)
{
if(GetLevelByClass(CLASS_TYPE_BLADESINGER, oPC) > 5
|| GetLevelByClass(CLASS_TYPE_MINSTREL_EDGE, oPC)
|| (GetLevelByClass(CLASS_TYPE_BARD, oPC) && GetPRCSwitch(PRC_BARD_LIGHT_ARMOR_SPELLCASTING)))
{
int nASFArmor = checkASF(oArmor);