Will usually miss: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
Created page with '{{ #vardefine:name|will_usually_miss}}{{ #vardefine:return_type|boolean}}{{ FunctionPage| name={{#var:name}}| function_category=In-combat Consulting| function1={{Function| name…'
 
imported>StDoodle
mNo edit summary
Line 14: Line 14:
}}|
}}|


function_description=Returns true if your character would connect (hit your opponent) more than half of the time when attacking with your weapon, and false otherwise. Calculations are based on what KoLmafia knows about monster level adjustments.|
function_description=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.|


needscode=yes|
needscode=yes|

Revision as of 19:26, 10 March 2010

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

will_usually_dodge()

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.