From 990e1af68786c2b88167c2ccd6f2cf95c839794f Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期四, 23 八月 2018 22:10:40 +0800
Subject: [PATCH] fix:防范没有技能导致报错
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py | 13 +++++++++----
1 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py
index 719c2e0..ed365f9 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py
@@ -744,7 +744,8 @@
Def_HurtType_SuperHit, # 暴击 7
Def_HurtType_LuckyHit, # 会心一击伤害 8
Def_HurtType_Miss, # 闪避 9
-) = range(1, 10)
+Def_HurtType_Immune, # 免疫 10
+) = range(1, 11)
#Def_HurtType_SuckBlood, # 吸血
(
@@ -1841,7 +1842,7 @@
'Guard':[Def_FBMapID_Guard], #守护副本
'SealDemon':[Def_FBMapID_SealDemon, Def_FBMapID_SealDemonEx], #封魔坛
'XMZZ':[Def_FBMapID_XMZZ], #仙魔之争
- #'Dogz':[Def_FBMapID_Dogz], #神兽副本
+ 'Dogz':[Def_FBMapID_Dogz], #神兽副本
}
#特殊副本ID, 由系统分配, 进入时候不验证IsMapCopyFull
@@ -2436,7 +2437,7 @@
#---------------------------------------------------------------------
#请求类型(需要和GameServer中的一致)
-Def_QueryType_Count = 54
+Def_QueryType_Count = 55
(
queryType_sqtPlayer, #查询玩家
queryType_sqtFamilyWar, #家族战
@@ -2492,6 +2493,7 @@
queryType_ServerRewardNotify, #全服奖励提示
queryType_EnterFB, #进入副本
queryType_NPCInfo, #查询NPCInfo
+queryType_NPCCnt, #查询NPC数量
) = range(0, Def_QueryType_Count)
#------------------------------------------------------------------------------
#---------------------------------------------------------------------
@@ -4856,7 +4858,10 @@
Def_SkillFuncType_PetSkill, #6为宠物技能
Def_SkillFuncType_GWSkill, #7为神兵技能
Def_SkillFuncType_NormalAttack, #8为普攻
-) = range(9)
+Def_SkillFuncType_SP15, #9为SP15级 服务端未用到
+Def_SkillFuncType_SkillRoll, #10为翻滚 服务端未用到
+Def_SkillFuncType_RealmSuppress, #11为境界压制 目前是NPC在用
+) = range(12)
# 受技能效果完全影响的怪, 对应 Def_BattleRelationType_CommNoBoss
Def_SkillAttack_NPCIsBoss = [ Def_NPCType_Ogre_Normal , #平凡小怪 0 # c++ 定义为普通NPC视野刷新
--
Gitblit v1.8.0