add extra fields on Level struct

This commit is contained in:
Héctor Giménez
2023-05-07 11:29:46 +09:00
parent 601b272ddf
commit 26120205c9

View File

@@ -1,11 +1,12 @@
package data package data
import ( import (
"strings"
"github.com/hectorgimenez/d2go/pkg/data/area" "github.com/hectorgimenez/d2go/pkg/data/area"
"github.com/hectorgimenez/d2go/pkg/data/skill" "github.com/hectorgimenez/d2go/pkg/data/skill"
"github.com/hectorgimenez/d2go/pkg/data/stat" "github.com/hectorgimenez/d2go/pkg/data/stat"
"github.com/hectorgimenez/d2go/pkg/data/state" "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 // 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 { type Level struct {
Area area.Area Area area.Area
Position Position Position Position
IsGoodExit bool
CanInteract bool
} }
type Class string type Class string