Difference between revisions of "Will usually miss"

From Kolmafia
Jump to navigation Jump to search
imported>Heeheehee
m (Info checked, and it is correct, indeed. RFI removed.)
imported>Bale
m
 
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.|
 
}}
 
}}
 +
 +
[[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.