【巅峰赛】拍脸修改 有表 张强提交
parent
3262a6203c
commit
b11cf4dfe3
|
@ -154,13 +154,14 @@ function this.PatFaceSpecialMonitor(v,patFaceAllData,type,starUpGiftNum)
|
|||
elseif v.Type == 6 then--巅峰战
|
||||
local curState = ArenaTopMatchManager.GetBaseData().battleState
|
||||
local battleStage = ArenaTopMatchManager.GetBaseData().battleStage
|
||||
-- if battleStage and curState then
|
||||
-- LogPink(" v.OpenRules[2] "..v.OpenRules[2].." curState "..curState.." type "..type.." battleStage "..battleStage.." v.Values "..v.Values)
|
||||
-- else
|
||||
-- LogPink(" v.OpenRules[2] "..v.OpenRules[2].." curState nil type "..type.." battleStage nil v.Values "..v.Values)
|
||||
-- end
|
||||
if battleStage and curState then
|
||||
LogPink(" v.OpenRules[2] "..v.OpenRules[2].." curState "..curState.." type "..type.." battleStage "..battleStage.." v.Values "..v.Values)
|
||||
else
|
||||
LogPink(" v.OpenRules[2] "..v.OpenRules[2].." curState nil type "..type.." battleStage nil v.Values "..v.Values)
|
||||
end
|
||||
-- if v.OpenRules[2] == curState and type == 2 and battleStage >= v.Values then
|
||||
if (curState and v.OpenRules[2] == curState) and type == 2 and (battleStage and battleStage >= v.Values) then--v.Values 2 > 1
|
||||
--and type == 2
|
||||
if (curState and curState >= v.OpenRules[2] and curState <= v.CloseRules[2]) and (battleStage and battleStage >= v.Values) then--v.Values 2 > 1
|
||||
if RedPointManager.PlayerPrefsGetStr(v.Id.."PatFace") == "0" then
|
||||
table.insert(patFaceAllData,v)
|
||||
end
|
||||
|
|
|
@ -653,6 +653,7 @@ end
|
|||
|
||||
--界面关闭时调用(用于子类重写)
|
||||
function FightPointPassMainPanel:OnClose()
|
||||
PatFaceManager.isLogin = false
|
||||
PlayerManager.StopBattleUpLvTipTime()
|
||||
hasLoad = false
|
||||
invadeMonster:OnClose()
|
||||
|
|
Loading…
Reference in New Issue