Meat drop: Difference between revisions
Jump to navigation
Jump to search
imported>Heeheehee m Format-fixing. |
imported>Heeheehee m Changed category... I guess? |
||
Line 5: | Line 5: | ||
FunctionPage| | FunctionPage| | ||
name={{#var:name}}| | name={{#var:name}}| | ||
function_category= | function_category=Item Management| | ||
function1={{Function| | function1={{Function| |
Revision as of 07:30, 5 April 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 mob) {
int monster_drop = meat_drop(mob);
float adjust_drop = monster_drop * (meat_drop_modifier() / 100.0 + 1);
return adjust_drop;
}
See Also