神将来源修改
parent
58994f5a38
commit
ed1cf199a2
|
@ -323,10 +323,10 @@ function RewardItemSingleShowPopup:OnShow()
|
|||
SetTextVerTial(this.posText.gameObject,Vector3.New(64,21,0),"MiddleLeft")
|
||||
local jumpDataList = heroConfig.Jump
|
||||
for i = 1, #jumpDataList do
|
||||
if not RECHARGEABLE and (jumpDataList[i] == JumpType.firstRecharge or jumpDataList[i] == JumpType.ZhiZunJiangShi) then--(是否开启充值)
|
||||
if not RECHARGEABLE and (JumpConfig[jumpDataList[i]].Type == JumpType.firstRecharge or JumpConfig[jumpDataList[i]].Type == JumpType.ZhiZunJiangShi) then--(是否开启充值)
|
||||
else
|
||||
local isShow = true
|
||||
if jumpDataList[i] == JumpType.firstRecharge then
|
||||
if JumpConfig[jumpDataList[i]].Type == JumpType.firstRecharge then
|
||||
local id = ActivityGiftManager.IsActivityTypeOpen(ActivityTypeDef.FirstRecharge)
|
||||
if id and id > 0 then
|
||||
local configs = ConfigManager.GetAllConfigsDataByKey(ConfigName.ActivityRewardConfig,"ActivityId",id)
|
||||
|
@ -344,7 +344,7 @@ function RewardItemSingleShowPopup:OnShow()
|
|||
else
|
||||
isShow = false
|
||||
end
|
||||
elseif jumpDataList[i] == JumpType.ZhiZunJiangShi then
|
||||
elseif JumpConfig[jumpDataList[i]].Type == JumpType.ZhiZunJiangShi then
|
||||
local id = ActivityGiftManager.IsActivityTypeOpen(ActivityTypeDef.SupremeHero)
|
||||
if id and id > 0 then
|
||||
if ActivityGiftManager.GetRewardState(42)~=3 then
|
||||
|
|
Loading…
Reference in New Issue