一键宝物重复穿戴宝物bug 修改
parent
d249eb412f
commit
2e272debe3
|
@ -56,7 +56,7 @@ function this.GetTreasureDataByPos(_pos, _idDyn, PropertyName)
|
|||
local equips = {}
|
||||
for i, v in pairs(allTreasures) do
|
||||
if v.equipType == _pos - 4 then
|
||||
if (v.upHeroDid == "" or v.upHeroDid ~= _idDyn) and v.race == PropertyName then
|
||||
if (v.upHeroDid == "") and v.race == PropertyName then
|
||||
table.insert(equips, v)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue