From dd015d3b3640fed0885fd94db78def42531b47d5 Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Mon, 21 Sep 2020 12:24:35 +0200 Subject: fix CM detection for new Skorvald logs The Sunqua Peak patch released on 2020-09-15 shifted fractals around (notably moving the old CMs to 98 & 99), which messed with the boss health in those fractals. As a result, the Skorvald CM detection (which relied on the health of Skorvald being higher in CM) was broken. This patch introduces a fallback mechanism which relies on the split-phase anomalies, as those are still different in the CM. It should be 100% accurate, as long as players actually make it to the split phase. Before that, we currently have to assume that the fight is non-CM, even if it's a log from a CM wiping before first split phase. There is some discussion in the Elite-Insights Discord here[1] about this change. [1]: https://discordapp.com/channels/456611641526845473/718866714527399976/755914037354692648 --- tests/challenge_motes.rs | 1 + tests/logs/skorvald-20200920.zevtc | Bin 0 -> 283875 bytes 2 files changed, 1 insertion(+) create mode 100644 tests/logs/skorvald-20200920.zevtc (limited to 'tests') diff --git a/tests/challenge_motes.rs b/tests/challenge_motes.rs index 9460483..f07eee1 100644 --- a/tests/challenge_motes.rs +++ b/tests/challenge_motes.rs @@ -39,6 +39,7 @@ test!(test_sabir_cm, "logs/cms/sabir.zevtc"); test!(test_qadimp_cm, "logs/cms/qadimp.zevtc"); test!(test_skorvald_cm, "logs/skorvald-20200427.zevtc"); +test!(test_skorvald_cm_post_sunqua_patch, "logs/skorvald-20200920.zevtc"); test!(test_artsariiv_cm, "logs/artsariiv-20200427.zevtc"); test!(test_arkk_cm, "logs/arkk-20200427.zevtc"); diff --git a/tests/logs/skorvald-20200920.zevtc b/tests/logs/skorvald-20200920.zevtc new file mode 100644 index 0000000..448f466 Binary files /dev/null and b/tests/logs/skorvald-20200920.zevtc differ -- cgit v1.2.3