Method Polymorph
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
polymorphTypePolymorphTableEntryThe polymorph to apply.
lockedboolIf true, players cannot dismiss the polymorph effect.
unPolymorphVfxVfxType?The visual effect that will play when this polymorph is removed. Set to null to have no effect play.
spellAbilityModifierintSet a custom spell ability modifier for the 3 polymorph spells. Save DC is 10 + Innate spell level + this ability modifier.
spellAbilityCasterLevelintSet a custom caster level for the 3 polymorph spells.