In-combat Consulting: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
No edit summary
imported>StDoodle
mNo edit summary
Line 8: Line 8:
{{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|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|element|monster_attack_element|desc=Returns the element that the monster attacks with.}}
{{Flink|element|monster_attack_element|desc=Returns the element that the monster attacks with.}}
{{Flink|monster_defense_element|desc=Returns the element that the monster defends against.}}
{{Flink|element|monster_defense_element|desc=Returns the element that the monster defends against.}}
{{Flink|int|monster_attack}}
{{Flink|int|monster_attack}}
{{Flink|int|monster_defense}}
{{Flink|int|monster_defense}}

Revision as of 23:16, 2 March 2010

This is probably where someone could post useful tips.

INFO HERE PLOX.

string attack()

string runaway()

string use_skill( [int], skill )

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

string 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_attack_element()

Returns the element that the monster attacks with.

element monster_defense_element()

Returns the element that the monster defends against.

int monster_attack()

int monster_defense()

int monster_hp()

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

string 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.