Morrowind Mod:XRemoveSpell

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

A function added by MWSE.

xRemoveSpell is a wrapper for the original RemoveSpell to take variables.

Syntax[edit]

ref->xRemoveSpell spellid (string), count (long)

Example[edit]

long pcRef

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

See Also[edit]

xInventory
xNextStack
xContentList
xAddItem
xRemoveItem
xHasItemEquipped
xEquip
xDrop
xAddSpell