.
This commit is contained in:
parent
3bb5386aff
commit
e028ef0b29
4 changed files with 143 additions and 20 deletions
110
CardList.json
110
CardList.json
|
|
@ -64,5 +64,115 @@
|
|||
"_legal": {
|
||||
"playtest": true
|
||||
}
|
||||
},
|
||||
"003": {
|
||||
"id": "003",
|
||||
"face": {
|
||||
"front": {
|
||||
"name": "NominalAperture",
|
||||
"type": "Unit",
|
||||
"cost": 1,
|
||||
"image": "https://docs.brut.systems/judah/entropy/red-base.png",
|
||||
"isHorizontal": true
|
||||
}
|
||||
},
|
||||
"name": "NominalAperture",
|
||||
"type": "Unit",
|
||||
"cost": 1,
|
||||
"isToken": false,
|
||||
"Lane": "🟥 Red",
|
||||
"Entropy": 1,
|
||||
"Force": 1,
|
||||
"_legal": {
|
||||
"playtest": true
|
||||
}
|
||||
},
|
||||
"004": {
|
||||
"id": "004",
|
||||
"face": {
|
||||
"front": {
|
||||
"name": "BluntOffset",
|
||||
"type": "Unit",
|
||||
"cost": 2,
|
||||
"image": "https://docs.brut.systems/judah/entropy/red-base.png",
|
||||
"isHorizontal": true
|
||||
}
|
||||
},
|
||||
"name": "BluntOffset",
|
||||
"type": "Unit",
|
||||
"cost": 2,
|
||||
"isToken": false,
|
||||
"Lane": "🟥 Red",
|
||||
"Entropy": 2,
|
||||
"Force": 2,
|
||||
"_legal": {
|
||||
"playtest": true
|
||||
}
|
||||
},
|
||||
"005": {
|
||||
"id": "005",
|
||||
"face": {
|
||||
"front": {
|
||||
"name": "BareGradient",
|
||||
"type": "Unit",
|
||||
"cost": 3,
|
||||
"image": "https://docs.brut.systems/judah/entropy/red-base.png",
|
||||
"isHorizontal": true
|
||||
}
|
||||
},
|
||||
"name": "BareGradient",
|
||||
"type": "Unit",
|
||||
"cost": 3,
|
||||
"isToken": false,
|
||||
"Lane": "🟥 Red",
|
||||
"Entropy": 3,
|
||||
"Force": 3,
|
||||
"_legal": {
|
||||
"playtest": true
|
||||
}
|
||||
},
|
||||
"006": {
|
||||
"id": "006",
|
||||
"face": {
|
||||
"front": {
|
||||
"name": "SoftFilament",
|
||||
"type": "Unit",
|
||||
"cost": 4,
|
||||
"image": "https://docs.brut.systems/judah/entropy/red-base.png",
|
||||
"isHorizontal": true
|
||||
}
|
||||
},
|
||||
"name": "SoftFilament",
|
||||
"type": "Unit",
|
||||
"cost": 4,
|
||||
"isToken": false,
|
||||
"Lane": "🟥 Red",
|
||||
"Entropy": 4,
|
||||
"Force": 4,
|
||||
"_legal": {
|
||||
"playtest": true
|
||||
}
|
||||
},
|
||||
"007": {
|
||||
"id": "007",
|
||||
"face": {
|
||||
"front": {
|
||||
"name": "PolarConviction",
|
||||
"type": "Unit",
|
||||
"cost": 5,
|
||||
"image": "https://docs.brut.systems/judah/entropy/red-base.png",
|
||||
"isHorizontal": true
|
||||
}
|
||||
},
|
||||
"name": "PolarConviction",
|
||||
"type": "Unit",
|
||||
"cost": 5,
|
||||
"isToken": false,
|
||||
"Lane": "🟥 Red",
|
||||
"Entropy": 5,
|
||||
"Force": 5,
|
||||
"_legal": {
|
||||
"playtest": true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -24,7 +24,8 @@
|
|||
"title": "Classic",
|
||||
"gameplay": "CL",
|
||||
"deckRuleset": "CL",
|
||||
"customCategories": ["Passive"]
|
||||
"customCategories": ["Passive"],
|
||||
"legalityCode": "playtest"
|
||||
}
|
||||
],
|
||||
"deckRulesets": {
|
||||
|
|
|
|||
29
cards.go
Normal file
29
cards.go
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
package main
|
||||
|
||||
var CARDS = []struct {
|
||||
lane Lane
|
||||
typ Type
|
||||
entropy int
|
||||
recovery int
|
||||
force int
|
||||
name string
|
||||
desc string
|
||||
}{
|
||||
{typ: Passive, recovery: 3,
|
||||
name: `Rapid Response`, desc: `Your {{spell}}s cost {{1 hp}} less.`},
|
||||
{typ: Passive, recovery: 2,
|
||||
name: `Breaker`, desc: `The first {{unit}} you play per turn costs {{1 entropy}} less.`},
|
||||
{typ: Passive, recovery: 0,
|
||||
name: `Inverse Entropy`, desc: `Add {{1 hp}} to all {{lifesteal}} bonuses`},
|
||||
|
||||
{typ: Unit, lane: Red, entropy: 1, force: 1,
|
||||
desc: ``},
|
||||
{typ: Unit, lane: Red, entropy: 2, force: 2,
|
||||
desc: ``},
|
||||
{typ: Unit, lane: Red, entropy: 3, force: 3,
|
||||
desc: ``},
|
||||
{typ: Unit, lane: Red, entropy: 4, force: 4,
|
||||
desc: ``},
|
||||
{typ: Unit, lane: Red, entropy: 5, force: 5,
|
||||
desc: ``},
|
||||
}
|
||||
21
main.go
21
main.go
|
|
@ -7,23 +7,6 @@ import (
|
|||
"os"
|
||||
)
|
||||
|
||||
var Cards = []struct {
|
||||
lane Lane
|
||||
typ Type
|
||||
entropy int
|
||||
recovery int
|
||||
force int
|
||||
name string
|
||||
desc string
|
||||
}{
|
||||
{typ: Passive, recovery: 3,
|
||||
name: `Rapid Response`, desc: `Your {{spell}}s cost {{1 hp}} less.`},
|
||||
{typ: Passive, recovery: 2,
|
||||
name: `Breaker`, desc: `The first {{unit}} you play per turn costs {{1 entropy}} less.`},
|
||||
{typ: Passive, recovery: 0,
|
||||
name: `Inverse Entropy`, desc: `Add {{1 hp}} to all {{lifesteal}} bonuses`},
|
||||
}
|
||||
|
||||
type Lane int
|
||||
|
||||
const (
|
||||
|
|
@ -99,8 +82,8 @@ func main() {
|
|||
)
|
||||
|
||||
thejson := make(map[string]jsoncard)
|
||||
for i := range len(Cards) {
|
||||
card := &Cards[i]
|
||||
for i := range len(CARDS) {
|
||||
card := &CARDS[i]
|
||||
if len(card.name) == 0 {
|
||||
card.name = generateTemporaryName()
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue