migrate the lol code to dota2