Table of Contents

Method IsImmuneTo

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

IsImmuneTo(ImmunityType, NwGameObject?)

Gets whether this creature has a specific immunity.

public bool IsImmuneTo(ImmunityType immunityType, NwGameObject? verses = null)

Parameters

immunityType ImmunityType

The immunity type to check.

verses NwGameObject

If specified, the race and alignment of verses will be considered when determining immunities.

Returns

bool

True if the creature has the specified immunity, otherwise false.