Moved spells from main.go to magic.go
This commit is contained in:
parent
86d1316ff1
commit
b0aaf57d0c
16
magic.go
16
magic.go
@ -2,10 +2,18 @@ package main
|
||||
|
||||
//Spell contains all the magic spells
|
||||
type Spell struct {
|
||||
Name string
|
||||
Name string
|
||||
Damage int
|
||||
Cost int
|
||||
Level int
|
||||
Cost int
|
||||
Level int
|
||||
Active bool
|
||||
|
||||
}
|
||||
|
||||
var (
|
||||
firearrow = Spell{
|
||||
Name: "Fire Arrow",
|
||||
Damage: 50,
|
||||
Cost: 10,
|
||||
Level: 1,
|
||||
Active: true}
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user