一键宝物重复穿戴宝物bug 修改

jiaoyangna 2020-10-15 11:23:38 +08:00
parent d249eb412f
commit 2e272debe3
1 changed files with 1 additions and 1 deletions

View File

@ -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