Morrowind Mod:XGetSpellInfo
The UESPWiki – Your source for The Elder Scrolls since 1995
< Mod / Morrowind: Morrowind Mod: MWSE
A function from MWSE update by Merzasphor.
Returns info about the given spellId, 0 if spellId is invalid.
Syntax[edit]
name (string ref) type (short) cost (short) numEffects (short) flags (long): xGetSpellInfo spellId (string | string ref)
type: 0 = SPELL, 1 = ABILITY, 2 = BLIGHT, 3 = DISEASE, 4 = CURSE, 5 = POWER
flags: (combination of these values) 1 = AUTOCALC, 2 = PCSTART, 4 = ALWAYSSUCCEEDS
Example[edit]
long name short type short cost short effects long flags setx name type cost effects flags to xGetSpellInfo "trap_fire00"