|
https://bwcalc.com
I made a web app to calculate hits to kill and time to kill for units at all upgrade levels, including damage modifiers, hp and shield regen, burn damage, unit-specific upgrades and it is extremely accurate.
I'd like to add more things over time if people would use it, like # of medics healing, # SCVs repairing, estimations for splash damage, more buildings, spell damages.
If you have any feedback for changes or think you have found an error, please let me know.
edit May 12 2024: updated to add some unit information and a checkbox to show +/-% changes instead of raw numbers
edit May 13 2024: accuracy example, 2 Dragoons vs 2 carriers, 0.6 seconds or 1.76% variance. Extremely small variance for such a long engagement, units also have +/- a few frame randomness in attack animations: https://i.imgur.com/oXeo3f9.png
edit May 14 2024: added a checkbox for RANDOM miss chance. I'm going to be honest, it's random, like the game engine, which means it has chaotic results. On average it is approximately ~2x hits to kill with uphill miss chance, but honestly it's interesting to see the full range of randomness.
edit May 16 2024: created liquipedia page that is extremely detailed in how the calculations work and the limitations that exist BW Calculator
|
This is awesome. Thank you!
|
Yessirrr
|
Thank you. I added it to Liquipedia Tools
|
Arbiter needs 9999 or probably more attacks to kill a 2/3 Carrier. The more you know
|
On May 12 2024 17:33 [AS]Rattus wrote: Arbiter needs 9999 or probably more attacks to kill a 2/3 Carrier. The more you know And also firebat, who needs the same amount to kill a fully upgraded ultralisk
|
Nice!
Mischance calculations come to mind as another feature.
Also is this included:
The chance of an "air shot" is 1/256; that is, with the two units on equal elevation (including air units), a ranged unit's chance to hit is 99.609375%.
Keep up the great work! <3 <3 <3
|
On May 12 2024 17:33 [AS]Rattus wrote: Arbiter needs 9999 or probably more attacks to kill a 2/3 Carrier. The more you know
I had to test this one directly before because it broke my calculator. A no upgrade arbiter cannot kill a 2/3 carrier ever. Shield regens before arbiter hits. Armor and shield armor upgrades + base armor reduce damage below 0. Since the arbiter hits the shields, it does not deal the minimum hp damage of 0.5. So the carrier just goes 0 shields to 1 shields to 0 shields and the health bar never takes damage.
Anything that displays “9999” just means >1000 and I stop the calculations, just because it’s kind of meaningless at that point and I don’t want calculations to take forever!
|
This is seriously amazing, great job!
|
On May 12 2024 21:27 LUCKY_NOOB wrote: Nice!
Mischance calculations come to mind as another feature.
Also is this included:
The chance of an "air shot" is 1/256; that is, with the two units on equal elevation (including air units), a ranged unit's chance to hit is 99.609375%.
Keep up the great work! <3 <3 <3
Only problem with miss chance is it adds randomness to the calculation, i.e. every time you calculate it would be different. Like take Zealot vs Zergling, 3 hits to kill. Would I just 1/256 you press the calculation button and it says 4 hits instead? or always show 3 / 255 * 256 = 3.01 hits to kill? Maybe there's another way to add it but I'm not sure how to make it make sense.
Separately: I added unit info tables that show some basic info as well as a checkbox that lets you toggle between raw numbers and percent change I advise you ctrl+f5 on the website to update the formatting as I changed it a bit
|
Netherlands4634 Posts
Definitely not bother to include misses into calculations. Just add high ground, tree and regular miss chances as a note.
Btw do we even know if 2 back to back shots (1/256) can be misses? I wouldn't be surprised if Blizz added an exception that it cannot happen. In all my accumulated playing and watching I don't recall seeing it happen.
|
On May 13 2024 18:09 Peeano wrote: Definitely not bother to include misses into calculations. Just add high ground, tree and regular miss chances as a note.
Btw do we even know if 2 back to back shots (1/256) can be misses? I wouldn't be surprised if Blizz added an exception that it cannot happen. In all my accumulated playing and watching I don't recall seeing it happen.
This would make a little more sense, but it still isn't an exact calculation since missing is random, so the results could change every time you hit calculate (unless I just say the player misses every other hit). I do think I heard different doodads have different miss chances but I do not think that's documented anywhere, so I would only do the ~53.125% chance to hit on high ground.
|
|
On May 13 2024 23:57 MapleLeafSirup wrote: Haha Wraith vs Egg: 9999
9999 only means >1000, but I enjoy looking into these so I did. This actually appears to be an error based on the assumption that Eggs regenerate HP. It appears that Eggs and Cocoons do not regenerate health, in my testing just now, so that is a bug I need to fix. I had never tested it before.
Wraith should deal the games minimum 0.5 damage to an egg, meaning it will kill the egg in 400 hits.
This bug has been fixed
(Not related to the above reply) Edit: I added an example of the calculation accuracy to the main post, which is also here: https://i.imgur.com/oXeo3f9.png
|
is awesome32263 Posts
Pretty cool! Thanks for sharing
|
On May 12 2024 21:27 LUCKY_NOOB wrote: Nice!
Mischance calculations come to mind as another feature.
Also is this included:
The chance of an "air shot" is 1/256; that is, with the two units on equal elevation (including air units), a ranged unit's chance to hit is 99.609375%.
Keep up the great work! <3 <3 <3
On May 13 2024 18:09 Peeano wrote: Definitely not bother to include misses into calculations. Just add high ground, tree and regular miss chances as a note.
Btw do we even know if 2 back to back shots (1/256) can be misses? I wouldn't be surprised if Blizz added an exception that it cannot happen. In all my accumulated playing and watching I don't recall seeing it happen.
I added random miss chance checkbox, 136/256 per Damage It is fully random so results change every single time
|
Wow so cool man!! Love SC community they contribute so much.
Will there ever be an app version instead of a link/browser?
|
On May 15 2024 13:57 Cheesefome wrote: Wow so cool man!! Love SC community they contribute so much.
Will there ever be an app version instead of a link/browser?
Ironically, I made it a website because I assumed if I released a desktop app that everyone would assume it's malware or something! I don't really plan to release a desktop app because it'd be a struggle to maintain both, with the website I can push bug fixes really quickly (i.e. like when I found out that I had Eggs and Cocoons regenerating HP, but they do not). I'm also still intending to add a lot of features over time. I feel like a Desktop app would just make all of this harder & slower so it's not something I'm interested in doing
|
On May 15 2024 08:37 facecsgo wrote:Show nested quote +On May 12 2024 21:27 LUCKY_NOOB wrote: Nice!
Mischance calculations come to mind as another feature.
Also is this included:
The chance of an "air shot" is 1/256; that is, with the two units on equal elevation (including air units), a ranged unit's chance to hit is 99.609375%.
Keep up the great work! <3 <3 <3 Show nested quote +On May 13 2024 18:09 Peeano wrote: Definitely not bother to include misses into calculations. Just add high ground, tree and regular miss chances as a note.
Btw do we even know if 2 back to back shots (1/256) can be misses? I wouldn't be surprised if Blizz added an exception that it cannot happen. In all my accumulated playing and watching I don't recall seeing it happen. I added random miss chance checkbox, 136/256 per DamageIt is fully random so results change every single time
Amazing! Yeah it was a suggestion in the spirit of completeness. Not that it's the most important info in the world but it's a nice touch. <3
I even use Discord from my browser these days. Only point of a program (calling it an app is too new school for my taste lel) is to have extra feature or if Flash forbid the site goes down the service lives on in the community.
I added it to the Build Orders document:
https://docs.google.com/spreadsheets/d/1O0XEPA9ZxqkMsul7UjEt1wotvkBE1drB/edit?pli=1#gid=1989302709
Keep up the great work! <3
|
Really nice job! Thank you!
|
|
|
|