Morrowind Mod:XSetMaxCondition

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

A function added by MWSE.

XSetMaxCondition sets the maxium condition for armor and weapons and maximum uses for lockpicks, probes, and repair tools. Returns 1 if successful, 0 if failed.

Syntax[edit]

success (long): ref->XSetMaxCondition condition (long)

Example[edit]

long ref
long condition

set condition to 11
ref->XSetMaxCondition condition 

See Also[edit]

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