hxp
2018-08-31 04a0c07b609c22633a00d0d69009746db594182a
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py
@@ -177,7 +177,7 @@
TYPE_Calc_JobCAtkReducePer,             # 弓手攻击伤害减免
TYPE_Calc_CommMapExpRate,               # 常规地图经验倍率加成
TYPE_Calc_FujiaHitRate,                 # 富甲一击几率
TYPE_Calc_FinalHurtPer,                 # 最终伤害百分比
TYPE_Calc_FuhaoHitRate,                 # 富豪一击几率 95
TYPE_Calc_BossIDHurt,                   # 对指定boss伤害加成固定值
TYPE_Calc_BossIDHurtAddPer,             # 对指定boss伤害加成倍率
@@ -397,6 +397,7 @@
Def_Effect_AddDienstgrad = 204   #使用物品获得称号
Def_Effect_UseItemGiveZhenQi = 205      #使用道具给予真气
Def_Effect_ItemGiveFamilyActivity = 208      #使用道具给予仙盟活跃令
Def_Effect_ItemGiveFamilyContribution = 209      #使用道具给予仙盟贡献
Def_Effect_TJGAddTime = 210      #增加脱机挂时间
Def_Effect_ItemAddExp = 213      #给经验道具 
Def_Effect_ItemAddLV = 214       #直接升级道具 
@@ -554,7 +555,8 @@
Def_Skill_Effect_SummonAttr = 1013 # 召唤兽属性
Def_Skill_Effect_BoomSeedID = 1014 # 引爆BUFF种子
Def_Skill_Effect_RandWarn = 1061 # 随机预警
Def_Skill_Effect_AttackReplaceByNPCSeries = 1062 # 对指定系的伤害
Def_Skill_Effect_AttackReplaceByNPCSeries = 1062 # 对指定系的伤害
Def_Skill_Effect_AvgHurtFMCnt = 1064 # NPC技能按仙盟成员数均摊伤害
Def_Skill_Effect_AreaAttackkCount = 1200    #区域技能攻击数量
Def_Skill_Effect_PowerPart = 1206  # 充能能量分段,触发即算一次充能,拉进度条蓄力
Def_Skill_Effect_ProcessAttack = 1314  # 间隔性攻击,A值为攻击次数,B值为是否广播客户端
@@ -1027,13 +1029,13 @@
) = range( 0, Def_PA_MaxReason )
#提示原因及对应的提示mark组成的字典
Def_MessageDic = {Def_PASysMessage_NewGuy:"XW_RY_CancelWay01",            #攻击新手
Def_MessageDic = {Def_PASysMessage_NewGuy:"FairyGrabBossNewPlayer",            #攻击新手
                  Def_PASysMessage_IsSafeArea: "CannotAtk01",             #安全区域
                  Def_PASysMessage_AttackMode:"AtkModeErr",               #攻击模式
                  Def_PASysMessage_CountrySafe:"PlayerPK_Error_GoalLvLow",#国家保护
                  Def_PASysMessage_IsSafeArea_Country:"Cadres_PK_Lost",   #国家安全区保护
                  Def_PASysMessage_NewGuyNotPK:"PK_lhs_0",                #新手不能PK
                  Def_PASysMessage_NotAttackNewGuy:"PK_lhs_31379",        #不能攻击新手
                  Def_PASysMessage_NotAttackNewGuy:"FairyGrabBossNewPlayer",        #不能攻击新手
                  Def_PASysMessage_NotAttackFamily:"Old_andyshao_161795", #不能攻击同家族成员
                  Def_PASysMessage_NotAttackTeam:"PK_lhs_861048",         #不能攻击队友
                  Def_PASysMessage_AttackNotPK:"PK_lhs_202580",           #攻击方PK值过大,不能PK
@@ -1096,8 +1098,6 @@
Def_LuckyHitVal = 11000
#卓越一击的攻击力相对普攻倍值
Def_GreatHitVal = 12500
#富甲一击的攻击力相对普攻倍值
Def_FujiaHitVal = 11000
#富豪一击的攻击力相对普攻倍值
Def_FuhaoHitVal = 11000
#服务器统一使用万分率(用于计算百分比 10000为100%)
@@ -1914,6 +1914,7 @@
Map_Player_AreaReward_GetCnt = "AreaAward_GetCnt%s" # 玩家战场区域福利-累计获得次数
#---地图NPC---
Map_NPC_ActivityBossRebornCount = 'ActivityBossRebornCount_%s' # 活动boss已刷新只数,参数(标识点)
Map_NPC_WorldBossLastReBornTick = 'WorldBossLastReBornTick_%s' # 世界boss上次重生时间
Map_NPC_WorldBossDeadTick = 'WorldBossDeadTick_%s' # 世界boss死亡时间
Map_NPC_RandomMapNPCID = 'RandMapNPCID_%s' # 当前地图随机NPCID, 参数为标识点mark
@@ -2036,6 +2037,7 @@
Def_NPCHurtTypeAll    = 4       #所有玩家
Def_NPCHurtTypeFaction= 5       #阵营
Def_NPCHurtTypeSpecial= 6       #特殊, 指定某些玩家, 玩家ID取ShareDefine.Def_MapItemInfo_SpecOwner
Def_NPCHurtTypeFamily = 7       #仙盟 7
#掉落归属类型-NPC表的定义
DropOwnerType = (
@@ -2046,7 +2048,8 @@
DropOwnerType_MaxHurtPlayer, # 最大伤血玩家, 伤血不会被重置, 仅限玩家 4
DropOwnerType_Faction, # 阵营 5
DropOwnerType_Special, # 特殊 6
) = range(7)
DropOwnerType_Family, # 仙盟 7
) = range(8)
#------------------------------------------------
#技能类型
@@ -2957,6 +2960,8 @@
    Def_PlayerState_MissSneerAtk, # 对嘲讽攻击免疫表现为miss 16
) = range(17)
#---SetDict 含NPC字典KEY,不存于数据库---
Def_GameObjKey_InheritOwner = "InheritOwner"  # 类暴风雪计算时用主人属性
#---SetDict 玩家字典KEY,不存于数据库---
# key的长度不能超过29个字节
@@ -3104,7 +3109,7 @@
Def_PlayerKey_LastHurtValue = "LastHurtValue" # 最后一次伤害值
Def_PlayerKey_ReduceSkillCDPer = "ReduceSkillCDPer" # 减技能CD万分率
Def_PlayerKey_CommMapExpRate = "CommMapExpRate" # 常规地图经验倍率加成
Def_PlayerKey_FujiaHitRate = "FujiaHitRate" # 富甲一击概率
Def_PlayerKey_FinalHurtPer = "FinalHurtPer" # 最终伤害百分比
Def_PlayerKey_FuhaoHitRate = "FuhaoHitRate" # 富豪一击概率
Def_PlayerKey_FinalHurt = "FinalHurt" # 最终固定伤害增加
Def_PlayerKey_BleedDamage = "BleedDamage" # 流血伤害
@@ -3348,7 +3353,7 @@
Def_PDict_TreasureStartCalcFreeCntTime = "TreasureFreeCntTime_%s"  # 寻宝 - 开始计算免费次数CD时间, 参数(寻宝编号)
Def_PDict_TreasureFreeTime = "TreasureFreeTime_%s_%s"  # 寻宝开始免费计时time值, 参数(寻宝类型, 寻宝索引)
Def_PDict_TreasureCount = "TreasureCount_%s"  # 寻宝次数, 参数(寻宝类型)
Def_PDict_TreasureCount = "TreasureCount_%s_%s"  # 寻宝次数, 参数(寻宝类型,是否免费)
Def_PDict_TreasureLuck = "TreasureLuck_%s"  # 寻宝当前幸运值, 参数(寻宝类型)
Def_Player_Dict_LastAutoOpenPackTick = "LastAutoOpenPackTick219_%s"   #上一次自动购买的tick<背包类型>
@@ -3380,6 +3385,7 @@
Def_PDict_FirstGoldTry = "FirstGoldTry"     # 首充试用状态 0-不可试用 1-可试用 2-已试用
Def_PDict_DailyGoldChargeState = "DailyGoldChargeState"  # 天天首充活动状态,0-未开启;1-已开启
Def_PDict_DailyChargeState = "DailyChargeState"  # 当日是否已充值
Def_PDict_SuperGiftData = "SuperGiftData"  # 超值礼包数据
Def_PDict_DailyGoldChargePrizeRecord = "DailyGoldChargePrizeRecord"  # 天天首充领奖记录,0-不可领;1-可领;2-已领
Def_PDict_DailyGoldChargeCnt = "DailyGoldChargeCnt"  # 当日已充值数
Def_PDict_SingleGoldGiftIndex = "SingleGoldGiftIndex"  # 单日充值多选一礼包领取状态, 0-未领取,>0已领取索引
@@ -3535,6 +3541,9 @@
#上古战场
Def_Player_Dict_ElderBattlefieldStage = "ElderBattlefieldStage"  # 本次达到阶段
#仙盟宴会
Def_Player_Dict_FamilyPartyAnswerCnt = "FamilyPartyAnswerCnt"  # 答题数量
#虚拟背包物品数据
Def_PDict_VPackItem = "VPackItem_%s_%s" # 虚拟背包物品数据, 参数(背包类型, 位置索引)
@@ -3897,7 +3906,7 @@
AttrName_GreatHitRateReduce = "GreatHitRateReduce"  # 抗卓越一击概率
AttrName_SuperHitRateReduce = "SuperHitRateReduce"  # 抗致命一击概率
AttrName_IgnoreDefRateReduce = "IgnoreDefRateReduce"  # 抗无视防御概率
AttrName_FujiaHitRate = "FujiaHitRate"  # 富甲一击概率
AttrName_FinalHurtPer = "FinalHurtPer"  # 最终伤害百分比
AttrName_FuhaoHitRate = "FuhaoHitRate"  # 富豪一击概率
AttrName_FinalHurt = "FinalHurt"  # 最终固定伤害增加
AttrName_FinalHurtReduce = "FinalHurtReduce"  # 最终固定伤害减少
@@ -4027,7 +4036,7 @@
    ShareDefine.Def_Effect_SuperHitRateReduce:[[TYPE_Calc_SuperHitRateReduce], False, TYPE_Linear],
    AttrName_DamReducePer:[[TYPE_Calc_AttrDamReduce], False, TYPE_Linear],
    AttrName_DamagePer:[[TYPE_Calc_DamagePer], False, TYPE_Linear],
    AttrName_FujiaHitRate:[[TYPE_Calc_FujiaHitRate], False, TYPE_Linear],
    AttrName_FinalHurtPer:[[TYPE_Calc_FinalHurtPer], False, TYPE_Linear],
    AttrName_FuhaoHitRate:[[TYPE_Calc_FuhaoHitRate], False, TYPE_Linear],
    ShareDefine.Def_Effect_FinalHurt:[[TYPE_Calc_FinalHurt], False, TYPE_Linear],
    ShareDefine.Def_Effect_FinalHurtReduce:[[TYPE_Calc_FinalHurtReduce], False, TYPE_Linear],