hxp
2020-01-17 16abecd38712b22026a85e1119f2f4c38d89a00f
8364 【恺英】【后端】快速完成秘境探索增加完成提示
1个文件已修改
7 ■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActivity.py 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActivity.py
@@ -701,7 +701,7 @@
    if delItemCount > 0:
        ItemCommon.DelCostItemByBind(curPlayer, costItemIndexList, bindCnt, unBindCnt, delItemCount, ChConfig.ItemDel_ActivityPlace)
        
    __DoActivityPlaceRewardEnd(curPlayer, finishCount)
    __DoActivityPlaceRewardEnd(curPlayer, finishCount, isQuick=True)
    return
def ProcessActivityPlace(curPlayer):
@@ -728,7 +728,7 @@
    __DoActivityPlaceRewardEnd(curPlayer, endCount, nextStartReduceSeconds)
    return
def __DoActivityPlaceRewardEnd(curPlayer, endCount, nextStartReduceSeconds=0):
def __DoActivityPlaceRewardEnd(curPlayer, endCount, nextStartReduceSeconds=0, isQuick=False):
    ## 放置活跃奖励结算
    
    remainCount = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_ActivityPlaceRemainCount)
@@ -828,6 +828,9 @@
        PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_ActivityPlaceRewardItem, rewardItemCount)
        #GameWorld.DebugLog("    新增探索奖励: itemID=%s,itemCount=%s,rewardItemCount=%s" % (itemID, itemCount, rewardItemCount))
        
    if isQuick:
        PlayerControl.NotifyCode(curPlayer, "ActivityPlaceQuickFinishOK")
    Sync_ActivityPlaceInfo(curPlayer)
    return