| | |
| | | PlayerFeastTravel.AddFeastTravelTaskValue(curPlayer, ChConfig.Def_FeastTravel_CTGExp, addVIPExp)
|
| | | #投资
|
| | | if ctgIpyData:
|
| | | PlayerGoldInvest.InvestByCTG(curPlayer, ctgIpyData.GetRecordID())
|
| | | ctgID = ctgIpyData.GetRecordID()
|
| | | PlayerGoldInvest.InvestByCTG(curPlayer, ctgID)
|
| | | PlayerGoldGift.OnGiftByCTGID(curPlayer, ctgID)
|
| | |
|
| | | serverDay = GameWorld.GetGameWorld().GetGameWorldDictByKey(ShareDefine.Def_Notify_WorldKey_ServerDay) + 1
|
| | | addDRDict.update({"gold":[goldBefore, goldAfter], "changeCoinPoint":[changeCoinPointBefore, changeCoinPointAfter], "todayCTGCoinTotal":todayCTGCoinTotal,
|
| | |
| | | # @param addGold: 充元宝数
|
| | | # @return: None
|
| | | def OnPlayerChargeGold(curPlayer):
|
| | | return
|
| | |
|
| | | def OnGiftByCTGID(curPlayer, ctgID):
|
| | |
|
| | | firstGoldCTGIDList = IpyGameDataPY.GetFuncEvalCfg("FirstGold", 4)
|
| | | if ctgID in firstGoldCTGIDList:
|
| | | OnActiviteFirstGold(curPlayer)
|
| | | |
| | | return
|
| | |
|
| | | def OnActiviteFirstGold(curPlayer):
|
| | | firstGoldServerDay = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_FirstGoldServerDay)
|
| | | if not firstGoldServerDay:
|
| | | recordServerDay = GameWorld.GetGameWorld().GetGameWorldDictByKey(ShareDefine.Def_Notify_WorldKey_ServerDay) + 1
|