Morrowind Mod:XAddSpell

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

A function added by MWSE.

xAddSpell is a wrapper for the original AddSpell to take variables.

Syntax[edit]

ref->xAddSpell spellid (string) count (long)

Example[edit]

long pcRef

Setx pcRef to xGetRef "Player"
pcRef->xAddSpell "frostbite" 1

See Also[edit]

xInventory
xNextStack
xContentList
xAddItem
xRemoveItem
xHasItemEquipped
xEquip
xDrop
xRemoveSpell