3224 【开发】boss技能cd重置和回血同步(技能CD及召唤兽只在boss重生或boss血量满血时才重置);
1个文件已修改
3 ■■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py
@@ -3090,10 +3090,13 @@
        curNPC = self.__Instance
        #清除状态
        self.__ClearNPCAllState(False)
        #只在重生或者满血的状态下才重置以下内容
        if isReborn or GameObj.GetHP(curNPC) >= GameObj.GetMaxHP(curNPC):
        #初始化召唤兽
        self.__InitNPCSummon()
        #重置技能CD
        self.__NormalNPCInItCD()
        #重刷属性
        self.RefreshNPCState(isReborn=isReborn)
        #通知血量, 复活的情况不通知血量,由NPC出现包通知