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
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
@@ -99,6 +100,8 @@ func (r Roster) FindByName(name string) (RosterMember, bool) {
type Level struct {
Area area.Area
Position Position
IsGoodExit bool
CanInteract bool
}
type Class string