hxp
2019-01-19 ad46a0c520f5b6e8e432c97bb2416e80a5b6eceb
5722 【后端】【1.5】跨服BOSS开发(跨服PK重复领取赛季奖励防范)
1个文件已修改
6 ■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCrossRealmPK.py 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCrossRealmPK.py
@@ -156,7 +156,7 @@
        DR_GetCrossPKAward(curPlayer, zoneID, seasonID, eventName, True, mailDetail)
        
    # 查询 GameServer 玩家赛季排名
    if not curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_CrossPK_SeasonAwardState):
    if not curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_CrossPK_SeasonAwardState) and playerDanLV:
        OnQueryCrossPKSeasonOrderAward(curPlayer, zoneID, seasonID, True)
        
    # 重置状态
@@ -461,6 +461,10 @@
        
    elif awardType == 4:
        GameWorld.DebugLog("玩家领取赛季结算奖励!", playerID)
        totalScore = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_CrossPK_TotalScore)
        if not totalScore:
            GameWorld.DebugLog("无赛季积分无法领取奖励!", playerID)
            return
        if GameWorld.GetGameWorld().GetGameWorldDictByKey(ShareDefine.Def_Notify_WorldKey_CrossPKSeasonState) != 2:
            GameWorld.DebugLog("非赛季结算阶段,不可领取!", playerID)
            return