xiyou_sanguo
parent
0ca411fc39
commit
e30c71794f
|
|
@ -170,8 +170,9 @@ function this.FightLevelFightBattle(_fightLevelData, callBack)
|
||||||
else
|
else
|
||||||
curFormationTypeDef = FormationTypeDef.FIGHT_ASSISTANTLEVEL
|
curFormationTypeDef = FormationTypeDef.FIGHT_ASSISTANTLEVEL
|
||||||
end
|
end
|
||||||
|
LogError("山河社稷图请求战斗".._fightLevelData.nodeId.."/"..curFormationTypeDef)
|
||||||
NetManager.HardStageFightRequest(_fightLevelData.nodeId, curFormationTypeDef,function (msg)--FIGHT_LEVEL
|
NetManager.HardStageFightRequest(_fightLevelData.nodeId, curFormationTypeDef,function (msg)--FIGHT_LEVEL
|
||||||
-- ----Log("山河社稷图回复战斗 星级 "..msg.stars.." drop "..#msg.drop.itemlist)
|
LogError("山河社稷图回复战斗 星级 "..msg.stars.." drop "..#msg.drop.itemlist)
|
||||||
HardStageFightResponseMsg = msg
|
HardStageFightResponseMsg = msg
|
||||||
curBattlefightLevelData = _fightLevelData
|
curBattlefightLevelData = _fightLevelData
|
||||||
-- local result = msg.stars > 0 and 1 or 0
|
-- local result = msg.stars > 0 and 1 or 0
|
||||||
|
|
|
||||||
|
|
@ -754,6 +754,7 @@ function this.ExecuteLoading()
|
||||||
"|server_id|" .. tostring(PlayerManager.serverInfo
|
"|server_id|" .. tostring(PlayerManager.serverInfo
|
||||||
.server_id)
|
.server_id)
|
||||||
})
|
})
|
||||||
|
LogError("**************************server_name|" ..tostring(PlayerManager.serverInfo.name) .."|server_id|" .. tostring(PlayerManager.serverInfo.server_id))
|
||||||
end, --太初密卷
|
end, --太初密卷
|
||||||
--[[[49] =]] function() NetManager.CrossYuXuLunDaoGetInfoRequest(2, LoadingPanel.OnStep) end, --玉虚论道红点
|
--[[[49] =]] function() NetManager.CrossYuXuLunDaoGetInfoRequest(2, LoadingPanel.OnStep) end, --玉虚论道红点
|
||||||
--[[[50] =]] function() NetManager.GetLikeableDataRequest(LoadingPanel.OnStep) end, --好感度
|
--[[[50] =]] function() NetManager.GetLikeableDataRequest(LoadingPanel.OnStep) end, --好感度
|
||||||
|
|
|
||||||
|
|
@ -64,8 +64,9 @@ function GMShuaChongTeQuan:InitComponent()
|
||||||
self.titleImg.sprite = self.spLoader:LoadSprite(_TabData[_index].img)
|
self.titleImg.sprite = self.spLoader:LoadSprite(_TabData[_index].img)
|
||||||
local activityId = _TabData[_index].id
|
local activityId = _TabData[_index].id
|
||||||
local recharge = ConfigManager.GetConfigData(ConfigName.RechargeCommodityConfig, activityId)
|
local recharge = ConfigManager.GetConfigData(ConfigName.RechargeCommodityConfig, activityId)
|
||||||
|
LogError("sssssssssssssssssssssssssssss"..activityId)
|
||||||
local len = #recharge.OpenPrivilege
|
local len = #recharge.OpenPrivilege
|
||||||
local lv = _index --recharge.BTVIPlevel[1][2]
|
local lv = _index + 1 --recharge.BTVIPlevel[1][2]
|
||||||
local len = #recharge.OpenPrivilege
|
local len = #recharge.OpenPrivilege
|
||||||
local mission = ActivityGiftManager.GetActivityInfo(ActivityTypeDef.shuaChongTeQuan, activityId)
|
local mission = ActivityGiftManager.GetActivityInfo(ActivityTypeDef.shuaChongTeQuan, activityId)
|
||||||
local state = mission.state
|
local state = mission.state
|
||||||
|
|
|
||||||
|
|
@ -95,6 +95,7 @@ function GrowthGiftPage:OnShow(_sortingOrder)
|
||||||
|
|
||||||
self.curActiId = self.actConfig.ActId
|
self.curActiId = self.actConfig.ActId
|
||||||
self.btn_qmfl:SetActive(ActivityGiftManager.GetActivityInfoByType(10502)~=nil and ActivityGiftManager.CheckIsHaveHaveQMFL(ActivityTypeDef.GrowthReward,self.curActiId) )
|
self.btn_qmfl:SetActive(ActivityGiftManager.GetActivityInfoByType(10502)~=nil and ActivityGiftManager.CheckIsHaveHaveQMFL(ActivityTypeDef.GrowthReward,self.curActiId) )
|
||||||
|
--self.btn_qmfl:SetActive(false)
|
||||||
self.actType = self.actConfig.ActiveType
|
self.actType = self.actConfig.ActiveType
|
||||||
if self.actConfig.IfBack == 1 then
|
if self.actConfig.IfBack == 1 then
|
||||||
if self.actConfig.ActiveType > 0 then
|
if self.actConfig.ActiveType > 0 then
|
||||||
|
|
|
||||||
|
|
@ -105,12 +105,13 @@ function this:OnOpen(...)
|
||||||
LogError("urSkillData.needStar==" .. curSkillData.needStar)
|
LogError("urSkillData.needStar==" .. curSkillData.needStar)
|
||||||
if curSkillData.needStar == 15 then
|
if curSkillData.needStar == 15 then
|
||||||
--this.hintTxt.text=" ".."飞升3解锁"
|
--this.hintTxt.text=" ".."飞升3解锁"
|
||||||
des1 = "<color=red>" .. Language[12243] .. "</color>" .." " .. des1
|
des1 = "<color=red>" .. Language[12243] .. "</color>" .. " " .. des1
|
||||||
elseif curSkillData.needStar == 13 then
|
elseif curSkillData.needStar == 13 then
|
||||||
des1 = "<color=red>" .. Language[12244] .. "</color>".." " .. des1
|
des1 = "<color=red>" .. Language[12244] .. "</color>" .. " " .. des1
|
||||||
else
|
else
|
||||||
--this.hintTxt.text=" "..
|
--this.hintTxt.text=" "..
|
||||||
des1 = "<color=red>" .. NumToSimplenessFont[curSkillData.needStar] .." ".. Language[12245] .. "</color>".." " .. des1
|
des1 = "<color=red>" ..
|
||||||
|
NumToSimplenessFont[curSkillData.needStar] .. " " .. Language[12245] .. "</color>" .. " " .. des1
|
||||||
end
|
end
|
||||||
--des1=""
|
--des1=""
|
||||||
end
|
end
|
||||||
|
|
@ -141,7 +142,7 @@ function this:OnOpen(...)
|
||||||
if curSkillData.needStar == 13 then
|
if curSkillData.needStar == 13 then
|
||||||
this.hintTxt.text = Language[12244]
|
this.hintTxt.text = Language[12244]
|
||||||
else
|
else
|
||||||
this.hintTxt.text = NumToSimplenessFont[curSkillData.needStar] .. Language[10648]
|
this.hintTxt.text = NumToSimplenessFont[curSkillData.needStar] .. Language[10648]
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
this.hintTxt.gameObject:SetActive(false)
|
this.hintTxt.gameObject:SetActive(false)
|
||||||
|
|
|
||||||
|
|
@ -155,6 +155,7 @@ function this.RequestBuyShopItem(shopType, shopItemId, num, func,isShowReward)
|
||||||
if countLimitNum >= 0 then
|
if countLimitNum >= 0 then
|
||||||
local shopItemData = this.GetShopItemData(shopType, shopItemId)
|
local shopItemData = this.GetShopItemData(shopType, shopItemId)
|
||||||
local countLeftNum = countLimitNum - shopItemData.buyNum
|
local countLeftNum = countLimitNum - shopItemData.buyNum
|
||||||
|
--LogError("=======工会挑战次数:"..countLimitNum.."/"..shopItemData.buyNum)
|
||||||
if countLeftNum <= 0 or countLeftNum < num then
|
if countLeftNum <= 0 or countLeftNum < num then
|
||||||
PopupTipPanel.ShowTip(Language[11515])
|
PopupTipPanel.ShowTip(Language[11515])
|
||||||
return
|
return
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue