2017-10-08 22:17:53 -07:00
|
|
|
package main
|
|
|
|
|
|
|
|
//Spell contains all the magic spells
|
|
|
|
type Spell struct {
|
2017-10-09 01:45:53 -07:00
|
|
|
Name string
|
2017-10-08 22:17:53 -07:00
|
|
|
Damage int
|
2017-10-09 01:45:53 -07:00
|
|
|
Cost int
|
|
|
|
Level int
|
2017-10-08 22:17:53 -07:00
|
|
|
Active bool
|
|
|
|
}
|
2017-10-09 01:45:53 -07:00
|
|
|
|
|
|
|
var (
|
|
|
|
firearrow = Spell{
|
|
|
|
Name: "Fire Arrow",
|
|
|
|
Damage: 50,
|
|
|
|
Cost: 10,
|
|
|
|
Level: 1,
|
|
|
|
Active: true}
|
|
|
|
)
|