Open main menu

UESPWiki β

Morrowind Mod:XAddSpell

< Mod / Morrowind: Morrowind Mod: MWSE

A function added by MWSE.

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

SyntaxEdit

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

ExampleEdit

long pcRef

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

See AlsoEdit