Table of Contents

Method Polymorph

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

Polymorph(PolymorphTableEntry, bool, VfxType?, int, int)

Creates a polymorph effect that changes the target into a different kind of creature.

public static Effect Polymorph(PolymorphTableEntry polymorphType, bool locked = false, VfxType? unPolymorphVfx = VfxType.ImpPolymorph, int spellAbilityModifier = -1, int spellAbilityCasterLevel = 0)

Parameters

polymorphType PolymorphTableEntry

The polymorph to apply.

locked bool

If true, players cannot dismiss the polymorph effect.

unPolymorphVfx VfxType?

The visual effect that will play when this polymorph is removed. Set to null to have no effect play.

spellAbilityModifier int

Set a custom spell ability modifier for the 3 polymorph spells. Save DC is 10 + Innate spell level + this ability modifier.

spellAbilityCasterLevel int

Set a custom caster level for the 3 polymorph spells.

Returns

Effect