Electronic Arts is taking a new approach to loot boxes after last year’s Star Wars: Battlefront 2 fiasco.