Hey everyone!
Recently I have been working on a couple scripts, and thought I would share my latest. It is still a slight work in progress, although with getting clogged with work from school, I feel like it'd be smarter to avoid procrastinating for the next bit :)
This script will recreate the Flash luck graphs (with % chance of taking a territory + armies lost) in UJS. The "analyze attack" window allows the customization of kill rates, luck modifier, rounding mode, and defending armies.
Installation:
You will need TamperMonkey (or an equivalent for whatever browser you use) to install/run the userscript. I won't go into too many details on this, as Muli's userscript thread explains it concisely:
https://www.warzone.com/Forum/106092-mulis-userscript-tidy-up-dashboard?Offset=0Once you have added TamperMonkey, you can install my userscript (Link below) and you will be all good to go. Please wait until the game has loaded before clicking the "Flash Analyze Attack" button (as the element I append the window to is not always loaded by the time the button appears).
TamperMonkey:
https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo?hl=enScript:
https://greasyfork.org/en/scripts/390496
At the moment I have implemented support for WR and SR. In terms of the options to set, you will need to input the kill rates/defending armies/luck modifier and WR vs. SR manually (although I have defaulted values for each). The script should work across all browsers (with only the UI being slightly varied) and will add a button to the menu bar upon getting into a game in which will open up the 'Analyze Attack' window.
If you have any additional suggestions or find bugs, feel free to send me a message. If you would like to suggest a different tool/script for me to make, also feel free to send me a message.
Edited 9/28/2019 03:30:31