tome_lib/cardtype.go

56 lines
1.3 KiB
Go
Raw Normal View History

2021-11-08 15:33:55 -05:00
package tome_lib
//go:generate enumer -type=CardType -json
type CardType int
const (
Valk CardType = iota
Speedster //ace, has haste
Commander //2, buffs row
Paladin //3, buffs neighbours
Scholar //4, draws card
Warrior //5, nothing
Fighter //6, nothing
Seven //7, seven
ShieldWall //8, only blocks
//new cards
2021-11-10 17:44:42 -05:00
//Rank 1
2021-11-08 15:33:55 -05:00
HealthPotion //both players get +1 health
Tree //grows to 8 after five turns
Goblin //adds two other 1 strength units
2021-11-11 12:21:39 -05:00
Chupacabra //Destroy target creature
2021-11-10 17:44:42 -05:00
//Rank 2
2021-11-10 17:50:52 -05:00
Ally //puts +1 token on allied unit
Enemy //puts -1 token on enemy unit
2021-11-11 12:21:39 -05:00
//Rank 3
2021-11-16 15:51:09 -05:00
Duelist //puts +0/+1 on allied unit
Bureaucrat //creates a Clog token on any open space
2021-11-11 12:21:39 -05:00
//Rank 4
Vanguard //puts +1/+0 on allied unit
Student //scry 2, draw 1
Librarian //scry life, draw 1
//Rank 5
Elephant //Created a dud on enemy board
//Rank 6
Mesmerist //Shuffles enemy deck
Diviner //Peek top 3, bottom 2
//Rank 8
Hologram //Can't deal HP damage, disapears after 3 turns
//Tokens,etc
GoblinSpawn //1 power goblin token
Dud //0 power token
2021-11-16 15:51:09 -05:00
Clog //0 power token that disapears after one turn
2021-11-08 15:33:55 -05:00
)
const (
EmptyValue CardType = -1
)