| | |
| | | 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
|
| | |
|
| | |
|
| | |
| | |
|
| | | def RefreshDogzAttr(curPlayer, isUpdateSucc=False):
|
| | | ## 刷新神兽属性
|
| | | return
|
| | | totalPlusLv = 0 #出战神兽装备总强化等级
|
| | | fightPowerEx = 0
|
| | | allAttrList = [{} for _ in range(4)]
|