Morrowind Mod:XGetEnchantEffectInfo

The UESPWiki – Your source for The Elder Scrolls since 1995
Jump to: navigation, search

A deprecated function from the MWSE update by Merzasphor.

Note: This function is deprecated, and will be removed in the future! Use xGetEffectInfo instead.

Returns info about one of the effects of the given enchantId, -1 if the enchantId is invalid or the index is out of range [1, numEffects]. To determine the number of valid effects, call xGetEnchantInfo or xGetEnchant first.

Syntax[edit]

effectId (short) rangeType (long) area (long) duration (long) minMagnitude (long) maxMagnitude (long): xGetEnchantEffectInfo enchantId (string | string ref) effectIndex (short)

rangeType: 0 = SELF, 1 = TOUCH, 2 = TARGET

Example[edit]

short effect
long range
long area
long duration
long min
long max

setx effect range area duration min max to xGetEnchantEffectInfo "admonition_en" 2