In-combat Consulting: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
mNo edit summary
imported>StDoodle
mNo edit summary
Line 1: Line 1:
==This is probably where someone could post useful tips.==
For general information on In-Combat Consulting, see [[Custom_Combat_Script#Consult_Scripts|Consult Scripts]]
 
INFO HERE PLOX.


{{Flink|string|attack}}
{{Flink|string|attack}}

Revision as of 14:35, 3 March 2010

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

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.