Morrowind Mod:XGetCharge

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

A function added by MWSE.

XGetCharge returns the current charge on a 'cast when used' or 'cast when strikes' enchanted item. Constant effect and non-enchanted items return 0.

Syntax[edit]

charge (float): ref->xGetCharge

Example[edit]

long ref
float charge

setx charge to ref->xGetCharge

See Also[edit]

xGetOwner
xGetWeight
xGetValue
xGetQuality
xGetCondition
xGetMaxCondition
xGetEncumb
xGetMaxCharge
xSetValue
xSetWeight
xSetQuality
xSetCondition
xSetMaxCondition
xSetCharge
xSetMaxCharge