Run combat
needs(code_samples);
Function Syntax
buffer run_combat()
Proceeds to run a combat using your current KoLmafia settings. This function returns the text of every round of combat. For use with visit_url() to handle combats that are initiated during a page load.
See Also
Special
Will return the text of the last combat encounter when called independently of a fight page.
Attention KoLmafia Experts!
We need your help; some details of this function's operation are unknown or unclear.
The following specific questions have been raised:
- Does it return all of the fight text, or just the last round?
- Any further tips on how this should actually be used, and when?