parent
086c183046
commit
dd7c8d5361
|
|
@ -294,7 +294,8 @@ function SpecailTrainingInfoPopup:SetSingleData(index,_go,_data)
|
|||
PopupTipPanel.ShowTip(Language[12268])
|
||||
return
|
||||
end
|
||||
if tData.Level<=curLevel then
|
||||
if tData.Level<=curLevel then
|
||||
|
||||
|
||||
if #selectSkillUnlockItems1==0 or #selectSkillUnlockItems2==0 then
|
||||
PopupTipPanel.ShowTip(Language[10054])
|
||||
|
|
@ -332,7 +333,10 @@ function SpecailTrainingInfoPopup:SetSingleData(index,_go,_data)
|
|||
local magicSoldierIds={}
|
||||
magicSoldierIds[1]=""
|
||||
NetManager.TrainingUnlockSkillRequest( self._curHerodata.dynamicId,tData.Id,pokemenons,nil,TrainingUnlockSkillHeroItem,item,function (msg)
|
||||
UIManager.OpenPanel(UIName.RewardItemPopup, msg.drop, 1)
|
||||
UIManager.OpenPanel(UIName.RewardItemPopup, msg.drop, 1)
|
||||
if pokemenons and #pokemenons>0 then
|
||||
PokemonManager.RemovePokemonData(pokemenons)
|
||||
end
|
||||
end)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue