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 {
|
func (m Monster) IsPet() bool {
|
||||||
// Necro revive
|
// Necro revive
|
||||||
if m.States.HasState(state.Revive) && m.Type == MonsterTypeMinion {
|
if m.States.HasState(state.Revive) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -121,6 +121,11 @@ func (gd *GameReader) Inventory(rawPlayerUnits RawPlayerUnits, hover data.HoverD
|
|||||||
location = item.LocationInventory
|
location = item.LocationInventory
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
if invPage == 3 {
|
||||||
|
location = item.LocationCube
|
||||||
|
invPage = 0
|
||||||
|
break
|
||||||
|
}
|
||||||
location = item.LocationStash
|
location = item.LocationStash
|
||||||
invPage = 0
|
invPage = 0
|
||||||
break
|
break
|
||||||
|
|||||||
Reference in New Issue
Block a user