Every developer under the sun has some form of loot or loot crates in their games these days. What matters is how much influence the loot can have on moment to moment gameplay. And the long of short of it: Star Wars: Battlefront 2 has loot crates with "star cards", and the better cards you get, the better impact on gameplay those cards will have.
A bunch of footage dropped online this morning from the E3 2017 build of Battlefront 2, with various YouTubers and influencers showing off Battlefront 2's loot mechanic. Put simply: you can get credits, crafting parts and, most importantly, star cards from loot crates. Those crates can be purchased with in-game credits, although there's no details on whether they can be bought with real money or how much they might cost.
Star cards have five rarities: common, uncommon, rare, epic and legendary:
The increased rarity will affect the card's in-game effect. A legendary Sentry card, for instance, gets a 5% reduction to damage taken and lasts for 16 seconds, while a common version of the card gets no bonus and only lasts for 12 seconds.
Star cards also affect direct player abilities, as YouTuber BattleFrontUpdates showed in a comparison video (skip to 5:01):
The main way to get star cards is by opening crates, and you'll need to obtain the common version of a star card before you can get rarer versions. Once you do have a card, you can upgrade it by using "crafting parts".
Buying loot crates is more or less an accepted part of AAA titles these days, but the point where a lot of gamers draw the line is whether those things can affect gameplay. As long as everyone remains on a level playing field, there's no issue. The concern is that players who spend more money can get more effective and damaging abilities, which can unbalance gameplay.
There was a time when progression systems simply meant unlocking weapons and perks after reaching a certain level in-game. That's not enough for AAA games in 2017 though: there has to be a randomised element in the process as well.
I've reached out to EA to ask whether players will be able to spend in-game money on crates or star cards, or whether in-game currency can be purchased with real world money. I'll let you know what EA says, if they get back to me.