| | |
| | | import PlayerBillboard
|
| | | import PlayerActivity
|
| | | import PlayerSuccess
|
| | | import PyMapTable
|
| | | import ItemCommon
|
| | | import ItemControler
|
| | | import QuestCommon
|
| | |
| | | # @remarks 函数详细说明.
|
| | | def CreateTruck(curPlayer,truckMoney, money_type,summonID, eventID, tick):
|
| | | # 跨服服务器功能限制
|
| | | if GameWorld.IsMergeServer():
|
| | | if GameWorld.IsCrossServer():
|
| | | return
|
| | |
|
| | | #判断是否已经存在镖车,存在消失
|
| | |
| | | TruckCreatAwardDict = ReadChConfig.GetEvalChConfig("TruckCreatAward")
|
| | | if truckLv in TruckCreatAwardDict:
|
| | | for itemID, itemCount, isBind in TruckCreatAwardDict[truckLv]:
|
| | | ItemControler.GivePlayerItem(curPlayer, itemID, itemCount, isBind, [IPY_GameWorld.rptItem, IPY_GameWorld.rptAnyWhere], showEff=True)
|
| | | ItemControler.GivePlayerItem(curPlayer, itemID, itemCount, 0, [IPY_GameWorld.rptItem, IPY_GameWorld.rptAnyWhere])
|
| | | PlayerControl.NotifyCode(curPlayer, "GeRen_liubo_366028", [itemID, itemCount])
|
| | | PlayerControl.WorldNotify(0, "GeRen_liubo_161795", [curPlayer.GetPlayerName(), itemID, itemCount])
|
| | |
|