hxp
2025-01-24 9ca1ba85b6040853ddbb5f9eb155404cbed1bba8
1111 【越南】【英语】【BT】【砍树】击杀boss后退出boss状态;
2个文件已修改
8 ■■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerState.py 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py
@@ -2565,6 +2565,7 @@
        DataRecordPack.SendEventPack("AddKillBossCnt", dataDict, curPlayer)
        PlayerSuccess.DoAddSuccessProgress(curPlayer, ShareDefine.SuccType_FeastRedPack_KillBoss, 1, [limitIndex])
        EventShell.EventRespons_KillBoss(curPlayer, limitIndex)
        PlayerState.SetBossStateExit(curPlayer)
        
    if isCrossServer:
        return
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerState.py
@@ -1590,6 +1590,13 @@
    curPlayer.SetDict(ChConfig.Def_PDict_BossStateTick, tick)
    #GameWorld.DebugLog("设置Boss状态tick!tick=%s" % tick, curPlayer.GetPlayerID())
    return
def SetBossStateExit(curPlayer):
    ## 设置退出boss状态
    if not IsInBossState(curPlayer):
        return
    curPlayer.SetDict(ChConfig.Def_PDict_BossStateTick, 0)
    PlayerControl.SendPropertyRefresh(curPlayer, ShareDefine.CDBPlayerRefresh_BossState, 0)
    return
    
def ProcessAreaExp(curPlayer, tick):
    ##给场景经验