Familiar weight: Difference between revisions
Jump to navigation
Jump to search
imported>Bale mNo edit summary |
imported>Ckb No edit summary |
||
Line 22: | Line 22: | ||
code= | code= | ||
<syntaxhighlight> | <syntaxhighlight> | ||
int fam_weight( familiar fam ) { | |||
return ( familiar_weight(fam) + weight_adjustment() ); | return ( familiar_weight(fam) + weight_adjustment() ); | ||
} | } |
Latest revision as of 02:32, 14 October 2016
Function Syntax
int familiar_weight(familiar fam )
- fam is the familiar type (e.g. Mosquito, not "Nos Feratu")
Returns the base weight of the specified familiar.
Code Samples
Checks to see how heavy a specified familiar is, including all weight-adjusting effects.
int fam_weight( familiar fam ) {
return ( familiar_weight(fam) + weight_adjustment() );
}
See Also
Special
Returns 0 when not logged in.