|  |  | 
 |  |  | TYPE_Calc_JobCAtkReducePer,             # 弓手攻击伤害减免
 | 
 |  |  | 
 | 
 |  |  | TYPE_Calc_CommMapExpRate,               # 常规地图经验倍率加成
 | 
 |  |  | TYPE_Calc_FujiaHitRate,                 # 富甲一击几率
 | 
 |  |  | TYPE_Calc_FinalHurtPer,                 # 最终伤害百分比
 | 
 |  |  | TYPE_Calc_FuhaoHitRate,                 # 富豪一击几率 95
 | 
 |  |  | TYPE_Calc_BossIDHurt,                   # 对指定boss伤害加成固定值
 | 
 |  |  | TYPE_Calc_BossIDHurtAddPer,             # 对指定boss伤害加成倍率
 | 
 |  |  | 
 |  |  | Def_ItemType_ResetAttrPoint = 59       #洗点卷轴 使用后将某个属性一定值变为未分配属性
 | 
 |  |  | 
 | 
 |  |  | Def_ItemType_DogzEquipExp = 70  # 神兽装备经验
 | 
 |  |  | Def_ItemType_DogzEquipHorn = 71      # 神兽装备兽角
 | 
 |  |  | Def_ItemType_DogzEquipEye = 72      # 神兽装备魔眼
 | 
 |  |  | Def_ItemType_DogzEquipTooth = 73      # 神兽装备獠牙
 | 
 |  |  | Def_ItemType_DogzEquipClaw = 74     # 神兽装备兽爪
 | 
 |  |  | Def_ItemType_DogzEquipSquama = 75       # 神兽装备鳞甲
 | 
 |  |  | 
 | 
 |  |  | Def_ItemType_TreasureBox = 81       #不限制开启条件宝箱
 | 
 |  |  | Def_ItemType_TreasureBox2 = 82       #限制开启条件宝箱
 | 
 |  |  | 
 |  |  | Def_ItemType_retBaldric5 = 117     #17 佩饰
 | 
 |  |  | Def_ItemType_retBaldric6 = 118     #18 佩饰
 | 
 |  |  | 
 | 
 |  |  | Def_ItemType_DogzEquipHorn = 119    # 神兽兽角
 | 
 |  |  | Def_ItemType_DogzEquipEye = 120     # 神兽魔眼
 | 
 |  |  | Def_ItemType_DogzEquipTooth = 121   # 神兽獠牙
 | 
 |  |  | Def_ItemType_DogzEquipClaw = 122    # 神兽兽爪
 | 
 |  |  | Def_ItemType_DogzEquipScute = 123   # 神兽鳞甲
 | 
 |  |  | 
 | 
 |  |  | #以下定义物品类型下次删除
 | 
 |  |  | Def_Item_Type_Horse = 1000036          #坐骑
 | 
 |  |  | 
 | 
 |  |  | 
 |  |  |                      }
 | 
 |  |  | 
 | 
 |  |  | #虚拟背包可以放入的物品字典
 | 
 |  |  | Def_VPackItem_Dict = {
 | 
 |  |  | Def_PackItemTypeList_Dict = {
 | 
 |  |  | ShareDefine.rptRune:[Def_ItemType_Rune, Def_ItemType_RuneExp],
 | 
 |  |  | ShareDefine.rptDogzItem:[Def_ItemType_DogzEquipExp, Def_ItemType_DogzEquipHorn, Def_ItemType_DogzEquipEye,  | 
 |  |  |                          Def_ItemType_DogzEquipTooth, Def_ItemType_DogzEquipClaw, Def_ItemType_DogzEquipScute],
 | 
 |  |  |                       }
 | 
 |  |  | 
 | 
 |  |  | def GetItemPackType(itemType):
 | 
 |  |  | def GetItemPackType(itemType, defaultPack=IPY_GameWorld.rptItem):
 | 
 |  |  |     ## 获取物品类型对应存放的默认背包类型
 | 
 |  |  |     for pack, itemTypeList in Def_VPackItem_Dict.items():
 | 
 |  |  |     for pack, itemTypeList in Def_PackItemTypeList_Dict.items():
 | 
 |  |  |         if itemType in itemTypeList:
 | 
 |  |  |             return pack
 | 
 |  |  |     return IPY_GameWorld.rptItem
 | 
 |  |  |     return defaultPack
 | 
 |  |  | 
 | 
 |  |  | # 部位对应装备类型列表
 | 
 |  |  | Def_PlaceEquipType = {
 | 
 |  |  | 
 |  |  | 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       #直接升级道具 
 | 
 |  |  | 
 |  |  | Def_Effect_ResetAttrPoint = 231   # 洗点
 | 
 |  |  | Def_Effect_AddFBCnt = 233   # 增加副本可进入次数
 | 
 |  |  | Def_Effect_AddKillBossCnt = 234   # 增加BOSS可击杀次数
 | 
 |  |  | Def_Effect_DogzEquipPlusExp = 235   # 神兽强化材料经验效果,A值基础经验,B值双倍强化消耗仙玉
 | 
 |  |  | 
 | 
 |  |  | #----以下未使用或代码依然存在的---
 | 
 |  |  | Def_Effect_ItemGiveGongXun = 1920        #使用道具给予功勋
 | 
 |  |  | 
 |  |  | 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值为是否广播客户端
 | 
 |  |  | 
 |  |  | Def_HurtType_SuperHit,       # 暴击 7
 | 
 |  |  | Def_HurtType_LuckyHit,       # 会心一击伤害 8
 | 
 |  |  | Def_HurtType_Miss,           # 闪避 9
 | 
 |  |  | ) = range(1, 10)
 | 
 |  |  | Def_HurtType_Immune,           # 免疫 10
 | 
 |  |  | Def_HurtType_RealmSupress,     # 境界压制 11
 | 
 |  |  | ) = range(1, 12)
 | 
 |  |  | #Def_HurtType_SuckBlood,      # 吸血 
 | 
 |  |  | 
 | 
 |  |  | (
 | 
 |  |  | 
 |  |  | 
 | 
 |  |  | Def_EquipItemType_TJGAutoEat = xrange(Def_ItemType_retWeapon, Def_ItemType_retShoes + 1)
 | 
 |  |  | #装备类型
 | 
 |  |  | Def_EquipItemType = xrange(Def_ItemType_retWeapon, Def_ItemType_retBaldric6 + 1)
 | 
 |  |  | Def_EquipItemType = xrange(Def_ItemType_retWeapon, Def_ItemType_DogzEquipScute + 1)
 | 
 |  |  | 
 | 
 |  |  | #武器类型
 | 
 |  |  | Def_WeaponItemType = [Def_ItemType_retWeapon, Def_ItemType_retWeapon2]
 | 
 |  |  | 
 | 
 |  |  | #神兽装备类型
 | 
 |  |  | Def_DogzEquiipType = xrange(Def_ItemType_DogzEquipHorn, Def_ItemType_DogzEquipScute + 1)
 | 
 |  |  | 
 | 
 |  |  | # 技能造成实质性伤害的类型
 | 
 |  |  | Def_RealAttack_Type = [Def_HurtType_Normal,         # 普通伤害 1
 | 
 |  |  |                        Def_HurtType_Parry,          # 格挡 5
 | 
 |  |  |                        Def_HurtType_DoubleHit,      # 连击 6
 | 
 |  |  |                        Def_HurtType_SuperHit,       # 暴击 7
 | 
 |  |  |                        Def_HurtType_LuckyHit,       # 会心一击伤害 8]
 | 
 |  |  |                        Def_HurtType_LuckyHit,       # 会心一击伤害 8
 | 
 |  |  |                        Def_HurtType_RealmSupress,     # 境界压制 11
 | 
 |  |  |                        ]
 | 
 |  |  | 
 | 
 |  |  | #---------------------------------------------------------------------
 | 
 |  |  | 
 |  |  | Def_PackCnt_OfficerSkill = 0
 | 
 |  |  | #寻宝背包格子数
 | 
 |  |  | Def_PackCnt_Treasure = 100
 | 
 |  |  | #初始化神兽背包格子数
 | 
 |  |  | Def_PackCnt_DogzItem = 100
 | 
 |  |  | #初始化神兽装备格子数
 | 
 |  |  | Def_PackCnt_DogzEquip = 100
 | 
 |  |  | #初始化装备栏2
 | 
 |  |  | Def_PackCnt_Equip2 = 0
 | 
 |  |  | #初始化回收站
 | 
 |  |  | 
 |  |  | ) = 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
 | 
 |  |  | 
 |  |  |                                     ShareDefine.rptTempItem,
 | 
 |  |  |                                     ShareDefine.rptTreasure,
 | 
 |  |  |                                     ShareDefine.rptPet,
 | 
 |  |  |                                     ShareDefine.rptDogzItem,
 | 
 |  |  |                                     ShareDefine.rptDogzEquip,
 | 
 |  |  |                                     ]
 | 
 |  |  | 
 | 
 |  |  | #装备可强化背包列表
 | 
 |  |  | 
 |  |  | Def_LuckyHitVal = 11000
 | 
 |  |  | #卓越一击的攻击力相对普攻倍值
 | 
 |  |  | Def_GreatHitVal = 12500
 | 
 |  |  | #富甲一击的攻击力相对普攻倍值
 | 
 |  |  | Def_FujiaHitVal = 11000
 | 
 |  |  | #富豪一击的攻击力相对普攻倍值
 | 
 |  |  | Def_FuhaoHitVal = 11000
 | 
 |  |  | #服务器统一使用万分率(用于计算百分比 10000为100%)
 | 
 |  |  | 
 |  |  |                 '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
 | 
 |  |  | 
 |  |  | 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
 | 
 |  |  | 
 |  |  | Def_NPCHurtTypeAll    = 4       #所有玩家
 | 
 |  |  | Def_NPCHurtTypeFaction= 5       #阵营
 | 
 |  |  | Def_NPCHurtTypeSpecial= 6       #特殊, 指定某些玩家, 玩家ID取ShareDefine.Def_MapItemInfo_SpecOwner
 | 
 |  |  | Def_NPCHurtTypeFamily = 7       #仙盟 7
 | 
 |  |  | 
 | 
 |  |  | #掉落归属类型-NPC表的定义
 | 
 |  |  | DropOwnerType = (
 | 
 |  |  | 
 |  |  | DropOwnerType_MaxHurtPlayer, # 最大伤血玩家, 伤血不会被重置, 仅限玩家 4
 | 
 |  |  | DropOwnerType_Faction, # 阵营 5
 | 
 |  |  | DropOwnerType_Special, # 特殊 6
 | 
 |  |  | ) = range(7)
 | 
 |  |  | DropOwnerType_Family, # 仙盟 7
 | 
 |  |  | ) = range(8)
 | 
 |  |  | 
 | 
 |  |  | #------------------------------------------------
 | 
 |  |  | #技能类型
 | 
 |  |  | 
 |  |  | 
 | 
 |  |  | #---------------------------------------------------------------------
 | 
 |  |  | #请求类型(需要和GameServer中的一致)
 | 
 |  |  | Def_QueryType_Count = 54
 | 
 |  |  | Def_QueryType_Count = 55
 | 
 |  |  | (
 | 
 |  |  | queryType_sqtPlayer,                  #查询玩家
 | 
 |  |  | queryType_sqtFamilyWar,               #家族战
 | 
 |  |  | 
 |  |  | queryType_ServerRewardNotify,         #全服奖励提示
 | 
 |  |  | queryType_EnterFB,                    #进入副本
 | 
 |  |  | queryType_NPCInfo,                    #查询NPCInfo
 | 
 |  |  | queryType_NPCCnt,                     #查询NPC数量
 | 
 |  |  | ) = range(0, Def_QueryType_Count)
 | 
 |  |  | #------------------------------------------------------------------------------ 
 | 
 |  |  | #---------------------------------------------------------------------
 | 
 |  |  | 
 |  |  |     Def_PlayerState_MissSneerAtk, # 对嘲讽攻击免疫表现为miss 16
 | 
 |  |  | ) = range(17)
 | 
 |  |  | 
 | 
 |  |  | #---SetDict 含NPC字典KEY,不存于数据库---
 | 
 |  |  | Def_GameObjKey_InheritOwner = "InheritOwner"  # 类暴风雪计算时用主人属性
 | 
 |  |  | 
 | 
 |  |  | #---SetDict 玩家字典KEY,不存于数据库---
 | 
 |  |  | # key的长度不能超过29个字节
 | 
 |  |  | 
 |  |  | 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" # 流血伤害
 | 
 |  |  | 
 |  |  | 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<背包类型>
 | 
 |  |  | 
 |  |  | 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已领取索引
 | 
 |  |  | 
 |  |  | 
 | 
 |  |  | #上古战场
 | 
 |  |  | Def_Player_Dict_ElderBattlefieldStage = "ElderBattlefieldStage"  # 本次达到阶段
 | 
 |  |  | 
 | 
 |  |  | #仙盟宴会
 | 
 |  |  | Def_Player_Dict_FamilyPartyAnswerCnt = "FamilyPartyAnswerCnt"  # 答题数量
 | 
 |  |  | 
 | 
 |  |  | #虚拟背包物品数据
 | 
 |  |  | Def_PDict_VPackItem = "VPackItem_%s_%s" # 虚拟背包物品数据, 参数(背包类型, 位置索引)
 | 
 |  |  | 
 |  |  | #套装
 | 
 |  |  | Def_PDict_EquipPartSuiteLV = "EQPartSuiteLV_%s_%s" #部位套装等级 参数 部位、套装类型
 | 
 |  |  | Def_PDict_EquipPartSuiteNotify = "EQPartSuiteNotify_%s_%s_%s" #部位套装提示记录 参数 组合类型、套装类型、X件
 | 
 |  |  | 
 | 
 |  |  | #神兽
 | 
 |  |  | Def_PDict_DogzFightState = "DogzFightState_%s" # 神兽助战状态,参数为key编号,按神兽ID二进制位存储
 | 
 |  |  | Def_PDict_DogzBuyHelpbattleCount = "DogzBuyHelpbattleCount" # 额外购买的神兽助战位
 | 
 |  |  | 
 | 
 |  |  | #-------------------------------------------------------------------------------
 | 
 |  |  | #可以从07 41封包购买的背包类型,和对应字典{背包类型:[字典key, 默认格子数]}
 | 
 |  |  | 
 | 
 |  |  | 
 |  |  | AttrName_GreatHitRateReduce = "GreatHitRateReduce"  # 抗卓越一击概率
 | 
 |  |  | AttrName_SuperHitRateReduce = "SuperHitRateReduce"  # 抗致命一击概率
 | 
 |  |  | AttrName_IgnoreDefRateReduce = "IgnoreDefRateReduce"  # 抗无视防御概率
 | 
 |  |  | AttrName_FujiaHitRate = "FujiaHitRate"  # 富甲一击概率
 | 
 |  |  | AttrName_FinalHurtPer = "FinalHurtPer"  # 最终伤害百分比
 | 
 |  |  | AttrName_FuhaoHitRate = "FuhaoHitRate"  # 富豪一击概率
 | 
 |  |  | AttrName_FinalHurt = "FinalHurt"  # 最终固定伤害增加
 | 
 |  |  | AttrName_FinalHurtReduce = "FinalHurtReduce"  # 最终固定伤害减少
 | 
 |  |  | 
 |  |  |     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],
 | 
 |  |  | 
 |  |  | Def_CalcAttrFunc_StoveYao, # 炼丹炉丹药 32
 | 
 |  |  | Def_CalcAttrFunc_PetSign, # 宠物签到 33
 | 
 |  |  | Def_CalcAttrFunc_MagicWeaponSoul, # 法宝之魂属性34
 | 
 |  |  | ) = range(35)
 | 
 |  |  | Def_CalcAttrFunc_Dogz, # 神兽35
 | 
 |  |  | ) = range(36)
 | 
 |  |  | 
 | 
 |  |  | 
 | 
 |  |  | # 在此列表中的功能属性,不享受百分比加成,--属性参与战力计算
 | 
 |  |  | 
 |  |  |                             ShareDefine.Def_MFPType_MagicWeapon3:[Def_CalcAttrFunc_MagicWeapon3, Def_CalcAttrFunc_Stove, Def_CalcAttrFunc_VIP],
 | 
 |  |  |                             ShareDefine.Def_MFPType_StoveYao:[Def_CalcAttrFunc_StoveYao],
 | 
 |  |  |                             ShareDefine.Def_MFPType_MagicWeaponSoul:[Def_CalcAttrFunc_MagicWeaponSoul],
 | 
 |  |  |                             ShareDefine.Def_MFPType_Dogz:[Def_CalcAttrFunc_Dogz],
 | 
 |  |  |                             ShareDefine.Def_MFPType_Other:[Def_CalcAttrFunc_Success, Def_CalcAttrFunc_FamilyTech, Def_CalcAttrFunc_EquipDecompose],
 | 
 |  |  |                             }
 | 
 |  |  | 
 | 
 |  |  | 
 |  |  | TriggerType_OneDamage,   # 伤害降低到1点 49
 | 
 |  |  | ) = range(1, 50)
 | 
 |  |  | 
 | 
 |  |  | #增强类型定义,参考SkillBoosts下的SkillBoost_文件
 | 
 |  |  | BoostType_HappenRate = 4    # 触发几率特殊处理 - 增强
 | 
 |  |  | WeakenType_HappenRate = 104    # 触发几率特殊处理 - 减弱
 | 
 |  |  | 
 | 
 |  |  | #MapConfig表中的索引定义-----------------------------------------------------------
 | 
 |  |  | # 表SkillBoostEffDropRate 中的 列表索引定义
 | 
 |  |  | (
 | 
 |  |  | Def_SkillBoostTable_SkillTypeID,
 | 
 |  |  | Def_SkillBoostTable_BoostType,
 | 
 |  |  | Def_SkillBoostTable_SkillEffectID,
 | 
 |  |  | Def_SkillBoostTable_ParentSkillTypeID,  # 相对Def_SkillBoostTable_SkillTypeID的父技能如召唤
 | 
 |  |  | Def_SkillBoostTable_MinValue,
 | 
 |  |  | Def_SkillBoostTable_MaxValue,
 | 
 |  |  | Def_SkillBoostTable_NotifyValue,
 | 
 |  |  | ) = range(7)
 | 
 |  |  | 
 | 
 |  |  | # NPC功能类型定义
 | 
 |  |  | Def_NPCFuncType_Goblin = 70 # 盗宝哥布林
 | 
 |  |  | 
 |  |  | Def_Cost_EnterFB, # 进入副本
 | 
 |  |  | Def_Cost_GameServer, # GameServer 30
 | 
 |  |  | Def_Cost_FreeGoods, # 极品白拿
 | 
 |  |  | Def_Cost_DogzEquipPlus, # 神兽装备强化
 | 
 |  |  | #-----------以下为暂时没用的,先不删除,如有新增消费点则放在这些之前------------
 | 
 |  |  | Def_Cost_RefreshArrestTask, # 刷新悬赏任务
 | 
 |  |  | Def_Cost_OffLineExp, # 兑换离线经验
 | 
 |  |  | 
 |  |  | Def_Cost_Trade, # 交易
 | 
 |  |  | Def_Cost_Rename, # 改名
 | 
 |  |  | Def_Cost_SkillLvUp, # 技能升级
 | 
 |  |  | ) = range(2000, 2000 + 52)
 | 
 |  |  | ) = range(2000, 2000 + 53)
 | 
 |  |  | 
 | 
 |  |  | Def_Cost_Reason_SonKey = "reason_name_son" # 消费点原因子类说明key
 | 
 |  |  | 
 | 
 |  |  | 
 |  |  | Def_Cost_FamilyBroadcast:"FamilyBroadcast",
 | 
 |  |  | Def_Cost_FamilyRedPacket:"FamilyRedPacket",
 | 
 |  |  | Def_Cost_FreeGoods:"FreeGoods",
 | 
 |  |  | Def_Cost_DogzEquipPlus:"DogzEquipPlus",
 | 
 |  |  | }
 | 
 |  |  | ## -----------------------------------------------------
 | 
 |  |  | 
 | 
 |  |  | 
 |  |  | ItemDel_EquipSuit, # 套装 30
 | 
 |  |  | ItemDel_AddFBCnt, # 增加副本可进入次数 31
 | 
 |  |  | ItemDel_AddKillBossCnt, # 增加BOSS可击杀次数 32
 | 
 |  |  | ) = range(2000, 2000 + 33)
 | 
 |  |  | ItemDel_DogzEquipPlus, # 神兽装备强化
 | 
 |  |  | ) = range(2000, 2000 + 34)
 | 
 |  |  | 
 | 
 |  |  | # 物品扣除类型对应信息 {类型:eventName, ...}
 | 
 |  |  | ItemDelTypeDict = {
 | 
 |  |  | 
 |  |  |                    ItemDel_EquipSuit:"EquipSuit",
 | 
 |  |  |                    ItemDel_AddFBCnt:"AddFBCnt",
 | 
 |  |  |                    ItemDel_AddKillBossCnt:"AddKillBossCnt",
 | 
 |  |  |                    ItemDel_DogzEquipPlus:"DogzEquipPlus",
 | 
 |  |  |                    }
 | 
 |  |  | 
 | 
 |  |  | ##==================================================================================================
 | 
 |  |  | 
 |  |  | 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视野刷新
 |