DoSpellBreach(object, int, int, int)
Performs a spell breach; up to nTotal spells are removed and nSR spell resistance is lowered.
Maximum spell protections that will be stripped.
Spell resistance decrease value.
Spell origin Id. (Default: -1)
This function is the impact script for all breach spells. Applies visual effect, decreases the spell resistance and strips up to nTotal spell protections from list defined in GetSpellBreachProtection function. The spell resistance decrease is an extraordinary effect and therefore cannot be dispelled.
This function is not custom content compatible.
#include " nw_i0_spells "
author: ShaDoOoW, editors: Mistress, Kolyana