get skill description from the ID
This commit is contained in:
@@ -12,7 +12,7 @@ type Description struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type Skill struct {
|
type Skill struct {
|
||||||
ID ID
|
ID
|
||||||
Name string
|
Name string
|
||||||
LeftSkill bool
|
LeftSkill bool
|
||||||
RightSkill bool
|
RightSkill bool
|
||||||
@@ -24,8 +24,8 @@ type Points struct {
|
|||||||
Charges uint
|
Charges uint
|
||||||
}
|
}
|
||||||
|
|
||||||
func (sk Skill) Desc() Description {
|
func (sk ID) Desc() Description {
|
||||||
return Desc[sk.ID]
|
return Desc[sk]
|
||||||
}
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|||||||
Reference in New Issue
Block a user