Monster level adjustment

From Kolmafia
Revision as of 19:58, 9 May 2009 by imported>MapleMario (New page: '''monster_level_adjustment()''' Returns your current +ML, including any MCDs. Example: <p><pre># Script that tries to figure out if it's better to use Volley or Brero # for a certain are...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

monster_level_adjustment() Returns your current +ML, including any MCDs.

Example:

# Script that tries to figure out if it's better to use Volley or Brero
# for a certain area's ML (assuming that your volley and 'brero are both 20 lbs.)

boolean better_to_use_brero(int ml_being_tested)
{

  int ml_modifier = monster_level_adjustment();
  if ((ml_being_tested + ml_modifier) >= 85) return true;
  return false;

}