buff破裂特效

This commit is contained in:
chenxi 2023-04-25 16:20:18 +08:00
parent c1ed407a0f
commit 824841e6f1
4 changed files with 17 additions and 2 deletions

View File

@ -370,7 +370,7 @@ function BIReport:postPurchase(price, content, originOrderId, orderId)
CS.BF.BFMain.Instance.SDKMgr.BFLoginSDKMgr.FBSdk:LogPurchase(price, "USD", json.encode(fbArgs))
-- 上报付费到adjust
CS.BF.BFMain.Instance.SDKMgr.BFThirdReportSDKMgr:PostAdjustRevenueTrackEvent("qm803c", price, "USD")
CS.BF.BFMain.Instance.SDKMgr.BFThirdReportSDKMgr:PostAdjustRevenueTrackEvent("naoyh8", price, "USD")
end
-- 上报等级提升事件,单独处理,只上报到AF和FB,不上报数数

View File

@ -282,6 +282,16 @@ function BattleTeam:updateBuffState(buff, num)
end
end
end
local fxDisappear = buff:getFxDisappear()
if fxDisappear then
local fxCfg = BattleHelper:getFxConfig()
for k, v in ipairs(fxDisappear) do
local fxInfo = fxCfg[v]
if fxInfo then
self.mainUnit:getEffectAndPlay(fxInfo, false)
end
end
end
elseif buffNum == 1 then -- 新添加buff
local fxList = buff:getFxContinued()
if fxList then

View File

@ -18,7 +18,8 @@ end
---- 登录界面资源加载完毕后调用
function LoginManager:loginGame()
BIReport:postAdjustSimpleTrackEvent("modt3z", {})
-- adjust 打开应用事件识别码
BIReport:postAdjustSimpleTrackEvent("xbszrl", {})
CS.BF.BFMain.IsGotServerTime = true
ServerDataManager:dataOperate(GConst.ServerDataConst.DATA_OP_BEHAVIOR.SYNC_DATA, GConst.EMPTY_TABLE, function(msgData)

View File

@ -90,4 +90,8 @@ function BattleBuffEntity:getFxTake()
return self.buffInfo.fx_take
end
function BattleBuffEntity:getFxDisappear()
return self.buffInfo.fx_disappear
end
return BattleBuffEntity