The two titles break local gambling laws that prohibit giving players random rewards in “loot boxes”.