xdh
2018-09-19 df49d94774809e774160c424b0672e9541fe7166
ServerPython/CoreServerGroup/GameServer/Script/ShareDefine.py
@@ -127,6 +127,7 @@
Def_Notify_Separator = '+'
#通知地图服务器并设置该字典值
Def_Notify_WorldKey_InitOpenServerTime = 'InitOpenServerTime'   # 开服时间
Def_Notify_WorldKey_ServerDay = 'ServerDay'               # 开服天数
Def_Notify_WorldKey_IsMixServer = 'IsMixServer'           # 是否合服服务器
Def_Notify_WorldKey_MixServerDay = 'MixServerDay'         # 合服天数
@@ -152,6 +153,7 @@
Def_Notify_WorldKey_LastDropTime = "LastDropTime_%s"  # 全局物品上次掉落时间, 参数(itemID)
Def_Notify_WorldKey_DropNPCKilledCnt = "DropNPCKilledCnt_%s"  # 全局物品绑定的NPC击杀次数, 参数(itemID)
Def_Notify_WorldKey_NPCKilledCount = "NPCKilledCount_%s"  # 全局NPC被击杀次数, 参数(npcID)
Def_Notify_WorldKey_WorldAverageLv = "WorldAverageLv"  #世界等级
Def_Notify_WorldKey_YdayLoginCnt= 'YdayLoginCnt'  # 昨天总在线人数
@@ -161,6 +163,8 @@
Def_Notify_WorldKey_ChampionFamilyID = "ChampionFamilyID"  # 仙盟联赛上次冠军仙盟ID
Def_Notify_WorldKey_FamilyBossOpenCount = "FamilyBossOpenCount"  # 仙盟boss开启次数
Def_Notify_WorldKey_FamilyPartyInfo = "FamilyPartyInfo"  # 仙盟宴会数据
Def_Notify_WorldKey_MergeBoss = "Merge_Boss"  # 跨服boss
@@ -186,6 +190,8 @@
Def_Notify_WorldKey_BossShuntPlayer = 'BossShuntPlayer'   # boss分流玩家信息
Def_Notify_WorldKey_BossShuntDeadLine = 'BossShuntDeadLine'   # boss分流线路已死亡的线路
Def_Notify_WorldKey_BossOnlineHeroCnt = 'BossOnlineHeroCnt_%s'  # boss刷新时间用的在线人数, 参数为NPCID
Def_Notify_WorldKey_FamilyKillHorsePetRobBossCnt = 'FamilyKillHorsePetRobBossCnt'   # 仙盟击杀骑宠boss数统计
Def_Notify_WorldKey_HorsePetRobBossPlayerCount = 'HorsePetRobBossPlayerCount'   # 骑宠争夺活动有效参考人数
Def_Notify_WorldKey_FamilyActivityDayState = "FamilyActivityDayState"  #战盟相关活动今日开启状态, 按位存储代表今日是否开启过
@@ -237,18 +243,8 @@
ActKey_ID = "ID" # 活动ID,唯一标识的ID,一般是活动开启的time值
ActKey_State = "State" # 活动状态 0-未开启, >0开启中,也代表当日的第几个时间段
ActKey_CfgID = "CfgID" # 活动表配置ID
ActKey_StartDate = "StartDate" # 开始日期 y-m-d
ActKey_EndDate = "EndDate" # 结束日期 y-m-d
ActKey_LVLimit = "LVLimit" # 限制玩家等级
ActKey_AddExpRate = "AddExpRate" # 多倍经验增加的经验倍率
ActKey_IsDayReset = "IsDayReset" # 消费返利是否每天重置
ActKey_TemplateID = "TemplateID" # 消费返利今日模板ID
ActKey_TemplateIDList = "TemplateIDList" # 消费返利模板ID列表
ActKey_ShopTypeList = "ShopTypeList" # 限时特惠商店类型
ActKey_DayIndex = "DayIndex" # 活动表配置ID
ActKey_WorldLV = "WorldLV" # 活动开启时世界等级
ActKey_GiftbagTypeList = "GiftbagTypeList" # 限时礼包ID列表
ActKey_RealmPointMulti = "RealmPointMulti" # X倍修行点
#答题类型枚举
Def_Game_ExamTypeList = range(1, 4 + 1)
@@ -474,6 +470,8 @@
Def_Effect_WingHPPer = 86 # 翅膀生命百分比
Def_Effect_SuiteBasePer = 87 # 套装基础属性百分比
Def_Effect_PlusBaseAtkPer = 88 # 强化基础攻击百分比
Def_Effect_NPCHurtAddPer = 89 # 对怪物伤害加成
#增加%d物理伤害值,其中a值为伤害值
Def_Effect_AddAtk = 1005
@@ -768,7 +766,9 @@
CDBPlayerRefresh_FuncDef,               # 功能层防御 185
CDBPlayerRefresh_TreasureScore,         # 寻宝积分
CDBPlayerRefresh_Danjing,               # 丹精
) = range(146, 188)
CDBPlayerRefresh_NPCHurtAddPer,         # 对怪物伤害加成
CDBPlayerRefresh_FinalHurtPer,             # 最终输出伤害百分比
) = range(146, 190)
TYPE_Price_Gold_Paper_Money = 5    # 金钱类型,(先用礼券,再用金子)
TYPE_Price_Family_Contribution = 6 # 战盟贡献度(活跃度转换得来)
@@ -847,7 +847,8 @@
GameFuncID_EquipDecompose = 123 # 装备分解
GameFuncID_DailyQuest = 78      # 日常
GameFuncID_FreeGoods = 130      # 极品白拿
GameFuncID_OSSail = 132         # 开服特惠
GameFuncID_HorsePetRobBoss = 139# 骑宠争夺
# 以下为暂时无用的
GameFuncID_GreatMaster = 28     # 大师
GameFuncID_Truck = 33           # 运镖
@@ -1603,7 +1604,8 @@
SuccType_IceLode, #通关冰晶矿脉成就125
SuccType_RefineStoveColor, #炼制X品质丹药X枚126
SuccType_UseStoveBylv, #使用X品丹药X枚127
) = range(1, 128)
SuccType_QueenRelicsEx, #通关娲皇遗迹128
) = range(1, 129)
@@ -1709,4 +1711,13 @@
FamilyActive_War, #仙盟联赛
FamilyActive_HelpDujie, #同盟护法
FamilyActive_SWRH, #守卫人皇
) = range(1,6+1)
) = range(1,6+1)
# BOSS 功能标识区分 对应KillBossCntLimit,主要根据击杀类型不同区分
(
Def_Boss_Func_World, # 世界BOSS
Def_Boss_Func_Home, # BOSS之家
Def_Boss_Func_Dogz, # 神兽功能BOSS
) = range(3)