| | |
| | | RefreshDogzAttr(curPlayer, True)
|
| | | PlayerControl.PlayerControl(curPlayer).RefreshPlayerAttrState()
|
| | |
|
| | | 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, [playerName] + notifyParamList)
|
| | | g_helpBattleNotifyTimeDict[dogzID] = curTime
|
| | | #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, [playerName] + notifyParamList)
|
| | | # g_helpBattleNotifyTimeDict[dogzID] = curTime
|
| | | return
|
| | |
|
| | |
|