fix level require
This commit is contained in:
@@ -496,7 +496,8 @@ func (gd *GameReader) Inventory(rawPlayerUnits RawPlayerUnits, merc OwnMercenary
|
|||||||
maxReq := calculateItemLevelReq(itm, baseDesc)
|
maxReq := calculateItemLevelReq(itm, baseDesc)
|
||||||
|
|
||||||
// Check magic/rare affixes
|
// Check magic/rare affixes
|
||||||
if itm.Identified && (itm.Quality == item.QualityMagic || itm.Quality == item.QualityRare || itm.Quality == item.QualityCrafted) {
|
//|| itm.Quality == item.QualityRare sai voi rare item
|
||||||
|
if itm.Identified && (itm.Quality == item.QualityMagic || itm.Quality == item.QualityCrafted) {
|
||||||
maxReq = updateMaxReqFromAffixes(maxReq, itm.Affixes)
|
maxReq = updateMaxReqFromAffixes(maxReq, itm.Affixes)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user