Removed Outsider check from Saint's maint. script

Removed Outsider check from Saint's maint. script.  Minor spell comment fixes.
This commit is contained in:
Jaysyn904
2024-08-19 13:00:24 -04:00
parent 76073f1e0e
commit 4915c49ece
5 changed files with 20 additions and 9 deletions

View File

@@ -128,8 +128,11 @@ int DoSpell(object oCaster, object oTarget, int nCasterLevel, int nEvent)
void main()
{
//:: Check the Spellhook
if (!X2PreSpellCastCode()) return;
PRCSetSchool(SPELL_SCHOOL_TRANSMUTATION);
//:: Set the Spell School
PRCSetSchool(GetSpellSchool(PRCGetSpellId()));
object oCaster = OBJECT_SELF;
object oTarget = PRCGetSpellTargetObject();
@@ -154,5 +157,6 @@ void main()
DecrementSpellCharges(oCaster);
}
}
//:: Unset the Spell school
PRCSetSchool();
}