Foil rarity fix patch (completed)
Posted: 02 Jul 2017, 08:00
-Now supports packs that have nonstandard slot names - "common:anything" will assume it's a common slot, etc
-Now supports DFC slots, official foil rarity not known, so set to same as Time Shifted for now
-Tested Time Shifted slots to work. Rarity is 1/30 foils at the moment (1/15 of foil commons, which are 1/2 of all foils) as I don't know the official ratio - this is probably way too low though as it means 1 foil TS card in 150 packs.
-if no matching rarities can be found (shouldn't happen anymore but in the future, new pack structures might happen), it picks a random slot from the pack at an equal chance as a default.
-As I don't know how foil sheets work, I haven't tested those, but the code for them is unchanged so it should not be affected. Please test.
-Now supports DFC slots, official foil rarity not known, so set to same as Time Shifted for now
-Tested Time Shifted slots to work. Rarity is 1/30 foils at the moment (1/15 of foil commons, which are 1/2 of all foils) as I don't know the official ratio - this is probably way too low though as it means 1 foil TS card in 150 packs.
-if no matching rarities can be found (shouldn't happen anymore but in the future, new pack structures might happen), it picks a random slot from the pack at an equal chance as a default.
-As I don't know how foil sheets work, I haven't tested those, but the code for them is unchanged so it should not be affected. Please test.