tome_lib/cardtype.go

31 lines
727 B
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-08 20:46:03 +00:00
GoblinSpawn //1 power goblin token
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-08 20:33:55 +00:00
)
const (
EmptyValue CardType = -1
)