diff options
Diffstat (limited to 'internal/player/store.go')
| -rw-r--r-- | internal/player/store.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/player/store.go b/internal/player/store.go index 04af594..c05b29d 100644 --- a/internal/player/store.go +++ b/internal/player/store.go @@ -89,6 +89,10 @@ func (s *AccountStore) LoadCharacter(name string) (*Player, error) { if p.Skills == nil { p.Skills = make(map[SkillName]int) } + if xp, ok := p.Skills["alchemy"]; ok { + p.Skills[Pharmacy] = xp + delete(p.Skills, "alchemy") + } if p.Equipment == nil { p.Equipment = make(map[object.EquipSlot]string) } |
