Table of Contents

Method SpellFailure

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

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

failPct int

A positive number representing the percent chance of spell failing (1-100)

spellSchool SpellSchool

The spell school that is affected.

failureType SpellFailureType

Use SpellFailureType constants for different spell failure types.

Returns

Effect