happyleavesaoc/aoc-mgz

Summary reports wrong starting age

Closed this issue · 1 comments

Collecting Summary on a regular ranked 1v1 RM match returns 'starting_age': (2, 'castle') which is obviously wrong.

Version: (<Version.DE: 21>, 'VER 9.4', 20.06, 5)

AgeIIDE_Replay_85017375.zip

Using the latest version of aoc-mgz from pip.

DE uses a different age enumeration, it seems. In AoC, 2 is castle but in DE, 4 is castle, etc. I would like to keep the returned IDs consistent so for now, in 2f6e5d9, I've remapped the DE IDs by subtracting 2.