raorn
Member
This script is a rewrite of stationary combat buttons script written by miser.
You will need:
relay/fight.ash - main wrapper, you need to edit this script to enable/disable additional fight.php overrides.
relay/fight_buttons.ash - the script itself.
lib/fight_helper.ash - helper library for damage estimates and stuff. See comments inside.
data/combatskills.txt - list of combat skills. Data files are just a bit easier to maintain.
lib/scriptproperty.ash and relay/script_settings.ash - personal script settings library and UI.
lib/html.ash - simple HTML helpers.
Visit javascript:void(mainpane.location="script_settings.php"); or javascript:void(mainpane.location="fight_buttons.php"); in your relay browser to see some configuration options.
Update 2008.02.19 10:15 UTC: fight_buttons.ash and fight_helper.ash - bugfixes, no new features.
Update 2008.02.19 22:45 UTC: fight_helper.ash - added monster attack information, fight_buttons.ash - unknown_base_damage renamed to will_surely_miss.
Update 2008.02.24 14:05 UTC: fight_buttons.ash and fight_helper.ash updated for recent RuntimeLibrary changes, support for arbitrary actions (steal, jiggle, etc...)
Update 2008.02.28 20:05 UTC: fight_helper.ash - fixed bug in monster defense calculation.
Update 2008.03.02 13:00 UTC: fight_helper.ash - fixed ranged weapon hit chance calculation, fight_buttons.ash - damage range display issues.
Update 2008.03.15 13:05 UTC: Massive update - configuration UI. Download more leet screeptz.
fight_helper.ash - Disco (Crossbow) Fever changes, support for in-combat ML modifiers, report hit chance when calculating possible damage. fight_buttons.ash - "work like KoLmafia" mode. In this mode it's just KoLmafia's fight buttons, with damage estimates and total number of 11 configurable skills which can be autofilled. Check it's configuration page. combatskills.txt - CLEESH, Indigestion, Noodles and MoxMan no longer configurable and added if available.
Update 2008.04.16 10:55 UTC: fight_helper.ash, fight_buttons.ash and combatskills.txt updated for new Pastamancer spells.
Update 2008.04.20 20:15 UTC: fight_helper.ash - honor +ML modifiers when fighting known monsters with unknown stats.
Update 2008.06.10 20:55 UTC: June IotM support.
Update 2008.08.10 09:00 UTC: fight_helper.ash - updated Pastamancer spell damage caps, fight_buttons.ash - allow use of "script" and "jiggle" in bird form, Pastamancer combat ghost support.
You will need:
relay/fight.ash - main wrapper, you need to edit this script to enable/disable additional fight.php overrides.
relay/fight_buttons.ash - the script itself.
lib/fight_helper.ash - helper library for damage estimates and stuff. See comments inside.
data/combatskills.txt - list of combat skills. Data files are just a bit easier to maintain.
lib/scriptproperty.ash and relay/script_settings.ash - personal script settings library and UI.
lib/html.ash - simple HTML helpers.
Visit javascript:void(mainpane.location="script_settings.php"); or javascript:void(mainpane.location="fight_buttons.php"); in your relay browser to see some configuration options.
Update 2008.02.19 10:15 UTC: fight_buttons.ash and fight_helper.ash - bugfixes, no new features.
Update 2008.02.19 22:45 UTC: fight_helper.ash - added monster attack information, fight_buttons.ash - unknown_base_damage renamed to will_surely_miss.
Update 2008.02.24 14:05 UTC: fight_buttons.ash and fight_helper.ash updated for recent RuntimeLibrary changes, support for arbitrary actions (steal, jiggle, etc...)
Update 2008.02.28 20:05 UTC: fight_helper.ash - fixed bug in monster defense calculation.
Update 2008.03.02 13:00 UTC: fight_helper.ash - fixed ranged weapon hit chance calculation, fight_buttons.ash - damage range display issues.
Update 2008.03.15 13:05 UTC: Massive update - configuration UI. Download more leet screeptz.
fight_helper.ash - Disco (Crossbow) Fever changes, support for in-combat ML modifiers, report hit chance when calculating possible damage. fight_buttons.ash - "work like KoLmafia" mode. In this mode it's just KoLmafia's fight buttons, with damage estimates and total number of 11 configurable skills which can be autofilled. Check it's configuration page. combatskills.txt - CLEESH, Indigestion, Noodles and MoxMan no longer configurable and added if available.
Update 2008.04.16 10:55 UTC: fight_helper.ash, fight_buttons.ash and combatskills.txt updated for new Pastamancer spells.
Update 2008.04.20 20:15 UTC: fight_helper.ash - honor +ML modifiers when fighting known monsters with unknown stats.
Update 2008.06.10 20:55 UTC: June IotM support.
Update 2008.08.10 09:00 UTC: fight_helper.ash - updated Pastamancer spell damage caps, fight_buttons.ash - allow use of "script" and "jiggle" in bird form, Pastamancer combat ghost support.