Morrowind Mod:XGetSpellEffectInfo
The UESPWiki – Your source for The Elder Scrolls since 1995
< Mod / Morrowind: Morrowind Mod: MWSE
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 spellId, -1 if the spellId is invalid or the index is out of range [1, numEffects]. To determine the number of valid effects, call xGetSpellInfo or xSpellList first.
Syntax[edit]
effectId (short) skillId (short) attributeId (short) rangeType (long) area (long) duration (long) minMagnitude (long) maxMagnitude (long): xGetSpellEffectInfo spellId (string | string ref) effectIndex (short)
rangeType: 0 = SELF, 1 = TOUCH, 2 = TARGET
Example[edit]
short effect short skill short attrib long range long area long duration long min long max setx effect skill attrib range area duration min max to xGetSpellEffectInfo "trap_fire00" 1