Meat drop modifier

From Kolmafia
Revision as of 23:29, 28 February 2010 by imported>Grotfang
Jump to navigation Jump to search



Function Syntax

float meat_drop_modifier()

Returns the percentage that you currently increase or decrease your meat drops as a result of equipment, effects (including familiars) and area modifiers (such as on the sea floor).

Code Samples

Uses the baseline meat drop to determine how much you can expect to get, on average, from a given monster.

float monster_drop() {
   int monster_drop = meat_drop($monster[alphabet giant]);
   float adjust_drop = monster_drop * (meat_drop_modifier() / 100);
   float expected_drop = monster_drop + adjust_drop;
   return expected_drop;
}

See Also

meat_drop()

Special

Returns 0 when not logged in.