Mae's synergy calculator for Heroes of the Realm
last updated 17th February 2015
if you're experiencing odd behaviour, try refreshing the following files to ensure you're not using cached versions: hotr_funcs.js, synergy_calc.js
waiting for calculator process
of : % complete
time elapsed: seconds
work in progress! note that I am prioritising functionality over appearance, but please either send feedback to my kongregate profile, username louster, or make a post in this thread
usage notes:
- each hero and collection name must be separated by a comma, period, tab or line break; all names are case-insensitive
- preceding a hero name with "s:", e.g. "s:tyon", specifies that the text must precisely match the hero's short display name
- preceding a hero name with "l:", e.g. "l:unrelenting tyon", does the same with the hero's full name
- all other hero names are considered to match either of those fields if they contain the given text (so "kyd" will match Kyderio, "buri" matches Playful Burihara, etc.)
- misspelled hero names, duplicate characters and other malformed data in the input text will be ignored and a warning displayed
- tier specification can be done before or after the hero name via e.g. "t2 ray", "ray (t4)", etc. (most variations of this will work)
- if more than two collections are entered, the calculator will pick the 'best' (in terms of total stats and resistances) two
notes on the algorithms:
- hero name entries will prioritise heroes with the highest tier and closest matching name text: "ray" will match Ray (T4) rather than Ray (T2), "rai" will match Rai (T3) rather than Training Yana (T3), etc.
- quirk/feature: in general the hero listed first will be listed first in all results - useful if you know for sure which hero you want to act first turn
- 'stats' calculations are made by multiplying a hero's base stats by that hero's synergy bonus, totalling, and adding other bonuses
- 'pruning' refers to methods of ignoring combinations of heroes that are certain to be worse than the best result the algorithm has already found; 'thorough' is the only mode that will calculate every possibility, and it is therefore much slower
- 'simple' mode prunes by synergy, while 'balanced' prunes by stats; which is faster depends a great deal on whether the best stats permutations also have the best synergy
some features I plan to add:
- speed up process by improving pruning - non-trivial!
- improving results display - maybe being able to highlight heroes, or specify "show me results with these heroes in these places"
- perhaps the ability to specify heroes by their game data ID
known issues:
- will fail horribly if your browser does not support html5!
- the 'fast' and 'balanced' modes' pruning algorithm - which is what makes them fast - means that the results produced will *not* be comprehensive for hero subsets with lower synergy
- currently unable to distinguish between the "Where are the Girls?" and "Where ARE the Girls?" collections, as they're identical apart from case - they will both be tested against
for reference, this calculator uses the following script files from hotr: hero_collection_info, herocard_info, unit_info and zodiac_info