20 lines
248 B
Go
20 lines
248 B
Go
package main
|
|
|
|
//Spell contains all the magic spells
|
|
type Spell struct {
|
|
Name string
|
|
Damage int
|
|
Cost int
|
|
Level int
|
|
Active bool
|
|
}
|
|
|
|
var (
|
|
firearrow = Spell{
|
|
Name: "Fire Arrow",
|
|
Damage: 50,
|
|
Cost: 10,
|
|
Level: 1,
|
|
Active: true}
|
|
)
|