Will usually miss: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
mNo edit summary
imported>Bale
mNo edit summary
 
(One intermediate revision by one other user not shown)
Line 5: Line 5:
FunctionPage|
FunctionPage|
name={{#var:name}}|
name={{#var:name}}|
function_category=In-combat Consulting|


function1={{Function|
function1={{Function|
Line 22: Line 21:
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.|
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.|
}}
}}
{{RFI|Is this correct (will you miss it), or is it the other way around?}}
 
[[Category:In-combat Consulting]]

Latest revision as of 22:26, 21 May 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.