mNo edit summary
mNo edit summary
 
Line 34: Line 34:
According to the eminent Valefort, CL 29 is not immune to Greater Dispel Magic, as the code sees a 40 v 40 check as a failure.  So, be forewarned!
According to the eminent Valefort, CL 29 is not immune to Greater Dispel Magic, as the code sees a 40 v 40 check as a failure.  So, be forewarned!


<nowiki>// Actual dispel roll for this effect
            // Actual dispel roll for this effect
             iRoll = d20() + nCasterlevel;
             iRoll = d20() + nCasterlevel;
             iDC = 11 + iEffectCasterLevel;
             iDC = 11 + iEffectCasterLevel;
Line 42: Line 42:
             {
             {
                 DispelSpellFromTarget(oTarget, iSpellId, nId, oCaster);
                 DispelSpellFromTarget(oTarget, iSpellId, nId, oCaster);
             }</nowiki>
             }


== See Also ==
== See Also ==
*[[Dispel magic]]
*[[Dispel magic]]

Latest revision as of 20:54, 16 January 2021

Dispel Magic, Greater
Spell Information
Spell level : Innate level: 6, Bard: 5, Cleric: 6, Druid: 6, Sorcerer/Wizard: 6, Other: Magic domain 5
School : Abjuration
Components : Verbal and Somatic
Range : Medium
Target/Area : Single or Large
Duration : Instantaneous
Save : None




Description

Dispel Magic, greater attempts to strip all the magical effects on the target. If used on an area then it attempts to remove the most powerful spell of each creature. The dispel check is 1d20 + 1 per caster level (to a maximum of +20) versus 11 + spell effect's caster level.

Notes

According to the eminent Valefort, CL 29 is not immune to Greater Dispel Magic, as the code sees a 40 v 40 check as a failure. So, be forewarned!

           // Actual dispel roll for this effect
           iRoll = d20() + nCasterlevel;
           iDC = 11 + iEffectCasterLevel;
           
           // The effect is dispelled
           if(iRoll >= iDC)
           {
               DispelSpellFromTarget(oTarget, iSpellId, nId, oCaster);
           }

See Also