Method SpellFailure
SpellFailure(int, SpellSchool, SpellFailureType)
Creates an effect that inhibits spells.
public static Effect SpellFailure(int failPct, SpellSchool spellSchool = SpellSchool.General, SpellFailureType failureType = SpellFailureType.All)
Parameters
failPctintA positive number representing the percent chance of spell failing (1-100)
spellSchoolSpellSchoolThe spell school that is affected.
failureTypeSpellFailureTypeUse SpellFailureType constants for different spell failure types.