2025/08/30 Update

Added the Repair Damage line of spells.
Stigmata is an activatable general feat.
Cleaned up old prepared caster lines in feat.2da & spells.2da.
Master Wand is an epic feat.
Updated Favoured Soul spell list.
Updated Sorcerer spell list.
Updated Dread Necromancer Advanced Learning list.
Updated fileends to support above changes.
This commit is contained in:
Jaysyn904
2025-08-29 16:23:15 -04:00
parent 79104964db
commit a61d514630
113 changed files with 153673 additions and 81209 deletions

View File

@@ -180,6 +180,24 @@ void RunImpactScript(object oPC, int nSpellID, int nEventType)
DeleteLocalInt(oPC, PRC_SPELLID_OVERRIDE);
}
//Returns true if the spell is one of the repair spells
int IsRepair(int nSpellID)
{
return ((nSpellID >= SPELL_REPAIR_MINOR_DAMAGE) && (nSpellID <= SPELL_REPAIR_CRITICAL_DAMAGE));
}
//Returns true if the spell is one of the mass repair spells
int IsMassRepair(int nSpellID)
{
return ((nSpellID >= SPELL_MASS_REPAIR_LIGHT_DAMAGE) && (nSpellID <= SPELL_MASS_REPAIR_CRITICAL_DAMAGE));
}
//Returns true if the spell is one of the mass inflict damage spells
int IsMassInflictDamage(int nSpellID)
{
return ((nSpellID >= SPELL_MASS_INFLICT_LIGHT_DAMAGE) && (nSpellID <= SPELL_MASS_INFLICT_CRITICAL_DAMAGE));
}
//Returns true if the spell is one of the cure spells
int IsCure(int nSpellID)
{