Difference between revisions of "Will usually dodge"

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
(Created page with '{{ #vardefine:name|will_usually_dodge}}{{ #vardefine:return_type|boolean}}{{ FunctionPage| name={{#var:name}}| function_category=In-combat Consulting| function1={{Function| nam…')
 
imported>Bale
m
 
(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 dodge 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_dodge()

Returns true if your character would dodge an attack from your opponent more than half the time, and false otherwise. Calculations are based on what KoLmafia knows about monster level adjustments.

See Also

will_usually_miss()

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.