10223 10238 10241 【越南】【砍树】【主干】【港台】仙匣秘境、骑宠养成、古宝养成,修复本服活动同时开多个时活动榜单可能被重置的bug;
| | |
| | | elif actName == ShareDefine.OperationActionName_BossTrial:
|
| | | PlayerActBossTrial.OnActStart(actNum)
|
| | | elif actName == ShareDefine.OperationActionName_XianXiaMJ:
|
| | | PlayerActXianXiaMJ.OnActStart(actNum)
|
| | | PlayerActXianXiaMJ.OnActStart(actNum, ipyData)
|
| | | elif actName == ShareDefine.OperationActionName_Gubao:
|
| | | PlayerActGubao.OnActStart(actNum)
|
| | | PlayerActGubao.OnActStart(actNum, ipyData)
|
| | | elif actName == ShareDefine.OperationActionName_HorsePetTrain:
|
| | | PlayerActHorsePetTrain.OnActStart(actNum)
|
| | | PlayerActHorsePetTrain.OnActStart(actNum, ipyData)
|
| | | elif actName == ShareDefine.OperationActionName_FamilyCTGAssist:
|
| | | PlayerActFamilyCTGAssist.OnActStart(actNum)
|
| | | else:
|
| | |
| | | import CrossRealmMsg |
| | | import GameWorld |
| | | |
| | | def OnActStart(actNum): |
| | | def OnActStart(actNum, ipyData): |
| | | ## 活动开启 |
| | | if not ipyData: |
| | | return |
| | | personalTemplateID = ipyData.GetPersonalTemplateID() |
| | | if not personalTemplateID: |
| | | GameWorld.DebugLog("古宝养成活动没有榜单奖励,不处理OnActStart! actNum=%s" % (actNum)) |
| | | return |
| | | PlayerDBGSEvent.SetDBGSTrig_ByKey(PlayerDBGSEvent.Def_ActGubaoAward % actNum, 0) |
| | | PlayerBillboard.ClearBillboardByIndex(ShareDefine.Def_BT_GubaoScore) |
| | | return |
| | |
| | | if not ipyData: |
| | | return |
| | | cfgID = ipyData.GetCfgID() |
| | | personalTemplateID = ipyData.GetPersonalTemplateID() |
| | | if not personalTemplateID: |
| | | GameWorld.DebugLog("古宝养成活动没有榜单奖励,不结算榜单奖励! actNum=%s" % (actNum)) |
| | | return |
| | | awardState = PlayerDBGSEvent.GetDBGSTrig_ByKey(PlayerDBGSEvent.Def_ActGubaoAward % actNum) |
| | | if awardState: |
| | | #已经结算过该活动 |
| | |
| | | import CrossRealmMsg |
| | | import GameWorld |
| | | |
| | | def OnActStart(actNum): |
| | | def OnActStart(actNum, ipyData): |
| | | ## 活动开启 |
| | | if not ipyData: |
| | | return |
| | | personalTemplateID = ipyData.GetPersonalTemplateID() |
| | | if not personalTemplateID: |
| | | GameWorld.DebugLog("骑宠养成活动没有榜单奖励,不处理OnActStart! actNum=%s" % (actNum)) |
| | | return |
| | | PlayerDBGSEvent.SetDBGSTrig_ByKey(PlayerDBGSEvent.Def_ActHorsePetTrainAward % actNum, 0) |
| | | PlayerBillboard.ClearBillboardByIndex(ShareDefine.Def_BT_HorsePetTrainScore) |
| | | return |
| | |
| | | if not ipyData: |
| | | return |
| | | cfgID = ipyData.GetCfgID() |
| | | personalTemplateID = ipyData.GetPersonalTemplateID() |
| | | if not personalTemplateID: |
| | | GameWorld.DebugLog("骑宠养成活动没有榜单奖励,不结算榜单奖励! actNum=%s" % (actNum)) |
| | | return |
| | | awardState = PlayerDBGSEvent.GetDBGSTrig_ByKey(PlayerDBGSEvent.Def_ActHorsePetTrainAward % actNum) |
| | | if awardState: |
| | | #已经结算过该活动 |
| | |
| | | import CrossRealmMsg |
| | | import GameWorld |
| | | |
| | | def OnActStart(actNum): |
| | | def OnActStart(actNum, ipyData): |
| | | ## 活动开启 |
| | | if not ipyData: |
| | | return |
| | | personalTemplateID = ipyData.GetPersonalTemplateID() |
| | | if not personalTemplateID: |
| | | GameWorld.DebugLog("仙匣秘境活动没有榜单奖励,不处理OnActStart! actNum=%s" % (actNum)) |
| | | return |
| | | PlayerDBGSEvent.SetDBGSTrig_ByKey(PlayerDBGSEvent.Def_ActXianXiaMJAward % actNum, 0) |
| | | PlayerBillboard.ClearBillboardByIndex(ShareDefine.Def_BT_XianXiaMJScore) |
| | | return |
| | |
| | | if not ipyData: |
| | | return |
| | | cfgID = ipyData.GetCfgID() |
| | | personalTemplateID = ipyData.GetPersonalTemplateID() |
| | | if not personalTemplateID: |
| | | GameWorld.DebugLog("仙匣秘境活动没有榜单奖励,不结算榜单奖励! actNum=%s" % (actNum)) |
| | | return |
| | | awardState = PlayerDBGSEvent.GetDBGSTrig_ByKey(PlayerDBGSEvent.Def_ActXianXiaMJAward % actNum) |
| | | if awardState: |
| | | #已经结算过该活动 |