| | |
| | | factionInfo = {"faction":self.faction, "score":self.score, "superItemPlayerName":self.superItemPlayerName,
|
| | | "superItemProgress":self.superItemProgress, "factionBuffInfo":self.factionBuffInfo}
|
| | | factionInfo["hurtBossValue"] = self.hurtBossValue
|
| | | |
| | | sysCallBuyIDList = []
|
| | | for playerID in self.factionPlayerDict.keys():
|
| | | if playerID in PyGameData.g_crossBattlefieldSysCallBuyList:
|
| | | sysCallBuyIDList.append(playerID)
|
| | | factionInfo["sysCallBuyIDList"] = sysCallBuyIDList
|
| | | return factionInfo
|
| | |
|
| | | def addSuperItemProgress(self, addProgress):
|
| | |
| | | curPlayer.Sync_TimeTick(IPY_GameWorld.tttTowerTake, 0, max(notify_tick, 0), True)
|
| | | allotPlayerFaction(playerID, fightPower, curPlayer, fbStep, tick)
|
| | |
|
| | | NotifyBattlefieldHelp(True, curPlayer)
|
| | | return
|
| | |
|
| | | def IsSysCallBuyPlayer(playerID):
|
| | | ## 是否系统场次购买召集的玩家
|
| | | return playerID in PyGameData.g_crossBattlefieldSysCallBuyList
|
| | |
|
| | | def OnPlayerSysCallBuy(curPlayer):
|
| | | PlayerControl.FBNotify("CrossBattlefieldSysCallBuy", [curPlayer.GetPlayerName()])
|
| | | NotifyBattlefieldHelp(True, curPlayer)
|
| | | return
|
| | |
|
| | |
| | | GameWorld.DebugLog("玩家击杀对手! playerID=%s,atkFaction=%s,defObjType=%s,defID=%s"
|
| | | % (playerID, atkFaction, defObjType, defID), fbPropertyID)
|
| | |
|
| | | if playerID in worldObj.callOpenPlayerInfo:
|
| | | if playerID in worldObj.callOpenPlayerInfo or IsSysCallBuyPlayer(playerID):
|
| | | callPlayerKillScoreEx = IpyGameDataPY.GetFuncCfg("CrossBattlefieldScoreBase", 4)
|
| | | playerScore += callPlayerKillScoreEx
|
| | | GameWorld.DebugLog(" 召集人额外击杀分: callPlayerKillScoreEx=%s" % callPlayerKillScoreEx, fbPropertyID)
|
| | |
| | | worldObj = GetBattleWorld()
|
| | |
|
| | | # 召集开启的玩家 对 Boss的伤害倍值
|
| | | if playerID in worldObj.callOpenPlayerInfo and npcID == IpyGameDataPY.GetFuncCfg("CrossBattlefieldBoss", 1):
|
| | | if (playerID in worldObj.callOpenPlayerInfo or IsSysCallBuyPlayer(playerID)) \
|
| | | and npcID == IpyGameDataPY.GetFuncCfg("CrossBattlefieldBoss", 1):
|
| | | return IpyGameDataPY.GetFuncCfg("CrossBattlefieldBoss", 4)
|
| | |
|
| | | return 1
|