Combat rate modifier

From Kolmafia
Revision as of 23:04, 28 February 2010 by imported>Grotfang (Conform to template)
Jump to navigation Jump to search



Function Syntax

float combat_rate_modifier()

Returns the current percentage change on combat frequency including equipment and effects.

Code Samples

Checks that your combat frequency modifier is positive (for example, before adventuring in the Purple Light District).

boolean is_combat_positive() {
   if(combat_rate_modifier() > 0) {
      return true;
   }
   return false;
}

See Also

appearance_rates()

Special

Returns 0 when not logged in.