In-combat Consulting: Difference between revisions
Jump to navigation
Jump to search
imported>Bale mNo edit summary |
imported>Bale 9644 my_effective_familiar |
||
Line 15: | Line 15: | ||
{{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.}} | ||
{{Flink|int|expected_damage|desc=Returns the amount of damage you are expected to take each round.}} | {{Flink|int|expected_damage|desc=Returns the amount of damage you are expected to take each round.}} | ||
{{flink|familiar|my_effective_familiar|desc=If familiar is mutable, this is its current form.}} | |||
[[Category:Scripting]] | [[Category:Scripting]] |
Revision as of 21:36, 18 July 2011
For general information on In-Combat Consulting, see Consult Scripts
buffer attack()
buffer steal()
buffer runaway()
buffer throw_item( item )
buffer throw_items( item, item )
These five functions return the html response from sending the appropriate url request for the associated action while in battle.
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.
element monster_element()
Returns the element that the monster is aligned with.
int monster_attack()
int monster_hp()
Returns the specified (current?) stat of the monster.
buffer get_ccs_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.
Returns the amount of damage you are expected to take each round.
familiar my_effective_familiar()
If familiar is mutable, this is its current form.