Monster level adjustment

From Kolmafia
Revision as of 00:01, 1 March 2010 by imported>Grotfang
Jump to navigation Jump to search



Function Syntax

int monster_level_adjustment()

Returns the cumulative total of all monster level adjustments from equipment, effects and area modifiers.

Code Samples

Checks to see if you should use a level 20 sombrero for a monster of level 60.

boolean better_to_use_brero() {
   int test = 60 + monster_level_adjustment();
   if(test >= 85) {
      return true;
   }
   return false;
}

See Also

current_mcd() | change_mcd()

Special

Return 0 when not logged in.