神魂修改提交
parent
9f59cb3b64
commit
eadf4a4f1c
|
@ -74,10 +74,6 @@ function GeneralBigPopup:BindEvent()
|
||||||
Game.GlobalEvent:DispatchEvent(GameEvent.Bag.OnTempBagChanged)
|
Game.GlobalEvent:DispatchEvent(GameEvent.Bag.OnTempBagChanged)
|
||||||
self:ClosePanel()
|
self:ClosePanel()
|
||||||
end)
|
end)
|
||||||
Util.AddClick(this.Mask,function()
|
|
||||||
Game.GlobalEvent:DispatchEvent(GameEvent.Bag.OnTempBagChanged)
|
|
||||||
self:ClosePanel()
|
|
||||||
end)
|
|
||||||
end
|
end
|
||||||
|
|
||||||
function GeneralBigPopup:AddListener()
|
function GeneralBigPopup:AddListener()
|
||||||
|
|
|
@ -203,7 +203,10 @@ function this.GetBindHeroDatasByLevel(id,lv)
|
||||||
end
|
end
|
||||||
for k,v in pairs(this.heroDatas[id].BindHeroDatas) do
|
for k,v in pairs(this.heroDatas[id].BindHeroDatas) do
|
||||||
if k == lv then
|
if k == lv then
|
||||||
return v
|
for i = 1,#v do
|
||||||
|
table.insert(data,v[i])
|
||||||
|
end
|
||||||
|
break
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
return data
|
return data
|
||||||
|
|
Loading…
Reference in New Issue