add chupacabra,duelist,vanguard
This commit is contained in:
parent
b16df174ed
commit
bfd48cb069
@ -20,10 +20,17 @@ const (
|
|||||||
Tree //grows to 8 after five turns
|
Tree //grows to 8 after five turns
|
||||||
Goblin //adds two other 1 strength units
|
Goblin //adds two other 1 strength units
|
||||||
GoblinSpawn //1 power goblin token
|
GoblinSpawn //1 power goblin token
|
||||||
|
Chupacabra //Destroy target creature
|
||||||
|
|
||||||
//Rank 2
|
//Rank 2
|
||||||
Ally //puts +1 token on allied unit
|
Ally //puts +1 token on allied unit
|
||||||
Enemy //puts -1 token on enemy unit
|
Enemy //puts -1 token on enemy unit
|
||||||
|
|
||||||
|
//Rank 3
|
||||||
|
Duelist
|
||||||
|
|
||||||
|
//Rank 4
|
||||||
|
Vanguard
|
||||||
)
|
)
|
||||||
const (
|
const (
|
||||||
EmptyValue CardType = -1
|
EmptyValue CardType = -1
|
||||||
|
@ -8,9 +8,9 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
)
|
)
|
||||||
|
|
||||||
const _CardTypeName = "EmptyValueValkSpeedsterCommanderPaladinScholarWarriorFighterSevenShieldWallHealthPotionTreeGoblinGoblinSpawnAllyEnemy"
|
const _CardTypeName = "EmptyValueValkSpeedsterCommanderPaladinScholarWarriorFighterSevenShieldWallHealthPotionTreeGoblinGoblinSpawnChupacabraAllyEnemyDuelistVanguard"
|
||||||
|
|
||||||
var _CardTypeIndex = [...]uint8{0, 10, 14, 23, 32, 39, 46, 53, 60, 65, 75, 87, 91, 97, 108, 112, 117}
|
var _CardTypeIndex = [...]uint8{0, 10, 14, 23, 32, 39, 46, 53, 60, 65, 75, 87, 91, 97, 108, 118, 122, 127, 134, 142}
|
||||||
|
|
||||||
func (i CardType) String() string {
|
func (i CardType) String() string {
|
||||||
i -= -1
|
i -= -1
|
||||||
@ -20,7 +20,7 @@ func (i CardType) String() string {
|
|||||||
return _CardTypeName[_CardTypeIndex[i]:_CardTypeIndex[i+1]]
|
return _CardTypeName[_CardTypeIndex[i]:_CardTypeIndex[i+1]]
|
||||||
}
|
}
|
||||||
|
|
||||||
var _CardTypeValues = []CardType{-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14}
|
var _CardTypeValues = []CardType{-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17}
|
||||||
|
|
||||||
var _CardTypeNameToValueMap = map[string]CardType{
|
var _CardTypeNameToValueMap = map[string]CardType{
|
||||||
_CardTypeName[0:10]: -1,
|
_CardTypeName[0:10]: -1,
|
||||||
@ -37,8 +37,11 @@ var _CardTypeNameToValueMap = map[string]CardType{
|
|||||||
_CardTypeName[87:91]: 10,
|
_CardTypeName[87:91]: 10,
|
||||||
_CardTypeName[91:97]: 11,
|
_CardTypeName[91:97]: 11,
|
||||||
_CardTypeName[97:108]: 12,
|
_CardTypeName[97:108]: 12,
|
||||||
_CardTypeName[108:112]: 13,
|
_CardTypeName[108:118]: 13,
|
||||||
_CardTypeName[112:117]: 14,
|
_CardTypeName[118:122]: 14,
|
||||||
|
_CardTypeName[122:127]: 15,
|
||||||
|
_CardTypeName[127:134]: 16,
|
||||||
|
_CardTypeName[134:142]: 17,
|
||||||
}
|
}
|
||||||
|
|
||||||
// CardTypeString retrieves an enum value from the enum constants string name.
|
// CardTypeString retrieves an enum value from the enum constants string name.
|
||||||
|
Loading…
Reference in New Issue
Block a user