feat: init client
This commit is contained in:
16
models/card_attack.go
Normal file
16
models/card_attack.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package models
|
||||
|
||||
// CardAttack describes a single attack of a pokemon, for example 'Confuse Ray'.
|
||||
type CardAttack struct {
|
||||
// Name of the attack
|
||||
Name string `json:"name"`
|
||||
|
||||
// Costs of the attack in the same order as listed on the card.
|
||||
Costs []string `json:"cost"`
|
||||
|
||||
// Effect/Description of the attack, may be null for attacks without text.
|
||||
Effect *string `json:"effect"`
|
||||
|
||||
// Damage the attack deals. May just be a number like '30', but can also be a multiplier like 'x20'.
|
||||
Damage string `json:"damage"`
|
||||
}
|
||||
Reference in New Issue
Block a user