In-combat Consulting: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
No edit summary
imported>Bale
dad_sea_monkee_weakness
 
(28 intermediate revisions by 9 users not shown)
Line 1: Line 1:
[http://wild-thing.burblers.info/ wild thing] [http://coppie-emilia.unfeeble.info/ coppie emilia] [http://frigidaire.indulger.info/ frigidaire] [http://downslip.info/index8_1000.html homepage] [http://era-magico.stroam.info/ era magico] [http://im-magic.stroam.info/ im magic] [http://indulger.info/ indulger.info] [http://misserve.info/index7_666.html homepage] [http://unfeeble.info/ unfeeble.info] [http://saints-row.downslip.info/ saints row] [http://banjo.stroam.info/ banjo] [http://garmin-street-pilot-2650.unfeeble.info/ garmin street pilot 2650] [http://www-belgacom-com.downslip.info/ www belgacom com] [http://gui.misserve.info/ gui] [http://twin-snakes.wrawler.info/ twin snakes] [http://cuffie-sennheiser-px-200.stroam.info/ cuffie sennheiser px 200] [http://lacie-250gb.wrawler.info/ lacie 250gb] [http://peanuter.misserve.info/ peanuter] [http://unfeeble.info/index6_250.html site] [http://apres-un-rive-domingo.wrawler.info/ apres un rive domingo] [http://www-tunez-con.unfeeble.info/ www tunez con] [http://misserve.info/index1_666.html site] [http://ps2-codes.batswing.info/ ps2 codes] [http://misserve.info/ misserve.info] [http://icn-510-navman-gold.downslip.info/ icn 510 navman gold] [http://frigo-no-frost-lg.downslip.info/ frigo no frost lg] [http://blue-in-the-face.indulger.info/ blue in the face] [http://card-reader-firewire.burblers.info/ card reader firewire] [http://indulger.info/index0_250.html index] [http://mesa-que-mas-atra.stroam.info/ mesa que mas atra] [http://www-yaho-com.indulger.info/ www yaho com] [http://rex-23s.wrawler.info/ rex 23s] [http://pink-floyd-at-pompei.burblers.info/ pink floyd at pompei] [http://notebook-toshiba-tecra-a3.downslip.info/ notebook toshiba tecra a3] [http://downslip.info/index7_250.html page] [http://golf-verde.misserve.info/ golf verde] [http://downslip.info/index5_666.html link] [http://sandra.burblers.info/ sandra] [http://oracol.wrawler.info/ oracol] [http://mena.batswing.info/ mena] [http://holy.downslip.info/ holy] [http://download-programma-mp3.unfeeble.info/ download programma mp3] [http://batswing.info/index1_666.html url] [http://lcd-thomson-27.burblers.info/ lcd thomson 27] [http://indulger.info/index2_250.html home] [http://aeg-microonde.downslip.info/ aeg microonde] [http://my-my-my.indulger.info/ my my my] [http://tomtom-go-400.wrawler.info/ tomtom go 400] [http://stroam.info/index5_666.html index] [http://toshiba-m200-745.wrawler.info/ toshiba m200 745] [http://www-sbt.batswing.info/ www sbt] [http://uzicko.downslip.info/ uzicko] [http://dollart.misserve.info/ dollart] [http://j-hendrix.stroam.info/ j hendrix] [http://cantalupo.stroam.info/ cantalupo] [http://vbs-freelink.stroam.info/ vbs freelink] [http://free-hard-sex.downslip.info/ free hard sex] [http://hub-usb-2-belkin.indulger.info/ hub usb 2 belkin] [http://peter-pan-on-ice.downslip.info/ peter pan on ice] [http://misserve.info/index2_666.html url] [http://yoshi-touch-go.unfeeble.info/ yoshi touch go] [http://hapland.downslip.info/ hapland] [http://aiptek-slimcam-4000.downslip.info/ aiptek slimcam 4000] [http://popup-purger-1.batswing.info/ popup purger 1] [http://indulger.info/index8_666.html page] [http://stroam.info/index1_666.html index] [http://burblers.info/index1_666.html page] [http://unfeeble.info/index2_250.html link] [http://d-12-feat-eminem-my-band-mp3.unfeeble.info/ d 12 feat eminem my band mp3] [http://n-57.stroam.info/ n 57] [http://indulger.info/ indulger.info] [http://this-love.unfeeble.info/ this love] [http://texto.misserve.info/ texto] [http://misserve.info/index6_666.html homepage] [http://ewasonnet.stroam.info/ ewasonnet] [http://i-like-yoy.wrawler.info/ i like yoy] [http://www-p-daddy-com.wrawler.info/ www p daddy com] [http://whirlpool-356.misserve.info/ whirlpool 356] [http://x700-512mb.unfeeble.info/ x700 512mb] [http://downslip.info/index0_666.html index] [http://lesbo-cerco.stroam.info/ lesbo cerco] [http://wrawler.info/index1_250.html home] [http://elena-pedron.burblers.info/ elena pedron] [http://bisex-sardegna.misserve.info/ bisex sardegna] [http://sex-wap.unfeeble.info/ sex wap] [http://toyota-ts.downslip.info/ toyota ts] [http://maurice-tanguy.unfeeble.info/ maurice tanguy] [http://speedy-feat-lumidee.downslip.info/ speedy feat lumidee] [http://guernesey.stroam.info/ guernesey] [http://download-scph-900.downslip.info/ download scph 900] [http://ccd-3.misserve.info/ ccd 3] [http://sex-wap.burblers.info/ sex wap] [http://nunca-imagine.misserve.info/ nunca imagine] [http://phnom-penh.batswing.info/ phnom penh] [http://stroam.info/index1_666.html index] [http://mcc-exe.unfeeble.info/ mcc exe] [http://mc500-jvc.wrawler.info/ mc500 jvc] [http://koss-ksc-50.burblers.info/ koss ksc 50] [http://nu-ma-nu-ma-iei.wrawler.info/ nu ma nu ma iei] [http://nuova-ford-focus.downslip.info/ nuova ford focus]
For general information on In-Combat Consulting, see [[Custom_Combat_Script#Consult_Scripts|Consult Scripts]]
== Part 6 - In-combat functions for consulting scripting ==
These functions are for use when handling a battle in a script using your custom combat settings. There is very little documentation of how to do this, and for most people these functions are useless.


<p><strong>string attack()</strong><br />
{{Flink|buffer|attack}}
<strong>string runaway()</strong><br />
{{Flink|buffer|steal}}
<strong>string use_skill(  skill touse )</strong><br />
{{Flink|buffer|runaway}}
<strong>string throw_itemitem tothrow )</strong><br />
{{Flink|buffer|throw_item|item}}
<strong>string throw_itemsitem tothrow1,  item tothrow2 )</strong><br />
{{Flink|buffer|throw_items|item|item|desc=These five functions return the html response from sending the appropriate url request for the associated action while in battle.}}
Returns a string containing the html response from sending the appropriate url request for the associated action while in battle.</
{{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|element|monster_element|desc=Returns the element that the monster is aligned with.}}
{{Flink|int|monster_attack}}
{{Flink|int|monster_defense}}
{{Flink|int|monster_hp}}
{{Flink|int|monster_initiative|desc=Returns the specified (current?) stat of the monster.}}
{{Flink|phylum|monster_phylum|desc=Returns the phylum of the monster.}}
{{Flink|buffer|get_ccs_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_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|familiar|my_effective_familiar|desc=If familiar is mutable, this is its current form.}}
{{flink|familiar|my_discomomentum|desc=Current value of disco momentum built up in combat by Disco Dancing as a Disco Bandit.}}
{{Flink|skill|stun_skill|desc=Character's skill to use for stunning a monster.}}
{{Flink|element|dad_sea_monkee_weakness|int|desc=Returns the elemental weakness of {{kolwiki|Dad Sea Monkee}} for a given round of combat.}}
[[Category:Scripting]]

Latest revision as of 05:10, 13 November 2014

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_defense()

int monster_hp()

int monster_initiative()

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

phylum monster_phylum()

Returns the phylum 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.

int expected_damage()

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.

familiar my_discomomentum()

Current value of disco momentum built up in combat by Disco Dancing as a Disco Bandit.

skill stun_skill()

Character's skill to use for stunning a monster.

element dad_sea_monkee_weakness( int )

Returns the elemental weakness of Dad Sea Monkee for a given round of combat.