weight_adjustment()

From KoLMafia
Jump to: navigation, search

Function Syntax

int weight_adjustment()

Returns the cumulative total of all familiar weight adjustments from equipment, effects, passive skills, and area modifiers.

Code Samples

Checks to see how heavy a specified familiar is, including all weight-affecting effects.

int fam_weight( familiar fam ) {
   return ( familiar_weight(fam) + weight_adjustment() );
}

See Also

Special

Returns 0 when not logged in.