Difference between revisions of "In-combat Consulting"

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
m
imported>StDoodle
m
Line 1: Line 1:
 
For general information on In-Combat Consulting, see [[Custom_Combat_Script#Consult_Scripts|Consult Scripts]]
 
For general information on In-Combat Consulting, see [[Custom_Combat_Script#Consult_Scripts|Consult Scripts]]
  
{{Flink|string|attack}}
+
{{Flink|buffer|attack}}
{{Flink|string|runaway}}
+
{{Flink|buffer|runaway}}
{{Flink|string|use_skill|{{opt|int}}|skill|desc=Will loop the specified number of times using the specified skill, never reconsulting the script until the loop is complete.}}
+
{{Flink|buffer|use_skill|{{opt|int}}|skill|desc=Will loop the specified number of times using the specified skill, never reconsulting the script until the loop is complete.}}
{{Flink|string|throw_items|item|{{opt|item}}|desc=Returns a string containing the html response from sending the appropriate url request for the associated action while in battle.}}
+
{{Flink|buffer|throw_items|item|{{opt|item}}|desc=Returns a string containing the html response from sending the appropriate url request for the associated action while in battle.}}
 
{{Flink|element|monster_element|desc=Returns the element that the monster is aligned with.}}
 
{{Flink|element|monster_element|desc=Returns the element that the monster is aligned with.}}
 
{{Flink|int|monster_attack}}
 
{{Flink|int|monster_attack}}
 
{{Flink|int|monster_defense}}
 
{{Flink|int|monster_defense}}
 
{{Flink|int|monster_hp|desc=Returns the specified (current?) stat of the monster.}}
 
{{Flink|int|monster_hp|desc=Returns the specified (current?) stat of the monster.}}
{{Flink|string|get_css_action|int|desc=Returns the specified line from the CCS section appropriate for the monster currently being fought. [http://kolmafia.us/showthread.php?p=9705#post9705]}}
+
{{Flink|buffer|get_css_action|int|desc=Returns the specified line from the CCS section appropriate for the monster currently being fought. [http://kolmafia.us/showthread.php?p=9705#post9705]}}
 
{{Flink|boolean|will_usually_miss}}
 
{{Flink|boolean|will_usually_miss}}
 
{{Flink|boolean|will_usually_dodge|desc=Returns if you will normally miss or be missed in battle.}}
 
{{Flink|boolean|will_usually_dodge|desc=Returns if you will normally miss or be missed in battle.}}

Revision as of 18:45, 10 March 2010

For general information on In-Combat Consulting, see Consult Scripts

buffer attack()

buffer runaway()

buffer use_skill( [int], skill )

Will loop the specified number of times using the specified skill, never reconsulting the script until the loop is complete.

buffer throw_items( item, [item] )

Returns a string containing the html response from sending the appropriate url request for the associated action while in battle.

element monster_element()

Returns the element that the monster is aligned with.

int monster_attack()

int monster_defense()

int monster_hp()

Returns the specified (current?) stat of the monster.

buffer get_css_action( int )

Returns the specified line from the CCS section appropriate for the monster currently being fought. [1]

boolean will_usually_miss()

boolean will_usually_dodge()

Returns if you will normally miss or be missed in battle.