diff --git a/pkg/data/skill/skill.go b/pkg/data/skill/skill.go index 2659fac..627faaa 100644 --- a/pkg/data/skill/skill.go +++ b/pkg/data/skill/skill.go @@ -12,7 +12,7 @@ type Description struct { } type Skill struct { - ID ID + ID Name string LeftSkill bool RightSkill bool @@ -24,8 +24,8 @@ type Points struct { Charges uint } -func (sk Skill) Desc() Description { - return Desc[sk.ID] +func (sk ID) Desc() Description { + return Desc[sk] } const (