The Classic Race

The Classic Race

17.2k Downloads

improve behaviour when max level has been reached

todo opened this issue ยท 0 comments

commented

@TODO: we should handle this case so that the user knows and set levelThreshold to avoid scanning forever and ever
]]--
libWhoMock:ExpectWho(1, 60, false, {{Name = "Leader", Level = 60}})
libWhoMock:ExpectWho(30, 60, false, {{Name = "Leader", Level = 60}})
libWhoMock:ExpectWho(45, 60, false, {{Name = "Leader", Level = 60}})
libWhoMock:ExpectWho(53, 60, false, {{Name = "Leader", Level = 60}})


when there's > 50 max level players then the race is over and we should make that clear to the user and also ensure no more scanning is done.