fix necro revive and proper locate items from cube
This commit is contained in:
@@ -130,7 +130,7 @@ func (m Monster) IsMerc() bool {
|
||||
|
||||
func (m Monster) IsPet() bool {
|
||||
// Necro revive
|
||||
if m.States.HasState(state.Revive) && m.Type == MonsterTypeMinion {
|
||||
if m.States.HasState(state.Revive) {
|
||||
return true
|
||||
}
|
||||
|
||||
|
||||
@@ -121,6 +121,11 @@ func (gd *GameReader) Inventory(rawPlayerUnits RawPlayerUnits, hover data.HoverD
|
||||
location = item.LocationInventory
|
||||
break
|
||||
}
|
||||
if invPage == 3 {
|
||||
location = item.LocationCube
|
||||
invPage = 0
|
||||
break
|
||||
}
|
||||
location = item.LocationStash
|
||||
invPage = 0
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user