will_usually_miss()

From KoLMafia
Jump to: navigation, search
needs(code_samples);

Function Syntax

boolean will_usually_miss()

Returns true if your character would connect (hit your opponent) less than half of the time when attacking with your weapon, and false otherwise. Calculations are based on what KoLmafia knows about monster level adjustments.

See Also

More Information

For the current discussion of what's being tracked in-combat for monster level adjustments, please see this thread.

Special

This function uses the last monster encountered, so it will base its calculations on your previous fight if used outside of a consult script.