tome_lib/cardtype.go

56 lines
1.3 KiB
Go
Raw Normal View History

2021-11-08 20:33:55 +00: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 22:44:42 +00:00
//Rank 1
2021-11-08 20:33:55 +00:00
HealthPotion //both players get +1 health
Tree //grows to 8 after five turns
Goblin //adds two other 1 strength units
2021-11-11 17:21:39 +00:00
Chupacabra //Destroy target creature
2021-11-10 22:44:42 +00:00
//Rank 2
2021-11-10 22:50:52 +00:00
Ally //puts +1 token on allied unit
Enemy //puts -1 token on enemy unit
2021-11-11 17:21:39 +00:00
//Rank 3
2021-11-16 20:51:09 +00:00
Duelist //puts +0/+1 on allied unit
Bureaucrat //creates a Clog token on any open space
2021-11-11 17:21:39 +00: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 20:51:09 +00:00
Clog //0 power token that disapears after one turn
2021-11-08 20:33:55 +00:00
)
const (
EmptyValue CardType = -1
)