刷冲特权满足条件修改
parent
56cdd1b8d3
commit
23e7d219e7
|
@ -109,7 +109,8 @@ local function _CompareCondition(type, condition, value)
|
|||
else
|
||||
local id = 2200 + condition+1
|
||||
--LogError("condition===="..condition.." id=="..id)
|
||||
local isBuy = OperatingManager.IsBuyGift(id)
|
||||
local mission=ActivityGiftManager.GetActivityInfo(ActivityTypeDef.shuaChongTeQuan,id)
|
||||
local isBuy = OperatingManager.IsBuyGift(id) or (mission and mission.state>0)
|
||||
if isBuy then
|
||||
LogGreen("已购买")
|
||||
end
|
||||
|
@ -165,6 +166,7 @@ function PrivilegeManager.GetPrivilegeNumberById(privilegeId, value)
|
|||
end
|
||||
end
|
||||
|
||||
|
||||
--获取特权次数或者收益相关值(纯前端读表)
|
||||
--- value 自定义比较值,为空时使用玩家自己的默认值进行比较,
|
||||
function PrivilegeManager.GetPrivilegeNumber(privilegeType, conValue)
|
||||
|
|
Loading…
Reference in New Issue