Method SpellAbsorptionUnlimitedCheck
SpellAbsorptionUnlimitedCheck(NwGameObject, NwSpell?, SpellSchool?, int?, bool)
Performs a spell absorption check for unlimited spell absorption effects (e.g. Globe of invulnerability).
public bool SpellAbsorptionUnlimitedCheck(NwGameObject target, NwSpell? spell = null, SpellSchool? spellSchool = null, int? spellLevel = null, bool feedback = true)
Parameters
targetNwGameObjectThe target creature of the spell.
spellNwSpellThe spell to use for the check. If null, will auto-detect based on the current running spell script.
spellSchoolSpellSchool?The spell school to check for. If null, uses the default spell school from the spell parameter.
spellLevelint?The spell level. If null, uses the spell level from the spell parameter using the creature's caster class.
feedbackboolIf true, will show feedback for the spell absorption check.
Returns
- bool
True if the target successfully absorbed the spell, otherwise false.