From 26120205c92e046b3735af3898d86f9b89a0944d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Gim=C3=A9nez?= Date: Sun, 7 May 2023 11:29:46 +0900 Subject: [PATCH] add extra fields on Level struct --- pkg/data/data.go | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pkg/data/data.go b/pkg/data/data.go index ea87b2a..621411e 100644 --- a/pkg/data/data.go +++ b/pkg/data/data.go @@ -1,11 +1,12 @@ package data import ( + "strings" + "github.com/hectorgimenez/d2go/pkg/data/area" "github.com/hectorgimenez/d2go/pkg/data/skill" "github.com/hectorgimenez/d2go/pkg/data/stat" "github.com/hectorgimenez/d2go/pkg/data/state" - "strings" ) // since stat.MaxLife is returning max life without stats, we are setting the max life value that we read from the @@ -97,8 +98,10 @@ func (r Roster) FindByName(name string) (RosterMember, bool) { } type Level struct { - Area area.Area - Position Position + Area area.Area + Position Position + IsGoodExit bool + CanInteract bool } type Class string