handle act 1/3/5 mercs (#5)

This commit is contained in:
Héctor Giménez
2023-10-24 22:29:49 +09:00
committed by GitHub
parent cebb05a0df
commit 8ae0eb55c2
3 changed files with 25 additions and 22 deletions

View File

@@ -4,6 +4,8 @@ import "math"
const mapHashDivisor = 1 << 16
// Logic stolen from MapAssist, credits to them
func GetMapSeed(initHashSeed, endHashSeed uint) (uint, bool) {
var gameSeedXor uint = 0
seed, found := reverseMapSeedHash(endHashSeed)