From 254193aa2af834a522c6847b6b85250427563961 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 12 四月 2019 10:34:20 +0800
Subject: [PATCH] 6459 【后端】【2.0】缥缈仙域开发单(增加按时间掉血的NPC支持)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py
index 92cd4cd..1d6606f 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py
@@ -2974,6 +2974,11 @@
 Def_NPC_Dict_AtkDelayTick = "AtkDelayTick" # 延迟攻击时长
 Def_NPC_Dict_AtkStartTick = "AtkStartTick" # 开始攻击tick
 
+# 按时间掉血的NPC
+Def_NPC_Dict_TimeLostHPTick = 'TimeLostHPTick' # 上次按时间掉血tick
+Def_NPC_Dict_TimeLostHPPlayerCountTick = 'TimeLostHPPlayerCountTick ' # 上次刷新按时间掉血人数tick
+Def_NPC_Dict_TimeLostHPPlayerCount = 'TimeLostHPPlayerCount' # 按时间掉血有效人数
+
 #玩家状态定义,不能超过31个,如超过,需扩展多个key支持
 Def_PlayerStateList = (
     Def_PlayerState_Normal, # 无 0
@@ -4938,8 +4943,9 @@
 ntDestructible, #场景内可破坏的 19
 ntHelpBattleRobot, #助战机器人 20
 ntRobot, #机器人21
+ntMonsterTime, #按时间掉血的怪物 22
 ntMax
-) = range(23)
+) = range(24)
 
 
 (Def_SkillFuncType_Common, #0为通用技能

--
Gitblit v1.8.0