removed duplicated code from mythic-get-odds