Weight adjustment: Difference between revisions
Jump to navigation
Jump to search
imported>Bale mNo edit summary |
imported>Ckb No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 20: | Line 20: | ||
code= | code= | ||
<syntaxhighlight> | <syntaxhighlight> | ||
int fam_weight( familiar fam ) { | |||
return ( familiar_weight(fam) + weight_adjustment() ); | return ( familiar_weight(fam) + weight_adjustment() ); | ||
} | } | ||
Line 29: | Line 29: | ||
special=Returns 0 when not logged in.| | special=Returns 0 when not logged in.| | ||
}} | }} | ||
[[Category:Your Character]] | [[Category:Your Character]] |
Latest revision as of 02:33, 14 October 2016
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.