We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a30672d commit d2365a6Copy full SHA for d2365a6
src/make/cards.js
@@ -38,13 +38,15 @@ function before() {
38
raw.PLC.booster = Array(11).fill('common')
39
raw.FUT.booster = Array(11).fill('common')
40
41
- for (card of raw.BFZ.cards)
42
- if (card.text && card.text.startsWith('Devoid'))
43
- card.colors = card.manaCost
44
- .replace(/[\d{}]/g, '')
45
- .replace(/(.)\1+/g, '$1')
46
- .split('')
47
- .map(c => COLORS[c])
+ ;['BFZ', 'OGW'].forEach(setName => {
+ for (card of raw[setName].cards)
+ if (card.text && card.text.startsWith('Devoid'))
+ card.colors = card.manaCost
+ .replace(/[\d{}]/g, '')
+ .replace(/(.)\1+/g, '$1')
+ .split('')
48
+ .map(c => COLORS[c])
49
+ })
50
51
var card
52
for (card of raw.ISD.cards)
0 commit comments