mirror of
https://github.com/webxoss/webxoss-core.git
synced 2024-11-20 06:49:53 +01:00
🐛 fix encoding black cost
This commit is contained in:
parent
53a2a057be
commit
6232881fa2
1 changed files with 1 additions and 1 deletions
|
@ -1547,7 +1547,7 @@ Player.prototype.encodeCost = function (cost, withoutFilter) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (cost.costWhite) requirements.push({ count: cost.costWhite, mask: 1 })
|
if (cost.costWhite) requirements.push({ count: cost.costWhite, mask: 1 })
|
||||||
if (cost.costBlack) requirements.push({ count: cost.costBlack, mask: 3 })
|
if (cost.costBlack) requirements.push({ count: cost.costBlack, mask: 2 })
|
||||||
if (cost.costGreen) requirements.push({ count: cost.costGreen, mask: 4 })
|
if (cost.costGreen) requirements.push({ count: cost.costGreen, mask: 4 })
|
||||||
if (cost.costBlue) requirements.push({ count: cost.costBlue, mask: 8 })
|
if (cost.costBlue) requirements.push({ count: cost.costBlue, mask: 8 })
|
||||||
if (cost.costRed) requirements.push({ count: cost.costRed, mask: 16 })
|
if (cost.costRed) requirements.push({ count: cost.costRed, mask: 16 })
|
||||||
|
|
Loading…
Reference in a new issue