mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 18:28:00 +00:00
- Attempting to improve the chance of generating VMA Power Nine specials in booster packs.
This commit is contained in:
@@ -76,8 +76,8 @@ public class BoosterGenerator {
|
|||||||
// 2-3 Uncommons
|
// 2-3 Uncommons
|
||||||
// 4-6 Commons or Basic Lands
|
// 4-6 Commons or Basic Lands
|
||||||
// 7 Time Shifted
|
// 7 Time Shifted
|
||||||
// 8 DFC
|
// 8 VMA Special
|
||||||
// 9 VMA Special
|
// 9 DFC
|
||||||
// if result not valid for pack, reroll
|
// if result not valid for pack, reroll
|
||||||
// Other special types of foil slots, add here
|
// Other special types of foil slots, add here
|
||||||
CardRarity foilCard = CardRarity.Unknown;
|
CardRarity foilCard = CardRarity.Unknown;
|
||||||
@@ -110,8 +110,9 @@ public class BoosterGenerator {
|
|||||||
case 8:
|
case 8:
|
||||||
if (edition != null) {
|
if (edition != null) {
|
||||||
if (edition.getName().equals("Vintage Masters")) {
|
if (edition.getName().equals("Vintage Masters")) {
|
||||||
// 1 in 53 packs
|
// 1 in 53 packs, with 7 possibilities for the slot itself in VMA
|
||||||
if (rand.nextInt(53) == 1) {
|
// (1 RareMythic, 2 Uncommon, 3 Common, 1 Special)
|
||||||
|
if (rand.nextInt(53) <= 7) {
|
||||||
foilCard = CardRarity.Special;
|
foilCard = CardRarity.Special;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user