| | |
| | | ctgRealTotal += orderCoin
|
| | | PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_CTGRealTotal, ctgRealTotal)
|
| | |
|
| | | orderInfo = addDRDict.get("orderInfo", "")
|
| | | ctgID = ctgIpyData.GetRecordID() if ctgIpyData else 0
|
| | | notifyMark = ctgIpyData.GetNotifyMark() if ctgIpyData else ""
|
| | | goldBefore = curPlayer.GetGold()
|
| | | bourseMoneyBefore = PlayerControl.GetMoney(curPlayer, ShareDefine.TYPE_Price_BourseMoney)
|
| | |
| | | PlayerControl.GiveMoney(curPlayer, moneyType, prizeGold, eventName, addDRDict, isGiveBourseMoney=isAddBourseMoney)
|
| | |
|
| | | if giveItemList:
|
| | | ItemControler.GivePlayerItemOrMail(curPlayer, giveItemList, "", event=[ChConfig.ItemGive_CTG, True, copy.deepcopy(addDRDict)])
|
| | | ItemControler.GivePlayerItemOrMail(curPlayer, giveItemList, "", event=[ChConfig.ItemGive_CTG, True, copy.deepcopy(addDRDict)], isNotifyAward=False)
|
| | | if notifyMark:
|
| | | mainItemID = giveItemList[0][0]
|
| | | PlayerControl.WorldNotify(0, notifyMark, [curPlayer.GetName(), mainItemID, ''])
|
| | | else:
|
| | | if notifyMark:
|
| | | PlayerControl.WorldNotify(0, notifyMark, [curPlayer.GetName()])
|
| | | |
| | | ItemControler.NotifyGiveAwardInfo(curPlayer, giveItemList, ChConfig.ItemGive_CTG, moneyInfo={moneyType:addGold+prizeGold}, |
| | | dataEx={"orderInfo":orderInfo, "ctgID":ctgID})
|
| | | |
| | | addVIPExp = coinExp
|
| | | PlayerVip.AddVIPExp(curPlayer, addVIPExp)
|
| | |
|