| | |
| | |
|
| | | if isFight and ipyData.GetHelpBattleNotify():
|
| | | curTime = int(time.time())
|
| | | playerName = curPlayer.GetPlayerName()
|
| | | notifyKey, notifyParamList, notifyCD = ipyData.GetHelpBattleNotify()
|
| | | lastNotifyTime = g_helpBattleNotifyTimeDict.get(dogzID, 0)
|
| | | if curTime - lastNotifyTime >= notifyCD * 60:
|
| | | PlayerControl.WorldNotify(0, notifyKey, notifyParamList)
|
| | | PlayerControl.WorldNotify(0, notifyKey, [playerName] + notifyParamList)
|
| | | g_helpBattleNotifyTimeDict[dogzID] = curTime
|
| | | return
|
| | |
|
| | |
| | | GameWorld.DebugLog("购买神兽助战位! updBuyCount=%s" % updBuyCount, playerID)
|
| | |
|
| | | Sync_DogzInfo(curPlayer)
|
| | | PlayerControl.WorldNotify(0, "DogzNumberUp", [curPlayer.GetPlayerName(), needItemID, curHelpFightCount + 1])
|
| | | return
|
| | |
|
| | |
|