Difference between revisions of "Meat drop"
Jump to navigation
Jump to search
imported>Heeheehee (Small article, slightly modified from meat_drop_modifier()'s page.) |
(No difference)
|
Revision as of 03:58, 3 March 2010
Function Syntax
Returns the base meat drop of the monster specified by m.
Code Samples
Uses your current meat drop modifier to determine how much you can expect to get, on average, from a monster.
float monster_drop( $monster[Alphabet Giant] ) {
int monster_drop = meat_drop(m);
float adjust_drop = monster_drop * (meat_drop_modifier() / 100);
float expected_drop = monster_drop + adjust_drop;
return expected_drop;
}
See Also