add extra fields on Level struct
This commit is contained in:
@@ -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
|
||||||
@@ -99,6 +100,8 @@ 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
|
||||||
|
|||||||
Reference in New Issue
Block a user