| | |
| | | Def_BuffValue_Count = 3 # buff记录的value个数
|
| | |
|
| | | #游戏对象属性--------------------------------------------
|
| | | Def_Calc_AllAttrType_MAX = 130
|
| | | Def_Calc_AllAttrType_MAX = 125
|
| | | #基本属性BUFF计算,顺序与 ObjProperty_AttrByIndex 对应,同时也为buff效果ID同步通知策划
|
| | | TYPE_Calc_AttrList = (
|
| | | #基础属性
|
| | | TYPE_Calc_AttrCurSTR, # 力量 1
|
| | | TYPE_Calc_AttrCurPNE, # 灵力(智力) 2
|
| | | TYPE_Calc_AttrCurPHY, # 身法(敏捷) 3
|
| | | TYPE_Calc_AttrCurCON, # 体质 4
|
| | | TYPE_Calc_Metal, # 金 1
|
| | | TYPE_Calc_Wood, # ľ 2
|
| | | TYPE_Calc_Water, # ˮ 3
|
| | | TYPE_Calc_Fire, # 火 4
|
| | | TYPE_Calc_Earth, # 土 5
|
| | |
|
| | | #战斗属性
|
| | | TYPE_Calc_AttrHP, # 当前HP 5
|
| | | TYPE_Calc_AttrMP, # 当前MP 6
|
| | | TYPE_Calc_AttrMaxHP, # 最大血量 7
|
| | | TYPE_Calc_AttrMaxMP, # 最大魔法值 8
|
| | | TYPE_Calc_AttrATKMin, # 最小攻击力 9
|
| | | TYPE_Calc_AttrATKMax, # 最大攻击力 10
|
| | | TYPE_Calc_AttrMATKMin, # 最小魔法攻击力 11 #废弃:NPC表字段代表境界 |
| | | TYPE_Calc_AttrMATKMax, # 最大魔法攻击力 12 #废弃
|
| | | TYPE_Calc_AttrDEF, # 防御力 13
|
| | | TYPE_Calc_AttrHit, # 命中 14
|
| | | TYPE_Calc_AttrMiss, # 闪避 15
|
| | | TYPE_Calc_AttrMaxHP, # 最大血量 6
|
| | | TYPE_Calc_AttrMaxMP, # 最大魔法值 7
|
| | | TYPE_Calc_AttrDEF, # 防御力 8
|
| | | TYPE_Calc_AttrHit, # 命中 9
|
| | | TYPE_Calc_AttrMiss, # 闪避 10
|
| | | TYPE_Calc_AttrATKMin, # 最小攻击力 11
|
| | | TYPE_Calc_AttrATKMax, # 最大攻击力 12
|
| | | TYPE_Calc_AttrHP, # 当前HP 13
|
| | | TYPE_Calc_AttrMP, # 当前MP 14
|
| | | #TYPE_Calc_AttrMATKMin, # 最小魔法攻击力 #废弃:NPC表字段代表境界 |
| | | #TYPE_Calc_AttrMATKMax, # 最大魔法攻击力 #废弃
|
| | | TYPE_Calc_Luck, # 气运 15
|
| | | TYPE_Calc_AttrSpeed, # 移动速度 16
|
| | | TYPE_Calc_AttrAtkSpeed, # 攻击速度 17
|
| | |
|
| | |
| | | TYPE_Calc_BaseDefAddPer, # 基础防御百分比
|
| | | TYPE_Calc_BaseHitAddPer, # 基础命中百分比
|
| | | TYPE_Calc_BaseMissAddPer, # 基础闪避百分比
|
| | | TYPE_Calc_HorcruxBasePer, # 魂器基础百分比
|
| | | TYPE_Calc_EquipBaseAddPer, # 装备基础百分比 105
|
| | | TYPE_Calc_WeaponAtkAddPer, # 武器基础攻击百分比
|
| | | TYPE_Calc_RelicsAtkAddPer, # 圣器基础攻击百分比
|
| | | TYPE_Calc_ArmorMaxHPAddPer, # 防具基础生命百分比
|
| | | TYPE_Calc_ArmorDefAddPer, # 防具基础防御百分比
|
| | | TYPE_Calc_GodWeaponMaxHPPer, # 神兵生命百分比 110
|
| | | TYPE_Calc_GodWeaponAtkPer, # 神兵攻击百分比
|
| | | TYPE_Calc_StoneMaxHPPer, # 宝石生命百分比
|
| | |
| | | TYPE_Calc_WingHPPer, # 翅膀生命百分比
|
| | | TYPE_Calc_SuiteBasePer, # 套装基础属性百分比
|
| | | TYPE_Calc_PlusBaseAtkPer, # 强化基础攻击百分比
|
| | | TYPE_Calc_ProDef, # 当前防护值 130
|
| | | ) = range(1, Def_Calc_AllAttrType_MAX)
|
| | |
|
| | |
|
| | |
| | | Def_ItemID_RealmPoint = 24 # 直接给修行点
|
| | | Def_ItemID_BossReborn = 21 # 直接给boss复活点
|
| | | Def_ItemID_Ysog = 4306 # 直接给符印融合石
|
| | | Def_ItemID_SoulDust = 700 # 直接给魂尘
|
| | | Def_ItemID_SoulSplinters = 701 # 直接给聚魂碎片
|
| | | Def_ItemID_SoulCore = 702 # 直接给核心环
|
| | | Def_ItemID_Honor = 2141 # 直接给荣誉
|
| | | Def_TransformItemIDList = [Def_ItemID_FamilyContribution, Def_ItemID_FamilyActive, Def_ItemID_SP, Def_ItemID_GoldPaper,
|
| | | Def_ItemID_RealmPoint, Def_ItemID_SilverMoney, Def_ItemID_BossReborn, Def_ItemID_Ysog]
|
| | | Def_ItemID_RealmPoint, Def_ItemID_SilverMoney, Def_ItemID_BossReborn, Def_ItemID_Ysog,
|
| | | Def_ItemID_SoulDust, Def_ItemID_SoulSplinters, Def_ItemID_SoulCore, Def_ItemID_Honor]
|
| | | #---------------------------------------------------------------------
|
| | | #写死的物品类型都放这边
|
| | | Def_ItemType_All = -1 #所有类型
|
| | |
| | | Def_ItemType_FamilyBossFood = 50 #仙盟兽粮
|
| | | Def_ItemType_SuccessItem = 53 # 用于完成成就的物品,不存在背包
|
| | | Def_ItemType_ResetAttrPoint = 59 #洗点卷轴 使用后将某个属性一定值变为未分配属性
|
| | | Def_ItemType_GatherSoulExp = 61 #聚魂精华材料
|
| | | Def_ItemType_GatherSoul = 62 #普通聚魂
|
| | | Def_ItemType_GatherSoulCore = 63 #聚魂核心
|
| | |
|
| | | Def_ItemType_DogzEquipExp = 70 # 神兽装备经验
|
| | |
|
| | |
| | | Def_ItemType_retBelt = 105 #5 腰带
|
| | | Def_ItemType_retTrousers = 106 #6 裤子
|
| | | Def_ItemType_retShoes = 107 #7 鞋子
|
| | | Def_ItemType_retNeck = 108 #8 项链
|
| | | Def_ItemType_retFairyCan = 109 #9 仙器
|
| | | Def_ItemType_retFairyCan2 = 110 #10 仙器
|
| | | Def_ItemType_retWing = 111 #11 翅膀
|
| | | Def_ItemType_retGuard = 112 #12 守护
|
| | | Def_ItemType_retBaldric1 = 113 #13 佩饰
|
| | | Def_ItemType_retBaldric2 = 114 #14 佩饰
|
| | | Def_ItemType_retBaldric3 = 115 #15 佩饰
|
| | | Def_ItemType_retBaldric4 = 116 #16 佩饰
|
| | | Def_ItemType_retBaldric5 = 117 #17 佩饰
|
| | | Def_ItemType_retBaldric6 = 118 #18 佩饰
|
| | | Def_ItemType_retGlove = 108 #8 手套
|
| | | Def_ItemType_retNeck = 109 #9 项链
|
| | | Def_ItemType_retFairyCan = 110 #10 仙器1
|
| | | Def_ItemType_retFairyCan2 = 111 #11 仙器2
|
| | | Def_ItemType_retJade = 112 #12 玉佩
|
| | | Def_ItemType_retWing = 113 #13 翅膀
|
| | | Def_ItemType_retGuard1 = 114 #14 守护1
|
| | | Def_ItemType_retGuard2 = 115 #15 守护2
|
| | | Def_ItemType_retPeerlessWeapon = 116 #16 绝世武器
|
| | | Def_ItemType_retPeerlessWeapon2 = 117 #17 绝世副手
|
| | |
|
| | | Def_ItemType_DogzEquipHorn = 119 # 神兽兽角
|
| | | Def_ItemType_DogzEquipEye = 120 # 神兽魔眼
|
| | | Def_ItemType_DogzEquipTooth = 121 # 神兽獠牙
|
| | | Def_ItemType_DogzEquipClaw = 122 # 神兽兽爪
|
| | | Def_ItemType_DogzEquipScute = 123 # 神兽鳞甲
|
| | | Def_ItemType_AddCrossRealmPKCnt = 127 #增加跨服PK次数
|
| | |
|
| | | Def_ItemType_ZXCloak = 128 # 诛仙披风
|
| | | Def_ItemType_ZXMask = 129 # 诛仙面具
|
| | | Def_ItemType_ZXGlove = 130 # 诛仙手套
|
| | | Def_ItemType_ZXRuyi = 131 # 诛仙如意
|
| | | Def_ItemType_ZXPendant = 132 # 诛仙吊坠
|
| | | Def_ItemType_ZXRing = 133 # 诛仙戒指
|
| | | Def_ItemType_ZXWeapon1 = 134 # 诛仙剑1
|
| | | Def_ItemType_ZXWeapon2 = 135 # 诛仙剑2
|
| | | Def_ItemType_ZXWeapon3 = 136 # 诛仙剑3
|
| | | Def_ItemType_ZXWeapon4 = 137 # 诛仙剑4
|
| | | Def_ItemType_ZhuXianStuff = 138 # 诛仙材料
|
| | |
|
| | | Def_ItemType_DogzStuff = 139 # 神兽材料
|
| | | Def_ItemType_ZhuXianStone = 140 # 诛仙宝石
|
| | |
|
| | | #以下定义物品类型下次删除
|
| | | Def_Item_Type_Horse = 1000036 #坐骑
|
| | |
| | | #虚拟背包最大格子数 功能配置表对应的key
|
| | | Def_VPackCnt_Dict = {
|
| | | ShareDefine.rptRune:'RunePackageNum',
|
| | | ShareDefine.rptGatherSoul:'GatherSoulPackCount',
|
| | | }
|
| | |
|
| | | #虚拟背包可以放入的物品字典
|
| | | 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, defaultPack=IPY_GameWorld.rptItem):
|
| | | ## 获取物品类型对应存放的默认背包类型
|
| | | if defaultPack in [ShareDefine.rptTreasure, ShareDefine.rptTempItem]:
|
| | | #寻宝背包、临时背包不做处理
|
| | | return defaultPack
|
| | | import IpyGameDataPY
|
| | | Def_PackItemTypeList_Dict = IpyGameDataPY.GetFuncEvalCfg("PutInItemPack", 1, {})
|
| | | for pack, itemTypeList in Def_PackItemTypeList_Dict.items():
|
| | | if itemType in itemTypeList:
|
| | | return pack
|
| | | return int(pack)
|
| | | return defaultPack
|
| | |
|
| | | # 部位对应装备类型列表
|
| | |
| | | ShareDefine.retBelt:[Def_ItemType_retBelt],
|
| | | ShareDefine.retTrousers:[Def_ItemType_retTrousers],
|
| | | ShareDefine.retShoes:[Def_ItemType_retShoes],
|
| | | ShareDefine.retGlove:[Def_ItemType_retGlove],
|
| | | ShareDefine.retNeck:[Def_ItemType_retNeck],
|
| | | ShareDefine.retFairyCan:[Def_ItemType_retFairyCan, Def_ItemType_retFairyCan2],
|
| | | ShareDefine.retFairyCan2:[Def_ItemType_retFairyCan, Def_ItemType_retFairyCan2],
|
| | | ShareDefine.retFairyCan:[Def_ItemType_retFairyCan],
|
| | | ShareDefine.retFairyCan2:[Def_ItemType_retFairyCan2],
|
| | | ShareDefine.retJade:[Def_ItemType_retJade],
|
| | | ShareDefine.retWing:[Def_ItemType_retWing],
|
| | | ShareDefine.retGuard:[Def_ItemType_retGuard],
|
| | | ShareDefine.retBaldric1:[Def_ItemType_retBaldric1],
|
| | | ShareDefine.retBaldric2:[Def_ItemType_retBaldric2],
|
| | | ShareDefine.retBaldric3:[Def_ItemType_retBaldric3],
|
| | | ShareDefine.retBaldric4:[Def_ItemType_retBaldric4],
|
| | | ShareDefine.retBaldric5:[Def_ItemType_retBaldric5],
|
| | | ShareDefine.retBaldric6:[Def_ItemType_retBaldric6],
|
| | | ShareDefine.retGuard1:[Def_ItemType_retGuard1],
|
| | | ShareDefine.retGuard2:[Def_ItemType_retGuard2],
|
| | | }
|
| | | #---------------------------------------------------------------------
|
| | | #写死的物品效果ID都放这边------请按数值顺序存放
|
| | |
| | | Def_Effect_AddMagicWeaponUpExp = 236 # 增加法宝升星经验 A值法宝ID B值X经验
|
| | | Def_Effect_ChatBubbleBox = 237 # 激活聊天气泡框,A值气泡框ID
|
| | | Def_Effect_ItemGiveRealmPoint = 238 #使用道具给予修行点
|
| | | Def_Effect_ItemGiveSoulDust = 239 # 使用道具给予魂尘
|
| | | Def_Effect_ItemGiveSoulSplinters = 240 # 使用道具给予聚魂碎片
|
| | | Def_Effect_ItemGiveSoulCore = 241 #使用道具给予核心环
|
| | | Def_Effect_ItemGiveHonor = 242 #使用道具给予荣誉
|
| | | Def_Effect_ItemGiveWeekPartyPoint = 245 #使用道具给予七日巡礼积分
|
| | | Def_Effect_ItemGiveWeekPartyPoint1 = 246 #使用道具给予节日巡礼积分
|
| | | #----以下未使用或代码依然存在的---
|
| | | Def_Effect_ItemGiveGongXun = 1920 #使用道具给予功勋
|
| | | Def_Effect_ItemGiveHonorPoint = 1922 #使用道具给予荣誉积分
|
| | | Def_Effect_ItemGiveRuneJH = 1925 #使用道具给予符印精华
|
| | | Def_Effect_ItemGiveRuneSplinters = 1926 #使用道具给予符印碎片
|
| | | Def_Effect_SuiteMark = 2838 #用于标示套装装备,过滤等使用
|
| | |
| | | Def_Max_Update_Talent_Time = 3 #最大使用造化丹次数
|
| | |
|
| | | #写死的物品效果都放这边
|
| | |
|
| | | #增加%d伤害值,其中a值为最小伤害值,b值为最大伤害值
|
| | | Def_Effect_AddAtk = ShareDefine.Def_Effect_AddAtk
|
| | | #增加%d防御值 |
| | | Def_Effect_Def = ShareDefine.Def_Effect_Def
|
| | | #增加%d力量
|
| | | Def_Effect_STR = ShareDefine.Def_Effect_STR
|
| | | #增加%d真元
|
| | | Def_Effect_PNE = ShareDefine.Def_Effect_PNE
|
| | | #增加%d筋骨
|
| | | Def_Effect_PHY = ShareDefine.Def_Effect_PHY
|
| | | #增加%d体魄
|
| | | Def_Effect_CON = ShareDefine.Def_Effect_CON
|
| | |
|
| | | #立刻恢复%d的HP(单次恢复)
|
| | | Def_Effect_AddHP_Once = 207
|
| | |
| | |
|
| | | #写死的技能效果ID---------------------------------------------------------------------
|
| | | Def_Skill_Effect_AddAtkByHP = 503 # 每损失XX血量增加攻击XX,最高攻击加成XX
|
| | | Def_Skill_Effect_AbsorbShield = 801 # A值记录吸收伤害值,B值记录吸收值上限为xx%血量上限值 C值为释放的爆炸技能ID 如麒麟盾
|
| | | Def_Skill_Effect_AbsorbShield = 801 # A值记录吸收伤害值
|
| | | Def_Skill_Effect_AbsorbShieldXMZJ = 802 # 须弥真界 神兵技能吸收伤害 百分比
|
| | | Def_Skill_Effect_BoomSeedHurt = 804 # BUFF种子单层伤害
|
| | | Def_Skill_Effect_StoreBlood = 809 # 将期间受到的伤害总值,用于最后回血,不影响伤害
|
| | | Def_Skill_Effect_AttackReplace = 1009 #攻击计算,野外小怪伤害替换1010 (2018-03-07增加精英怪)
|
| | | Def_Skill_Effect_Attack = 1010 #攻击计算
|
| | | Def_Skill_Effect_LayerCnt = 1011 # BUFF层级数量 A值层数,B值层数处理方式0递增1递减
|
| | | Def_Skill_Effect_MasterBuff = 1012 # 主从技能(同步buff持续时间)
|
| | | Def_Skill_Effect_SummonAttr = 1013 # 召唤兽属性
|
| | | Def_Skill_Effect_BoomSeedID = 1014 # 引爆BUFF种子
|
| | | Def_Skill_Effect_ReCD = 1016 # 重置CD
|
| | | Def_Skill_Effect_RandWarn = 1061 # 随机预警
|
| | | Def_Skill_Effect_AttackReplaceByNPCSeries = 1062 # 对指定系的伤害
|
| | | Def_Skill_Effect_AvgHurtFMCnt = 1064 # NPC技能按仙盟成员数均摊伤害
|
| | |
| | |
|
| | |
|
| | | #---------需要记录在buff管理器中的效果ID,主要用于查找用---------------------------
|
| | | Def_BuffManager_EffectsID = [Def_Skill_Effect_ProBloodPer, Def_Skill_Effect_AbsorbShieldXMZJ]
|
| | | Def_BuffManager_EffectsID = [Def_Skill_Effect_ProBloodPer, Def_Skill_Effect_AbsorbShieldXMZJ, Def_Skill_Effect_StoreBlood]
|
| | | #-------------------------------------------------------------------------
|
| | |
|
| | | #基础属性效果ID
|
| | |
| | | Def_SkillID_TeamVIPBuff = 22000 # VIP队伍buff, 攻守同盟
|
| | | Def_SkillID_CostVipBuff = 61018 # CostVIPbuff
|
| | | Def_SkillID_FBEncourageBuff = 20051 # 副本鼓舞buff
|
| | | Def_SkillID_GetFlagFamilyBuff = 11506 # 战盟战获得夺旗战盟buff特效
|
| | | Def_SkillID_FreshmanGuideBuff = 21219 # 新手指导员buff
|
| | | Def_SkillID_PoisonAtkBuff = 25180 # 毒攻buff
|
| | | Def_SkillID_DropOwnerBuff = 20040 # 掉落归属buff
|
| | | Def_SkillID_PetSignDay = 47111 # 灵宠签到属性技能, 单次签到的加成
|
| | | Def_SkillID_LFZ = 47100 # 龙凤镯技能(打怪概率经验加成)
|
| | | Def_SkillID_HorsePetRobBossKillCntBuff = 21020 # 骑宠的怨念buff
|
| | |
|
| | | Def_SkillID_RealmBuff = 6100 # 境界经验buff
|
| | |
|
| | | Def_SkillID_FamilyWar_CWinBuff = 22101 # 仙盟联赛 - 连胜buff, 由连胜次数决定等级
|
| | | Def_SkillID_FamilyWar_JoinBuff = 22131 # 仙盟联赛 - 参与buff, 由人数决定等级
|
| | |
| | | Def_AreaType_SkillID_FreePK = 20010 # pk区
|
| | | Def_AreaType_SkillID_FamilyPK = 20012 # 家族区
|
| | | Def_AreaType_SkillID_Boss = 20008 # Boss区域
|
| | | Def_SkillID_ManorFlagArea = 20017 # 战旗区域buff,动态
|
| | | Def_SkillID_SitArea = 20009 # 打坐区域buff
|
| | | #----------------------------------------------------------------------
|
| | | #战斗类型
|
| | |
| | | Def_HurtType_Miss, # 闪避 9
|
| | | Def_HurtType_Immune, # 免疫 10
|
| | | Def_HurtType_RealmSupress, # 境界压制 11
|
| | | ) = range(1, 12)
|
| | | Def_HurtType_Zhansha, # նɱ 12
|
| | | Def_HurtType_Zhuxian, # 诛仙一击 13
|
| | | Def_HurtType_ZhognjiZhansha, # 终极斩杀 14
|
| | | ) = range(1, 15)
|
| | | #Def_HurtType_SuckBlood, # 吸血
|
| | |
|
| | | (
|
| | |
| | |
|
| | | Def_EquipItemType_TJGAutoEat = xrange(Def_ItemType_retWeapon, Def_ItemType_retShoes + 1)
|
| | | #装备类型
|
| | | Def_EquipItemType = xrange(Def_ItemType_retWeapon, Def_ItemType_DogzEquipScute + 1)
|
| | |
|
| | | #武器类型
|
| | | Def_WeaponItemType = [Def_ItemType_retWeapon, Def_ItemType_retWeapon2]
|
| | | Def_EquipItemType = range(Def_ItemType_retWeapon, Def_ItemType_DogzEquipScute + 1) + range(Def_ItemType_ZXCloak, Def_ItemType_ZXWeapon4 + 1)
|
| | |
|
| | | #神兽装备类型
|
| | | Def_DogzEquiipType = xrange(Def_ItemType_DogzEquipHorn, Def_ItemType_DogzEquipScute + 1)
|
| | |
|
| | | #诛仙装备类型
|
| | | Def_ZhuXianEquiipType = xrange(Def_ItemType_ZXCloak, Def_ItemType_ZXWeapon4 + 1)
|
| | |
|
| | | # 技能造成实质性伤害的类型
|
| | | Def_RealAttack_Type = [Def_HurtType_Normal, # 普通伤害 1
|
| | |
| | | #大额度交易记录
|
| | | Def_LargeTrade_Gold = 50 * 1000
|
| | | Def_LargeTrade_Silver = 1000 * 1000
|
| | | #初始化装备背包格子数
|
| | | Def_PackCnt_Equip = 130
|
| | | #主角交易栏最大格数
|
| | | Def_PlayerTradeMaxItemCount = 20
|
| | | #主角刚登陆游戏开启背包格子数
|
| | |
| | | Def_PackCnt_DogzItem = 100
|
| | | #初始化神兽装备格子数
|
| | | Def_PackCnt_DogzEquip = 100
|
| | | #初始化诛仙背包格子数
|
| | | Def_PackCnt_ZhuXianItem = 100
|
| | | #初始化诛仙装备格子数
|
| | | Def_PackCnt_ZhuXianEquip = 12
|
| | | #初始化装备栏2
|
| | | Def_PackCnt_Equip2 = 0
|
| | | #初始化回收站
|
| | |
| | | ShareDefine.rptPet,
|
| | | ShareDefine.rptDogzItem,
|
| | | ShareDefine.rptDogzEquip,
|
| | | ShareDefine.rptZhuXianItem,
|
| | | ShareDefine.rptZhuXianEquip,
|
| | | ]
|
| | |
|
| | | #装备可强化背包列表
|
| | |
| | | #自动恢复计算间隔
|
| | | Def_HPRestoreInterval = 5000
|
| | | #允许重置的背包索引
|
| | | Def_CanItemResetPack = [IPY_GameWorld.rptItem, IPY_GameWorld.rptWarehouse, ShareDefine.rptTreasure]
|
| | | Def_CanItemResetPack = [IPY_GameWorld.rptItem, IPY_GameWorld.rptWarehouse, ShareDefine.rptTreasure, ShareDefine.rptZhuXianItem]
|
| | | #仓库分页个数
|
| | | Def_ItemReset_WarehousePageCnt = 56
|
| | | #玩家捡起物品的距离 8
|
| | |
| | | Def_Player_RequestAddFamilyMaxCnt = 200 #玩家申请加入家族的最大数量 (目前无限制 配个大的数值)
|
| | |
|
| | | #-------------------------------#副本相关#------------------------
|
| | | # 跨服中转地图ID
|
| | | Def_MergeTransMapID = 12075
|
| | | #创角新手村地图ID列表
|
| | | Def_CreatRoleMapIDList = [10000]
|
| | | #PK周赛
|
| | |
| | | Def_FBMapID_SealDemon = 52010
|
| | | #单人封魔坛
|
| | | Def_FBMapID_SealDemonEx = 52020
|
| | |
|
| | | #诛仙BOSS
|
| | | Def_FBMapID_ZhuXianBoss = 31380
|
| | | #诛仙塔
|
| | | Def_FBMapID_ZhuXianTower = 31370
|
| | | #仙魔之争
|
| | | Def_FBMapID_XMZZ = 31010
|
| | | #神兽副本
|
| | | Def_FBMapID_Dogz = 21110
|
| | | #聚魂副本
|
| | | Def_FBMapID_GatherSoul = 31340
|
| | | #跨服竞技场
|
| | | Def_FBMapID_CrossRealmPK = 32010
|
| | | #跨服蓬莱仙境
|
| | | Def_FBMapID_CrossPenglai = 32020
|
| | | #多仙盟Boss
|
| | | Def_FBMapID_AllFamilyBoss = 31260
|
| | | #骑宠Boss
|
| | | Def_FBMapID_HorsePetBoss = 31200
|
| | |
|
| | | #注册上传跨服服务器数据后直接进入跨服服务器的地图
|
| | | RegisterEnter_CrossServerMapIDList = [Def_FBMapID_CrossPenglai]
|
| | | #跨服地图
|
| | | Def_CrossMapIDList = [Def_FBMapID_CrossRealmPK, Def_FBMapID_CrossPenglai]
|
| | | #跨服分区对应地图配置表名
|
| | | Def_CrossZoneMapTableName = {Def_FBMapID_CrossPenglai:"CrossPenglaiZoneMap",
|
| | | }
|
| | |
|
| | | #副本关闭时未拾取的物品邮件发放给玩家
|
| | | #这里只有需要的副本才配置,不做默认逻辑,防止某些副本实际不能给导致刷物品,如麒麟之府
|
| | | Def_SendUnPickItemMailMapIDList = [Def_FBMapID_IceLode, Def_FBMapID_PersonalBoss, Def_FBMapID_MunekadoTrial,
|
| | | Def_FBMapID_SealDemon, Def_FBMapID_SealDemonEx]
|
| | | Def_FBMapID_SealDemon, Def_FBMapID_SealDemonEx, Def_FBMapID_ZhuXianBoss]
|
| | |
|
| | | #金钱不掉物品直接给玩家的地图
|
| | | Def_GiveMoneyMapIDList = []
|
| | |
| | | # 副本中玩家下线就被踢出
|
| | | Def_DisconnectExit_FBID = []
|
| | | #会有阵营的地图
|
| | | Def_MapID_NeedCamp = [Def_FBMapID_FamilyWar]
|
| | | Def_MapID_NeedCamp = [Def_FBMapID_FamilyWar, Def_FBMapID_GatherSoul, Def_FBMapID_CrossRealmPK]
|
| | |
|
| | | # 进入副本需要根据请求lineID动态分配虚拟分线属性的地图
|
| | | Def_MapID_LineIDToPropertyID = [Def_FBMapID_ElderBattlefield]
|
| | |
|
| | | # 进入副本需要发送到GameServer的地图
|
| | | Def_MapID_SendToGameServer = [Def_FBMapID_FamilyInvade, Def_FBMapID_FamilyBossMap, Def_FBMapID_SealDemon, Def_FBMapID_FamilyWar] + Def_MapID_LineIDToPropertyID
|
| | | Def_MapID_SendToGameServer = [Def_FBMapID_HorsePetBoss, Def_FBMapID_FamilyInvade, Def_FBMapID_FamilyBossMap, Def_FBMapID_SealDemon, Def_FBMapID_FamilyWar, Def_FBMapID_ZhuXianBoss, Def_FBMapID_AllFamilyBoss] + Def_MapID_LineIDToPropertyID
|
| | |
|
| | | ## 进入副本需要根据请求的功能线路处理的地图, hxp-改了进入模式,暂不需要了 180320
|
| | | #Def_MapID_ReqFBFuncLine = [Def_FBMapID_KirinHome, Def_FBMapID_BZZD, Def_FBMapID_SealDemonEx,
|
| | |
| | | # + Def_FBMapID_ClearDevil
|
| | |
|
| | | # 刷新标识点在无玩家的情况下也需要刷新的地图
|
| | | Def_NoPlayerNeedProcessRefreshPointMap = [Def_FBMapID_SealDemon, Def_FBMapID_GodArea, Def_FBMapID_BossHome]
|
| | | Def_NoPlayerNeedProcessRefreshPointMap = [Def_FBMapID_HorsePetBoss, Def_FBMapID_SealDemon, Def_FBMapID_GodArea, Def_FBMapID_BossHome, Def_FBMapID_GatherSoul, Def_FBMapID_ZhuXianBoss, Def_FBMapID_AllFamilyBoss]
|
| | |
|
| | | # 可重复进的副本
|
| | | Def_NoLimitEnterCntMap = [Def_FBMapID_FamilyParty, Def_FBMapID_FamilyWar, Def_FBMapID_FamilyInvade, Def_FBMapID_ElderBattlefield]
|
| | | Def_NoLimitEnterCntMap = [Def_FBMapID_AllFamilyBoss, Def_FBMapID_FamilyParty, Def_FBMapID_FamilyWar, Def_FBMapID_FamilyInvade, Def_FBMapID_ElderBattlefield, Def_FBMapID_ZhuXianBoss]
|
| | |
|
| | | # 无玩家时不自动关闭的自伸缩副本
|
| | | Def_NoPlayerNotCloseAutoSizeMap = [Def_FBMapID_FamilyInvade, Def_FBMapID_FamilyBossMap]
|
| | | Def_NoPlayerNotCloseAutoSizeMap = [Def_FBMapID_FamilyInvade, Def_FBMapID_FamilyBossMap, Def_FBMapID_GatherSoul]
|
| | |
|
| | | # 不可切换PK模式的地图
|
| | | Def_CanNotChangeAtkModelMap = []
|
| | |
| | | 'Guard':[Def_FBMapID_Guard], #守护副本
|
| | | 'SealDemon':[Def_FBMapID_SealDemon, Def_FBMapID_SealDemonEx], #封魔坛
|
| | | 'XMZZ':[Def_FBMapID_XMZZ], #仙魔之争
|
| | | 'Dogz':[Def_FBMapID_Dogz], #神兽副本
|
| | | 'CrossRealmPK':[Def_FBMapID_CrossRealmPK], #跨服竞技场
|
| | | 'GatherSoul':[Def_FBMapID_GatherSoul],#聚魂副本
|
| | | 'ZhuXianBoss':[Def_FBMapID_ZhuXianBoss],#诛仙BOSS
|
| | | 'ZhuXianTower':[Def_FBMapID_ZhuXianTower],#诛仙塔
|
| | | 'AllFamilyBoss':[Def_FBMapID_AllFamilyBoss],#多仙盟BOSS
|
| | | 'HorsePetBoss':[Def_FBMapID_HorsePetBoss],#骑宠BOSS
|
| | | }
|
| | |
|
| | | #特殊副本ID, 由系统分配, 进入时候不验证IsMapCopyFull
|
| | |
| | | Def_FB_NotifyFBHelpTick = 'NotifyFBHelpTick' # 广播副本帮助信息tick
|
| | | Def_FB_NPCStrengthenAverageLV = 'NPCStrengthenAverageLV' # 当前线路成长NPC平均等级
|
| | | Def_FB_NPCStrengthenMaxLV = 'NPCStrengthenMaxLV' # 当前线路成长NPC最大等级
|
| | | Def_FB_NPCStrengthenMinLV = 'NPCStrengthenMinLV' # 当前线路成长NPC最小等级
|
| | | Def_FB_NPCStrengthenPlayerCnt = 'NPCStrengthenPlayerCnt' # 当前线路成长NPC对应玩家数
|
| | | Def_FB_TeamPlayerCount = 'TeamPlayerCount' # 组队副本参与玩家数 - 非实时人数,只是进入时的那个人数
|
| | | Def_FB_DropDoCountRate = 'DropDoCountRate' # 怪物掉落执行次数万分率
|
| | |
| | | Def_RMark_HasRefreshPoint = 'RMark_HasRefreshPoint_%s' #该点是否已经刷新 参数 刷怪点在地图中的索引
|
| | | Def_RMark_TimePassCnt = 'Def_RMark_TimePassCnt' #时间超过刷新个数
|
| | | Def_RMark_RefreshStep = 'Def_RMark_RefreshStep' #刷怪波数
|
| | |
|
| | | Def_RMark_RandomRefreshNPCTick = 'RandomRefreshNPCTick' # 地图自定义随机刷怪,上次检查时间
|
| | | Def_RMark_RandomRefreshNPCNumTime = 'RandomRefreshNPCNumTime_%s' # 地图自定义随机刷怪,刷怪编号上次检查时间,参数(编号)
|
| | |
|
| | | Map_FBDict_NotifyOpen = "Map_FB_NTOpen" # 副本开启提示
|
| | | Map_FBDict_NotifyStart = "Map_FB_NTStart" # 副本开始提示
|
| | |
| | | 1000 * 60 * 10, #玩家称号时效
|
| | | 400, #吸血
|
| | | 400, #吸蓝
|
| | | 1000 * 5, # 恢复跨服PK连胜次数请求间隔
|
| | | 1000 * 5, # 跨服PK领奖间隔
|
| | | 1000 * 5, # 跨服王者争霸竞猜积分领奖间隔
|
| | | 1000 * 3, # 仓库整理间隔
|
| | | 1000 * 15, # 渡劫鼓舞间隔
|
| | | 1000 * 1, # vip体验时效
|
| | |
| | | TYPE_Player_Tick_Dienstgrad, #玩家称号时效
|
| | | TYPE_Player_Tick_SuckBlood, #吸血
|
| | | TYPE_Player_Tick_SuckMagic, #吸蓝
|
| | | TYPE_Player_Tick_RecoverMergePKWin, #恢复跨服PK连胜次数请求间隔
|
| | | TYPE_Player_Tick_MergePKAward, #跨服PK领奖间隔
|
| | | TYPE_Player_Tick_MergeKingSupport, #跨服王者争霸竞猜积分奖励间隔
|
| | | TYPE_Player_Tick_WareHouseSort, # 仓库整理间隔
|
| | | TYPE_Player_Tick_DuJieInspire, # 渡劫鼓舞间隔
|
| | | TYPE_Player_Tick_VIPExperience, #vip体验时效
|
| | |
| | | TYPE_Map_Tick_ProcessMinute = 10 #每分钟触发事件
|
| | | TYPE_Map_Tick_ProcessFiveMinute = 11 #五分钟触发事件
|
| | | TYPE_Map_Tick_BossAITick = 12 #BOSSAI间隔,此处不包含召唤兽,外层控制
|
| | | TYPE_Map_Tick_PetAITick = 13 #宠物AI间隔特殊处理
|
| | |
|
| | | TYPE_Map_Tick_Time = [
|
| | | 1000 * 60 * 3 , #0 回报当前地图活跃人数(3分钟一次)
|
| | |
| | | 1000 * 10 , #9 战盟战10秒刷新排行榜
|
| | | 1000 * 60 , #10 每分钟触发事件
|
| | | 1000 * 60 * 5 , #11 五分钟触发事件
|
| | | 800, #12 BOSS 宠物 镖车的AI间隔
|
| | | 800, #12 BOSS 镖车的AI间隔
|
| | | 3000, #13 宠物AI特殊处理间隔
|
| | | ]
|
| | |
|
| | | TYPE_Map_Tick_Count = len( TYPE_Map_Tick_Time )
|
| | |
| | | #数据中的装备位置和程序中的装备位置对照表
|
| | | #参考 ShareDefine.RoleEquipType
|
| | |
|
| | | #武器装备栏位置列表
|
| | | Def_WeaponRetList = [ShareDefine.retWeapon, ShareDefine.retWeapon2]
|
| | |
|
| | | #仙器, 装备栏位置列表
|
| | | Def_FairyCanList = [ShareDefine.retFairyCan, ShareDefine.retFairyCan2]
|
| | |
|
| | |
|
| | | #攻击类装备, 装备栏位置列表
|
| | | Def_AttackEquipRetList = [ShareDefine.retWeapon] |
| | | #防御类装备, 装备栏位置列表
|
| | | Def_DefenceEquipRetList = [ShareDefine.retClothes]
|
| | |
|
| | | # 可操作强化洗练等功能的公共装备部位索引
|
| | | Pack_EquipPart_CanPlusStar = {
|
| | | IPY_GameWorld.rptEquip:[
|
| | |
| | | ShareDefine.retBelt, #5 腰带
|
| | | ShareDefine.retTrousers, #6 裤子
|
| | | ShareDefine.retShoes, #7 鞋子
|
| | | ShareDefine.retNeck, #8 项链
|
| | | ShareDefine.retFairyCan, #9 仙器
|
| | | ShareDefine.retFairyCan2, #10 仙器
|
| | | ShareDefine.retGlove, #8 手套
|
| | | ShareDefine.retNeck, #9 项链
|
| | | ShareDefine.retFairyCan, #10 仙器1
|
| | | ShareDefine.retFairyCan2, #11 仙器2
|
| | | ShareDefine.retJade, #12 玉佩
|
| | | ],
|
| | |
|
| | | }
|
| | |
|
| | | ## 基础装备位 - 武器
|
| | | BaseEquipPlace_Weapon = [ShareDefine.retWeapon, ShareDefine.retWeapon2]
|
| | | ## 基础装备位 - 防具
|
| | | BaseEquipPlace_Armor = [ShareDefine.retHat, ShareDefine.retClothes, ShareDefine.retBelt, ShareDefine.retTrousers, ShareDefine.retShoes]
|
| | | ## 基础装备位 - 圣器
|
| | | BaseEquipPlace_Relics = [ShareDefine.retNeck, ShareDefine.retFairyCan, ShareDefine.retFairyCan2]
|
| | | BaseEquipPlaceList = BaseEquipPlace_Weapon + BaseEquipPlace_Armor + BaseEquipPlace_Relics
|
| | |
|
| | | #玩家当前可装备的装备类型
|
| | | Type_Equip_CanTake = ShareDefine.RoleEquipType
|
| | | ## 装备位 - 基础攻击类
|
| | | EquipPlace_BaseWeapon = [ShareDefine.retWeapon, ShareDefine.retWeapon2, ShareDefine.retBelt, ShareDefine.retGlove]
|
| | | ## 装备位 - 基础防具类
|
| | | EquipPlace_BaseArmor = [ShareDefine.retHat, ShareDefine.retClothes, ShareDefine.retTrousers, ShareDefine.retShoes]
|
| | | ## 装备位 - 仙器
|
| | | EquipPlace_Relics = [ShareDefine.retFairyCan, ShareDefine.retFairyCan2]
|
| | | ## 装备位 - 特殊
|
| | | EquipPlace_Special = [ShareDefine.retNeck, ShareDefine.retFairyCan, ShareDefine.retFairyCan2, ShareDefine.retJade]
|
| | | ## 装备位 - 所有基础
|
| | | EquipPlace_Base = EquipPlace_BaseWeapon + EquipPlace_BaseArmor
|
| | |
|
| | | #装备物品位置,不需要重刷属性
|
| | | EquipItemNoRefreshState = []
|
| | | EquipItemNoRefreshState = [
|
| | | ShareDefine.retHorse, #19 坐骑
|
| | | ShareDefine.retWeaponSkin, #20 时装武器
|
| | | ShareDefine.retClothesSkin, #21 时装衣服
|
| | | ShareDefine.retWeapon2Skin, #22 时装副手
|
| | | ]
|
| | |
|
| | | # 需要广播外观的装备部位
|
| | | # 需要广播外观的装备部位(除了境界装备3部位)
|
| | | Def_SyncEquipStateByIndex = [
|
| | | |
| | | ShareDefine.retWeapon, #1 主手
|
| | | ShareDefine.retWeapon2, #2 副手
|
| | | ShareDefine.retHat, #3 帽子
|
| | | ShareDefine.retClothes, #4 衣服
|
| | | ShareDefine.retBelt, #5 腰带
|
| | | ShareDefine.retTrousers, #6 裤子
|
| | | ShareDefine.retShoes, #7 鞋子
|
| | | ShareDefine.retNeck, #8 项链
|
| | | ShareDefine.retFairyCan, #9 仙器
|
| | | ShareDefine.retFairyCan2, #10 仙器
|
| | | ShareDefine.retWing, #11 翅膀
|
| | | ShareDefine.retGuard, #12 守护
|
| | | ShareDefine.retGuard1, #14 守护1
|
| | | ShareDefine.retHorse, #19 坐骑
|
| | | ]
|
| | |
|
| | |
| | | #技能消失不重刷属性#(鞭炮,烟花,火烛)
|
| | | Def_Skill_Disappear_NoReflash = [Def_SkillID_Justice, #阵营
|
| | | Def_SkillID_Evil,
|
| | | Def_SkillID_GetFlagFamilyBuff,
|
| | | ]
|
| | | #---------------------------------------------------------------------
|
| | |
|
| | |
| | | Def_RebornPos_Area_Range = 3
|
| | |
|
| | | #复活类型(需要和C++统一)
|
| | | RebornTypeCount = 8
|
| | | RebornTypeCount = 6
|
| | | Def_RebornTypeList = [
|
| | | rebornType_City, #回城虚弱复活
|
| | | rebornType_Skill, #技能复活
|
| | | rebornType_Health, #原地健康复活
|
| | | rebornType_UseItem, #使用还阳咒复活
|
| | | rebornType_FBGold, #副本元宝复活
|
| | | rebornType_FBUseItem, #副本使用道具复活
|
| | | rebornType_City, #回城虚弱复活 0
|
| | | rebornType_Skill, #技能复活 1
|
| | | rebornType_Health, #原地健康复活 2
|
| | | rebornType_UseItem, #使用道具复活 3
|
| | | rebornType_MainCity, #回主城复活
|
| | | rebornType_System, #系统复活
|
| | | ] = range(0, RebornTypeCount)
|
| | |
| | | Def_PlayerState_LoseBlood2, # 职业2持续掉血状态 14
|
| | | Def_PlayerState_LoseBlood3, # 职业3持续掉血状态 15
|
| | | Def_PlayerState_MissSneerAtk, # 对嘲讽攻击免疫表现为miss 16
|
| | | ) = range(17)
|
| | | Def_PlayerState_BeInAir, # 浮空(做法同眩晕类) 17
|
| | | ) = range(18)
|
| | |
|
| | | #---SetDict 含NPC字典KEY,不存于数据库---
|
| | | Def_GameObjKey_InheritOwner = "InheritOwner" # 类暴风雪计算时用主人属性
|
| | |
|
| | | #---SetDict 玩家字典KEY,不存于数据库---
|
| | | # key的长度不能超过29个字节
|
| | | Def_PlayerKey_AddBuffLayer = "addBuffLayer" # buff当前层数
|
| | | Def_PlayerKey_BuffHurtCnt = "BuffHurtCnt" # 持续buff掉血次数
|
| | | Def_PlayerKey_Zhansha = "zhansha" # 斩杀标志
|
| | | Def_PlayerKey_ZhuxianRate = "ZXRate" # 诛仙一击的概率
|
| | | Def_PlayerKey_ZhuxianHurtPer = "ZXHurtPer" # 诛仙一击的伤害%
|
| | | Def_PlayerKey_LockHPSkillID = "LockHPSkillID" # 锁血功能的技能
|
| | | Def_PlayerKey_GodWeaponBeforeProDef = "GWBPD" # 神兵护盾被攻击前的值
|
| | | Def_PlayerKey_curHurtValue = "curHurtValue" # 计算中的临时伤害值,技能特殊用
|
| | | Def_PlayerKey_DefenderObjID = "DefenderObjID" # 后续触发技能需要用到的对象ID,暂用于玩家
|
| | | Def_PlayerKey_SomersaultTime = "Somersault" # 翻滚一定时间内无敌,表现为MISS
|
| | | Def_PlayerKey_CopyFuncAttr = "CopyFuncAttr%s" # 玩家属性刷新中的计算属性缓存,便于buff刷新计算
|
| | | Def_Player_RefreshAttrByBuff = "PlayerAttrByBuff" # 玩家属性刷新功能属性缓存,便于buff刷新计算, 间隔刷新
|
| | | Def_PlayerKey_ClientCustomScene = "ClientCustomScene" # 客户端自定义场景状态
|
| | | Def_PlayerKey_ChangeMapID = "ChangeMapID" # 请求切换的地图ID
|
| | | Def_PlayerKey_ResetFBLinePosX = "ResetFBLinePosX" # 请求切换副本多合一地图功能线路ID
|
| | | Def_PlayerKey_ResetFBLinePosY = "ResetFBLinePosY" # 请求切换副本多合一地图功能线路ID
|
| | |
| | | Def_PlayerKey_MoreHurtValue = "MoreHurtValue" # 额外的伤害值,一般用于不走公式
|
| | | Def_PlayerKey_BloodShiledHurt = "BSHurt" # 伤害值用于血盾抵消
|
| | | Def_PlayerKey_AbsorbShieldValue = "AbsorbShieldValue" # 麒麟盾吸收减免伤害百分比
|
| | | Def_PlayerKey_AbsorbShieldMax = "AbsorbShieldMax" # 麒麟盾吸收最大伤害量
|
| | | Def_PlayerKey_AbsorbShield = "AbsorbShield" # 麒麟盾吸收的伤害量用于爆炸
|
| | | Def_PlayerKey_AbsorbValue = "AbsorbValue" # 麒麟盾吸收的单次伤害
|
| | | Def_PlayerKey_StartEquipCnt = "StartEquipCnt" # 珍品数量
|
| | | Def_PlayerKey_TJGPackFullAfterEat = "TJGFullEat" # 脱机挂吞噬后背包依然满的情况
|
| | | Def_PlayerKey_TJGStartTime = "TJGStartTime" # 脱机挂结算时间起点
|
| | |
| | | Def_PlayerKey_AtkInterval = "NormalAtkInterval_%s" # 公共技能CD类型
|
| | | Def_PlayerKey_AtkTick = "NormalAtkTick_%s" # 公共技能CD类型
|
| | | Def_PlayerKey_QueryOpenServerAwardState = "QueryOpenServerAwardState" # 查询开服奖励状态
|
| | | Def_PlayerKey_QueryMixServerAwardState = "QueryMixServerAwardState" # 查询合服奖励状态
|
| | | Def_PlayerKey_QueryFamilyStoreTick = "QueryFamilyStoreTick" # 战盟仓库操作tick
|
| | |
|
| | | Def_PlayerKey_QueryMarkIdCardIndex = 'QueryMarkIdCardIndex' # 指定账号生成卡类型
|
| | |
| | | Def_PlayerKey_ComboBuffProcessState = "ComboBuffProcessState" #持续性buff连击处理状态
|
| | | Def_PlayerKey_LvAwardQueryState = 'LvAwardQueryState' # 等级奖励领奖查询状态
|
| | | Def_PlayerKey_StoreQueryState = 'StoreQueryState' # 商店全服购买次数查询状态
|
| | | Def_PlayerKey_MysticalShopLastTime = 'MysticalShopLastTime' # 神秘商店刷新时间
|
| | | #===============================================================================
|
| | | # # 持续性buff伤害处理连击技能ID列表
|
| | | # # 因为释放一次技能后一段时间内是持续性的, 故连接判断效果仅处理一次, 持续时间内均受此效果影响, 不重复处理连击
|
| | |
| | | Def_PlayerKey_IgnoreDefRateReduce = "IgnoreDefRateReduce" # 抗无视防御概率
|
| | | Def_PlayerKey_LastHurtValue = "LastHurtValue" # 最后一次伤害值
|
| | | Def_PlayerKey_LastHurtNPCObjID = "LastHurtNPCObjID" # 最后攻击的NPCObjID
|
| | | Def_PlayerKey_LastAttackerObjID = "LastAttackerObjID" # 被攻击者记录的最近攻击玩家ID
|
| | | Def_PlayerKey_ReduceSkillCDPer = "ReduceSkillCDPer" # 减技能CD万分率
|
| | | Def_PlayerKey_CommMapExpRate = "CommMapExpRate" # 常规地图经验倍率加成
|
| | | Def_PlayerKey_FinalHurtPer = "FinalHurtPer" # 最终伤害百分比
|
| | |
| | | Def_PlayerKey_BaseDefAddPer = "BaseDefAddPer" # 基础防御百分比
|
| | | Def_PlayerKey_BaseHitAddPer = "BaseHitAddPer" # 基础命中百分比
|
| | | Def_PlayerKey_BaseMissAddPer = "BaseMissAddPer" # 基础闪避百分比
|
| | | Def_PlayerKey_HorcruxBasePer = "HorcruxBasePer" # 魂器基础百分比
|
| | | Def_PlayerKey_EquipBaseAddPer = "EquipBaseAddPer" # 装备基础百分比
|
| | | Def_PlayerKey_WeaponAtkAddPer = "WeaponAtkAddPer" # 武器基础攻击百分比
|
| | | Def_PlayerKey_RelicsAtkAddPer = "RelicsAtkAddPer" # 圣器基础攻击百分比
|
| | | Def_PlayerKey_ArmorMaxHPAddPer = "ArmorMaxHPAddPer" # 防具基础生命百分比
|
| | | Def_PlayerKey_ArmorDefAddPer = "ArmorDefAddPer" # 防具基础防御百分比
|
| | | Def_PlayerKey_GodWeaponMaxHPPer = "GodWeaponMaxHPPer" # 神兵生命百分比
|
| | | Def_PlayerKey_GodWeaponAtkPer = "GodWeaponAtkPer" # 神兵攻击百分比
|
| | | Def_PlayerKey_StoneMaxHPPer = "StoneMaxHPPer" # 宝石生命百分比
|
| | |
| | | Def_PlayerKey_WingHPPer = "WingHPPer" # 翅膀生命百分比
|
| | | Def_PlayerKey_SuiteBasePer = "SuiteBasePer" # 套装基础属性百分比
|
| | | Def_PlayerKey_PlusBaseAtkPer = "PlusBaseAtkPer" # 强化基础攻击百分比
|
| | | Def_PlayerKey_Metal = "PointMetal" # 金
|
| | | Def_PlayerKey_Wood = "PointWood" # ľ
|
| | | Def_PlayerKey_Water = "PointWater" # ˮ
|
| | | Def_PlayerKey_Fire = "PointFire" # 火
|
| | | Def_PlayerKey_Earth = "PointEarth" # 土
|
| | | Def_PlayerKey_MetalQualityLV = "MetalQualityLV" # 金灵根品级
|
| | | Def_PlayerKey_WoodQualityLV = "WoodQualityLV" # 木灵根品级
|
| | | Def_PlayerKey_WaterQualityLV = "WaterQualityLV" # 水灵根品级
|
| | | Def_PlayerKey_FireQualityLV = "FireQualityLV" # 火灵根品级
|
| | | Def_PlayerKey_EarthQualityLV = "EarthQualityLV" # 土灵根品级
|
| | |
|
| | | #功能索引ShareDefine.Def_AttrFruitFuncList
|
| | | Def_PlayerKey_FruitAttr = "FruitAttr_%s_%s" # 属性果实增加的属性,参数为(功能索引, 物品效果id)
|
| | | Def_PlayerKey_FruitFightPowerEx = "FruitFightPowerEx_%s" # 属性果实增加的附加战力,参数为(功能索引)
|
| | | Def_PlayerKey_FamilyLVLeave = "FamilyLVLeave" # 离开的最后一个家族的等级
|
| | |
|
| | | Def_PlayerKey_CalcAddAttrType = "CalcAType_%s_%s_%s" # 刷属性类型, 参数[funcIndex, attrIndex, 缓存编号]
|
| | | Def_PlayerKey_CalcAddAttrValue = "CalcAValue_%s_%s_%s" # 刷属性值, 参数[funcIndex, attrIndex, 缓存编号]
|
| | |
|
| | | Def_PDict_QueryTechLVUPState = "QueryTechLVUPState" # 查询科技等级提升状态
|
| | |
|
| | |
| | | Def_PDictType_LVAward, # 等级奖励领取信息记录5
|
| | | Def_PDictType_GoldGift, # 充值豪礼
|
| | | Def_PDictType_OpenServerCampaign, # 开服活动
|
| | | Def_PDictType_8,
|
| | | Def_PDictType_Family_Contribution, # 战盟贡献度
|
| | | Def_PDictType_10, # 10
|
| | | Def_PDictType_WeekParty, #周狂欢
|
| | | Def_PDictType_FeastWeekParty, # 节日巡礼
|
| | | Def_PDictType_LoginAward, # 登录奖励运营活动
|
| | | Def_PDictType_OfficialRank, # 官爵
|
| | | Def_PDictType_Horse, # 坐骑
|
| | | Def_PDictType_Wing, # 翅膀
|
| | | Def_PDictType_FB, # 副本相关
|
| | | Def_PDictType_FightPower, # 战斗力15
|
| | | Def_PDictType_TeHuiAction, # 特惠活动
|
| | | Def_PDictType_16,
|
| | | Def_PDictType_Activity, # 活跃度
|
| | | Def_PDictType_GoldInvest, # 投资理财
|
| | | Def_PDictType_19,
|
| | |
| | | Def_PDictType_Reincarnation, # 转生
|
| | | Def_PDictType_GreatMaster, # 大师
|
| | | Def_PDictType_BloodElf, # Ѫħ
|
| | | Def_PDictType_MergePK, # 跨服匹配PK
|
| | | Def_PDictType_MergeKing, # 跨服王者争霸
|
| | | Def_PDictType_QQ, # QQ相关
|
| | | ) = range(31)
|
| | | ) = range(28)
|
| | |
|
| | | # 玩家字典key定义规则, key的长度不能超过29个字节, 注意尽量避免命名重复
|
| | | # 新增参数TYPE 用于字典分类,默认0
|
| | | Def_QuDao_DoubleBillGold = "qddbGold" # 渠道返利的仙玉
|
| | | Def_QuDao_DoubleBillCount = "qddbCount" # 渠道返利的仙玉领取次数 日期+次数组合数字
|
| | | Def_PDict_GeTuiSet = "GetuiSet" # 推送提醒的设置
|
| | | Def_PDict_NoGeTuiTime = "NoGetuiTime" # 推送提醒免打扰时间,将字符串组合数字
|
| | | Def_PlayerKey_TJGNPC = "TJGNPC" # 脱机挂机NPC点
|
| | |
| | | Def_PDict_OnDayEx = "OnDayEx" # 特殊时间点凌晨X点过天
|
| | | Def_PDict_OnWeekEx = "OnWeekEx" # 特殊时间点凌晨X点过周
|
| | | Def_PDict_OnMonthEx = "OnMonthEx" # 特殊时间点凌晨X点过月
|
| | | Def_Player_Dict_ServerGroupID = "ServerGroupID" # 合服/混服时所属游戏服务器组ID
|
| | | Def_Player_Dict_PlayerFromPID = "PlayerFromPID" # pid
|
| | | Def_Player_Dict_Account_Type = "account_type" # account_type
|
| | | Def_Player_Dict_TencentPF = "tencentPF" # 腾讯平台来源pf
|
| | | Def_Player_Dict_FirstLogin = "FirstLogin" # 首登标记 0-未首登; 1-首登过
|
| | | Def_GuideStateKeyCount = 8 # 引导状态key最大个数
|
| | | Def_Player_Dict_GuideState = "GuideState_%s" # 引导状态记录,参数为key个数编号
|
| | |
| | | Def_Player_Dict_FromPosY = 'FromPosY' # 最后一次离开的非中立常规地图,坐标X
|
| | | Def_Player_Dict_FromLineID = 'FromLineID' # 最后一次离开的非中立常规地图,线路ID
|
| | |
|
| | | Def_PlayerKey_CrossRegisterMap = "CrossRegisterMap" #跨服注册活动地图, dataMapID
|
| | | Def_PlayerKey_IsCrossPKMatching = "IsCrossPKMatching" #是否跨服匹配中
|
| | |
|
| | | Def_Player_Dict_FamilyTechLV = "FamilyTechLV_%s" #家族科技等级, 参数(科技ID)
|
| | | Def_Player_Dict_RouteServerInitOK = "RouteServerInitOK_33" #RouteServer初始化成功(仅登陆一次)
|
| | |
| | | Def_Player_Dict_TeamFBMaxLV = "TeamFBMaxLV" # 请求进入的组队副本最大等级, 临时用,进入副本设置完后删除
|
| | | Def_Player_Dict_TeamFBPlayerCnt = "TeamFBPlayerCnt" # 请求进入的组队副本玩家个数, 临时用,进入副本设置完后删除
|
| | | Def_Player_Dict_ReqFBMissionID = "ReqFBMissionID" # 请求进入副本的任务ID
|
| | | Def_Player_Dict_ReqFBMissionType = "ReqFBMissionType" # 请求进入副本的任务类型
|
| | | Def_Player_Dict_PlayerFBStar_MapId = "FBStar_%s_%s" # 副本星级星级信息, 参数为[mapID, key编号], 按位存储每个lineID对应的星级
|
| | | Def_Player_Dict_EnterFbCntDay = "EnterFbCntDay_%s" # 今日进入副本次数, 参数为副本ID
|
| | | Def_Player_Dict_BuyFbCntDay = "BuyFbCntDay_%s" # 今日购买副本进入次数, 参数为副本ID
|
| | |
| | | Def_Player_Dict_SignDayCnt = "SignDayCnt_151" # 签到次数
|
| | | Def_Player_Dict_ForbidFamilyAction = 'ForbidFamilyAction_168' # 玩家是否能参加家族活动
|
| | | Def_Player_Dict_ForbidFamilyAward = "ForbidFamilyAward" # 当日家族相关活动是否领奖受限, 按位存储
|
| | | Def_Player_Dict_RoomID = 'RoomID_184' # 房间ID
|
| | | Def_Player_Dict_HasApplyVIPClub = 'HasApplyVIPClub_185' # 是否申请过贵宾俱乐部
|
| | | Def_Player_Dict_HasVIPClubNote = 'HasVIPClubNote_186' # 是否提示过vip升级可加入贵宾俱乐部信息
|
| | | Def_Player_Dict_PyPlayerAction = 'PyPlayerAction_187' # py自定义玩家状态
|
| | | Def_Player_Dict_FamilyLV = 'FamilyLV_189' # 玩家帮会等级
|
| | | Def_Player_Dict_MergeWarRegisterTime = 'MergeWarRegisterTime_190' # 上传数据至万国服务器cd
|
| | | Def_Player_Dict_MergeRegisterTime = 'MergeRegisterTime%s_194' # 活动的上传数据时间
|
| | | Def_Player_UpdatePlayerNameCnt = "UpdatePlayerNameCnt_196" # 角色改名次数
|
| | | Def_Player_Dict_UpdatePlayerNameItemIndex = "UpdatePlayerNameItemIndex_198" # 改名物品在背包的位置
|
| | | Def_Player_Dict_UpdatePlayerName = "UpdatePlayerName_199" # 改名锁
|
| | |
| | | Def_PDict_OnlineStartTick = "OnlineStartTime" # 在线计算时间
|
| | | Def_PDict_LVAwardGetRecord = "LVAwardGetRecord" # 等级奖励领取信息记录,按二进制位标示
|
| | | Def_PDict_LVAwardVIPGetRecord = "LVAwardVIPGetRecord" # 等级奖励vip领取信息记录,按二进制位标示
|
| | | Def_PDict_CTGCountResetTime = "CTGCountResetTime" # CTG次数重置时间time值
|
| | | Def_PDict_TodayCTGCount = "TodayCTGCount_%s" # 当日充值次数,参数(CTG对应的商品记录ID)
|
| | | Def_PDict_CTGGoodsBuyCount = "CTGGoodsBuyCount_%s" # 对应充值商品已购买次数,参数(CTG对应的商品记录ID)
|
| | | Def_PDict_GoldGiftGetRecord = "GoldGiftGetRecord" # 充值豪礼领取信息记录,按二进制位标示
|
| | |
| | | Def_PDict_DailyGoldChargeState = "DailyGoldChargeState" # 天天首充活动状态,0-未开启;1-已开启
|
| | | Def_PDict_DailyChargeState = "DailyChargeState" # 当日是否已充值
|
| | | Def_PDict_SuperGiftStartTime = "SuperGiftStartTime" # 超值礼包开始时间
|
| | | Def_PDict_SuperGiftHasOpen = "SuperGiftHasOpen" # 超值礼包是否开过
|
| | | Def_PDict_DailyGoldChargePrizeRecord = "DailyGoldChargePrizeRecord" # 天天首充领奖记录,0-不可领;1-可领;2-已领
|
| | | Def_PDict_DailyGoldChargeCnt = "DailyGoldChargeCnt" # 当日已充值数
|
| | | Def_PDict_SingleGoldGiftIndex = "SingleGoldGiftIndex" # 单日充值多选一礼包领取状态, 0-未领取,>0已领取索引
|
| | | Def_PDict_UnlimitedGoldGiftCnt = "UnlimitedGoldGiftCnt" # 当日无限领取礼包已领取次数
|
| | | Def_PDict_IsReBorn = "Def_PDict_IsReBorn" # 是否回城复活
|
| | | Def_PDict_FamilyWarDailyReward = "FamilyWarDailyReward" # 王者仙盟每日俸禄领取状态
|
| | | Def_PDict_Family_Contribution = "FamilyContribution" #战盟贡献度
|
| | |
| | | Def_PDict_FreshmanGuideSpeakerCntToday = "FreshmanGuideSpeakerCntDay" # 新手指导员今日已免费传音次数
|
| | | Def_PDict_LoginDayCnt = "PLoginDayCnt" # 累计登陆天数
|
| | | Def_PDict_LoginDayAward = "PLoginDayAward" # 累计登陆领取情况
|
| | | Def_PDict_CollNpcCollTotalCnt = "CollNpcCollTotalCnt_%s" # 采集NPC累计采集次数,参数为NPCID
|
| | | Def_PDict_CollNpcCollTime = "CollNpcCollTime_%s" # 采集NPC功能号对应每日对应采集次数,%sNPC功能号
|
| | | Def_PDict_CollNpcBuyTime = "CollNpcBuyTime_%s" # 采集NPC功能号对应每日购买采集次数,%sNPC功能号
|
| | | Def_PDict_CollNpcIDCollTime = "CollNpcIDCollTime_%s" # 采集NPCID对应每日对应采集次数,%sNPCID
|
| | | Def_PDict_ShopItemDayBuyCnt = "ShopItemDayBuyCnt_%s" # 商店NPC商品已购买次数,itemIndex
|
| | | Def_PDict_ShopItemStartTime = "ShopItemStartTime_%s" # 神秘限购商品开卖时间,itemIndex
|
| | | Def_PDict_ShopItemBuyCnt = "ShopItemBuyCnt_%s_%s" # 自定义商品已购买次数,(shopID, itemIndex)
|
| | | Def_PDict_ShopItemOpenState = "ShopItemOpenState_%s_%s" # 自定义神秘商店物品开启状态,(shopID, keyNum)
|
| | | Def_PDict_TimeShopRefreshCnt = "TimeShopRefreshCnt_%s" # 自定义神秘商店已手动刷新次数,(shopID)
|
| | | Def_PDict_TimeShopLastGlobalRefreshTime = "TimeShopLastGlobalRTime_%s" # 玩家上次刷新神秘商店是的全服标记,(shopID)
|
| | | Def_PDict_HighLadderFightCnt = "HighLadderFightCnt" #天梯每日挑战次数记录
|
| | | Def_PDict_HighLadderAddCnt = "HighLadderAddCnt" #天梯已购买次数
|
| | | Def_PDict_HighLadder_Currency = "HighLadderCurrency" #天梯积分
|
| | | Def_PDict_HighLadder_DayRewardGot = "HighLadderDayRewardGot" #天梯每日奖励是否已领取
|
| | | Def_PDict_HighLadder_CDTime = "HighLadderCDTime" #天梯冷却时间
|
| | | Def_PDict_HighLadder_CDBeginTime = "HighLadderCDBeginTime" #天梯冷却时间计时起点
|
| | | Def_PDict_HighLadder_IsRelCD = "HighLadderIsRelCD" #天梯是否进入真正挑战冷却
|
| | | Def_PDict_HighLadder_WinningStreak = "HighLadderWinningStreak" #天梯连胜场次
|
| | | Def_PDict_HighLadder_HistoryMaxOrder = "HighLadderMaxOrder" #天梯历史最高排名
|
| | | Def_PDict_MixLoginDayState = "PMixLoginDayState" # 合服天登陆状态<按登陆天从低位起0-未领1-可领2-已领>
|
| | | Def_PDict_MysticalShopGoods = "MysticalShopGoods_%s" # 神秘商店商品ID,索引
|
| | | Def_PDict_MysticalShopRefreshCnt = "MysticalShopRefreshCnt" # 神秘商店已手动刷新次数
|
| | | Def_PDict_MysticalShopLVRefreshCnt = "MysticalShopLVRefreshCnt" # 神秘商店等级段刷新次数
|
| | | Def_PDict_FestivalLoginState = "FestivalLoginState_%s" # 节日登陆奖励状态_%s表示节日类型<按登陆天从低位起0-未领1-可领2-已领>
|
| | | Def_PDict_Currency = "PlayerCurrency_%s" # 自定义货币类型, 参数[自定义货币类型]
|
| | | Def_PDict_TJGSet = "TJGSet" # 脱机挂系统设定
|
| | |
| | |
|
| | | Def_PDict_LoginClientType = "LoginClientType" # 客户端登录类型
|
| | |
|
| | | Def_PDict_ReUpdBillboardSign = "ReUpdBillboardSign" # 重新同步排行表标记
|
| | | Def_PDict_MSFirstLogin_UpdBillboard = "MSFirstLogin_UpdBillboard" # 合服首登同步排行榜信息
|
| | | Def_PDict_MixLoginDay = "MixLoginDay" # 合服首登处理标记
|
| | | Def_PDict_MixLoginDay = "MixLoginDay" # 合服首登处理标记天
|
| | |
|
| | | Def_PDict_ExcActionItemCnt = "ExcI_%s_%s" # 活动兑换物品已兑换次数,参数(活动key,兑换物品对应次数编号标识)
|
| | |
|
| | | Def_PDict_AddPointValue = "AddPointValue_%s" # 已加属性点数, 参数(属性ID)
|
| | | Def_PDict_AttrFruitEatCnt = "AttrFruitEatCnt_%s" # 已吃属性果实个数,参数为物品id
|
| | | Def_PDict_AttrFruitAddValue = "AttrFruitAddValue_%s" # 已吃属性果实增加的属性,参数为物品id
|
| | |
|
| | |
| | | Def_PDict_HaveRecover = "HaveRecover_%s" # 资源找回今日是否已找回<%s-找回项索引>
|
| | | Def_PDict_RecoverGainLastTime = "RecoverGainLastTime" # 上一次资源找回时的时间
|
| | |
|
| | |
|
| | | Def_PDict_ActionItemDropTime = "ActionItemDropTime_%s" # 活动物品掉落周期控制, 记录上次掉落时间, 参数为ItemID
|
| | | Def_PDict_NPCKillCountDrop = "NPCKillDrop_%s" # NPC击杀次数掉落记录, 参数(NPCID), 击杀次数*10 + 是否已经掉落过, 只支持一次机会
|
| | | Def_PDict_NPCKillCount = "NPCKillCount_%s" # NPC已击杀次数, 参数(NPCID)
|
| | | Def_PDict_NPCKillCount = "NPCKillCount_%s" # NPC已击杀次数, 参数(NPCID) CCBBAA, AA存储公共装备次数,BB存储公共ID次数,CC存储私有次数
|
| | |
|
| | | Def_PDict_RedPacketInviteGet = "RedPacketInviteGet" # 红包邀请领取
|
| | | Def_PDict_RedPacketGetState = "RedPacketGetState" # 红包领取状态
|
| | |
| | | Def_PDict_GodWeaponExp = "GodWeaponExp_%s" # 神器等级对应祝福值经验, 参数神器索引
|
| | | Def_PDict_GodWeaponState = "GodWeaponState" # 神器是否已经激活, 按索引位存储神器是否激活
|
| | |
|
| | | Def_PDict_ClothesSkinOpenState = "ClothesSkinOpenState" # 时装皮肤激活状态
|
| | | Def_PDict_ClothesSkinLV = "ClothesSkinLV_%s" # 时装皮肤等级,参数时装索引
|
| | | Def_PDict_ClothesSkinCurBless = "ClothesSkinCurBless_%s" # 时装皮肤祝福值,参数时装索引
|
| | | Def_PDict_ClothesChestLV = "ClothesChestLV" # 时装柜等级
|
| | | Def_PDict_ClothesChestEXP = "ClothesChestEXP" # 时装柜经验
|
| | |
|
| | | Def_PDict_CostVIPExp = "CostVIPExp" # 消费VIP经验
|
| | | Def_PDict_CostVIPLVReward = "CostVIPLVReward" # 消费VIP等级奖励
|
| | |
| | | Def_PDict_RunTaskAwardState = "RunTaskAwardState_%s" # 是否已领取跑环本轮结束奖励 参数任务类型
|
| | | Def_PDict_RunTaskAwardRecord = "RunTaskAwardRecord_%s" # 跑环本轮结束奖励记录 参数任务类型
|
| | | Def_PDict_RunTaskNextMissionID = "RunTaskNextMissionID_%s" # 跑环本轮结束下个任务ID 参数任务类型
|
| | | # 宝石
|
| | |
|
| | | Def_PDict_EquipPartStarLV = "EPStarLV_%s_%s" # 装备部位对应公共强化星级,参数为(packType, index)
|
| | | #强化
|
| | | Def_PDict_EquipPartPlusLV = "EPPlusLV_%s_%s" # 装备部位对应公共强化星级,参数为(packType, index)
|
| | | Def_PDict_EquipActiveStarLV = "EquipActiveStarLV" #装备已激活总强化等级
|
| | | Def_PDict_EquipPartProficiency = "EPProf_%s_%s" # 装备部位对应公共强化星级,参数为(packType, index)
|
| | | Def_PDict_EquipActiveStars = "EquipActiveStars" #装备已激活总强化星级
|
| | | Def_PDict_EquipPartProficiency = "EPProf_%s_%s" # 装备部位对应公共强化熟练度,参数为(packType, index)
|
| | | Def_PDict_EquipPartPlusEvolveLV = "EPPlusEvolveLV_%s_%s" # 装备部位对应公共强化进化等级,参数为(packType, index)
|
| | | # 宝石
|
| | | Def_PDict_EquipPartStoneID = "StoneID_%s_%s" # 装备位_孔位存储宝石ID*10+是(1)否(0)绑定
|
| | |
|
| | | # 装备洗练, 暂不区分背包类型,如果有不同背包,策划设定不同的装备位
|
| | |
| | | #试炼之塔
|
| | | Def_Player_Dict_TrialTower_PassLV = "TrialTower_PassLV" # 试炼之塔通关层数
|
| | | Def_Player_Dict_TrialTower_LastDayPassLV = "Tower_LastDayPassLV" # 试炼之塔昨日通关层数
|
| | | #诛仙塔
|
| | | Def_Player_Dict_ZhuXianTowerPassLV = "ZhuXianTowerPassLV" # 诛仙塔已通关层数
|
| | | Def_Player_Dict_ZhuXianTowerLastFloor = "ZhuXianTowerLastFloor" # 诛仙塔上次挑战层数
|
| | | Def_Player_Dict_ZhuXianTowerCostTime = "ZhuXianTowerCostTime" # 诛仙塔通关时间
|
| | |
|
| | | #古神禁地
|
| | | Def_Player_Dict_GodArea_Anger = "GodArea_Anger" # 古神禁地怒气值
|
| | |
| | | Def_Player_Dict_ArrestTaskAwardRecord = "ArrestTaskAwardRecord" # 悬赏任务积分奖励领取记录
|
| | | Def_Player_Dict_ArrestTaskFinishCnt = "ArrestTaskFinishCnt" # 悬赏任务今日完成个数
|
| | |
|
| | | #跨服boss
|
| | | Def_PDict_MergeBoss_FirstJoinAwardRecord = "MergeBossFstAward" # 首次参与跨服boss奖励状态 0-不可领;1-可领;2-已领
|
| | |
|
| | | #封魔坛
|
| | | Def_Player_Dict_FMTDouble = "FMTDouble" # 封魔坛是否双倍
|
| | | Def_Player_Dict_FMTOldDouble = "FMTOldDouble" # 封魔坛是否曾经可以双倍
|
| | |
| | | Def_PDict_CostRebateTemplateID = "CostRebateTemplateID" # 玩家身上的消费返利模板ID
|
| | | Def_PDict_CostRebateGold = "CostRebateGold" # 消费返利总累计消费仙玉
|
| | | Def_PDict_CostRebateAwardRecord = "CostRebateAwardRecord" # 消费返利领奖记录
|
| | | Def_PDict_CostRebateWorldLV = "CostRebateWorldLV" #消费返利活动开启时世界等级
|
| | |
|
| | | #累计充值活动
|
| | | Def_PDict_TotalRechargeID = "TotalRechargeID" # 玩家身上的累计充值活动ID,唯一标识,取活动开始日期time值
|
| | | Def_PDict_TotalRechargeTemplateID = "TotalRechargeTemplateID" # 玩家身上的累计充值模板ID
|
| | | Def_PDict_TotalRechargeGold = "TotalRechargeGold" # 消费返利总累计充值仙玉
|
| | | Def_PDict_TotalRechargeGold = "TotalRechargeGold" # 消费返利总累计充值X元
|
| | | Def_PDict_TotalRechargeAwardRecord = "TotalRechargeAwardRecord" # 累计充值领奖记录
|
| | | Def_PDict_TotalRechargeWorldLV = "TotalRechargeWorldLV" #累计充值活动开启时世界等级
|
| | |
|
| | | #限时特惠活动
|
| | | Def_PDict_SpringSaleID = "SpringSaleID" # 玩家身上的限时特惠活动ID,唯一标识,取活动开始日期time
|
| | |
| | | Def_PDict_BossRebornTemplateID = "BossRebornTemplateID" # 玩家身上的BOSS复活模板ID
|
| | | Def_PDict_BRActionCurTimes = "BRActionCurTimes_%s" #当前完成次数 参数BOSS复活活动ID
|
| | | Def_PDict_BRActionGotTimes = "BRActionGotTimes_%s" #当前已领次数 参数BOSS复活活动ID
|
| | | Def_PDict_BRActionWorldLV = "BRActionWorldLV" #BOSS复活活动开启时世界等级
|
| | |
|
| | | #仙界盛典
|
| | | Def_PDict_FairyCeremonyID = "FairyCeremonyID" # 玩家身上的仙界盛典活动ID,唯一标识,取活动开始日期time值
|
| | |
| | | Def_PDict_FCPartyCurPoint = "FCPartyCurPoint" #全民来嗨活动当前总点数
|
| | | Def_PDict_FCPartyAwardRecord = "FCPartyAwardRecord" #全民来嗨活动领奖记录
|
| | | Def_PDict_FCCostGold = "FCCostGold" # 绝版降临总累计消费仙玉
|
| | |
|
| | | #新仙界盛典
|
| | | Def_PDict_NewFairyCeremonyID = "NewFairyCeremonyID" # 玩家身上的仙界盛典活动ID,唯一标识,取活动开始日期time值
|
| | | Def_PDict_NewFCActionWorldLV = "NewFCActionWorldLV" #玩家身上的仙界盛典时的世界等级
|
| | | Def_PDict_NewFCRechargeState = "NewFCRechargeState" # 充值大礼状态 0-不可领 1-可领 2-已领取
|
| | | Def_PDict_NewFCPartyCurCnt = "NewFCPartyCurCnt_%s" #全民来嗨活动当前完成次数 参数活动ID
|
| | | Def_PDict_NewFCPartyCurPoint = "NewFCPartyCurPoint" #全民来嗨活动当前总点数
|
| | | Def_PDict_NewFCPartyAwardRecord = "NewFCPartyAwardRecord" #全民来嗨活动领奖记录
|
| | | Def_PDict_NewFCCostGold = "NewFCCostGold" # 绝版降临总累计消费仙玉
|
| | |
|
| | | #绑玉转盘
|
| | | Def_PDict_BindJadeWheelCurCnt = "BindJadeWheelCurCnt" # 今日已转次数
|
| | |
| | | Def_PDict_HelpBattleCheckInCount = "HelpBattleCheckInCount" #助战登记次数, 登记次数*10+今日是否登记过
|
| | | Def_PDict_HelpBattleTotalCount = "HelpBattleTotalCount" #累计助战次数
|
| | | Def_PDict_FBRealHelpCount = "FBRealHelpCount_%s" #副本真实助战次数,仅针对真实进去打的副本,参数mapID
|
| | |
|
| | | #周狂欢
|
| | | Def_PDict_WeekPartyID = "WeekPartyID" # 玩家身上的活动ID,唯一标识,取活动开始日期time值
|
| | | Def_PDict_WeekPartyCurTimes = "WeekPartyCurTimes_%s_%s" #当前完成次数 参数(第X天,模板ID)
|
| | | Def_PDict_WeekPartyGotTimes = "WeekPartyGotTimes_%s_%s" #当前已领次数 参数(第X天,模板ID)
|
| | | Def_PDict_WeekPartyAwardRecord = "WeekPartyAwardRecord_%s" #积分领奖记录 参数(第X天)
|
| | | Def_PDict_WeekPartyPoint = "WeekPartyPoint_%s" #当天积分 参数(第X天)
|
| | |
|
| | | #节日巡礼周狂欢
|
| | | Def_PDict_FeastWeekPartyID = "FeastWeekPartyID" # 玩家身上的活动ID,唯一标识,取活动开始日期time值
|
| | | Def_PDict_FeastWeekPartyCurTimes = "FeastWPCurTimes_%s_%s" #当前完成次数 参数(第X天,模板ID)
|
| | | Def_PDict_FeastWeekPartyGotTimes = "FeastWPGotTimes_%s_%s" #当前已领次数 参数(第X天,模板ID)
|
| | | Def_PDict_FeastWeekPartyAwardRecord = "FeastWPAward_%s" #积分领奖记录 参数(第X天)
|
| | | Def_PDict_FeastWeekPartyPoint = "FeastWPPoint_%s" #当天积分 参数(第X天)
|
| | |
|
| | | #登录奖励运营活动
|
| | | Def_PDict_LoginAwardID = "LoginAwardID" # 玩家身上的BOSS复活活动ID,唯一标识,取活动开始日期time值
|
| | | Def_PDict_LoginAwardCurTimes = "LoginAwardCurTimes_%s_%s" #当前完成次数 参数(第X天,模板ID)
|
| | | Def_PDict_LoginAwardGotTimes = "LoginAwardGotTimes_%s_%s" #当前已领次数 参数(第X天,模板ID)
|
| | | Def_PDict_LoginAwardWorldLV = "LoginAwardWorldLV%s" #活动开启时世界等级参数(第X天)
|
| | |
|
| | | #诛仙BOSS
|
| | | Def_PDict_ZhuXianBossHelpCnt = "ZhuXianBossHelpCnt" # 协助次数
|
| | |
|
| | | #幸运鉴宝
|
| | | Def_PDict_LuckyTreasureID = "LuckyTreasureID" # 玩家身上的活动ID,唯一标识,取活动开始日期time值
|
| | | Def_PDict_LuckyTreasureFree = "LuckyTreasureFree" #是否免费过
|
| | | Def_PDict_LuckyTreasurePoint = "LuckyTreasurePoint" #幸运值
|
| | | Def_PDict_LuckyTreasureCnt = "LuckyTreasureCnt" #鉴宝次数
|
| | | #-------------------------------------------------------------------------------
|
| | | #类型 Def_PDictType_OnlinePrize
|
| | | Def_PDict1_OnlinePrizeCnt = "OnlinePrizeCnt" # 新手在线已领取奖励次数
|
| | |
| | | Def_PDict_OSC_RecordData = "OSCRecordData_%s" # 开服活动记录数值, 参数(活动类型)
|
| | | Def_PDict_OSC_EndMailState = "EndMailState" # 开服活动结束发放邮件处理状态, 记录该状态的目的是防止开服活动版本变更导致旧号重复补发奖励;
|
| | |
|
| | | Def_PDict_MixServerCampaign_AwardRecord = "MSCAwardRecord_%s" # 合服活动奖励记录
|
| | | Def_PDict_MixServerCampaign_RecordData = "MSCRecordData_%s" # 合服活动记录数值
|
| | | Def_PDict_MixServerCampaign_MailState = "MSCMailState" # 合服活动结束补发未领奖记录邮件状态, 按类型位二进制存储状态
|
| | |
|
| | | # 坐骑 Def_PDictType_Horse
|
| | | Def_PDict_Horser_LV = "Horser_LV_%d" # 坐骑等级 0代表未激活 1代表1级
|
| | | Def_PDict_Horser_Exp = "Horser_Exp_%d" # 坐骑经验
|
| | |
| | | Def_PDict_Rune_HoleOpenState = "Rune_HoleOpenState" # 符印解锁状态
|
| | | Def_PDict_Rune_Data = "Rune_Data_%s" # 符印镶嵌数据, 参数(第几孔)
|
| | |
|
| | | # 聚魂
|
| | | Def_PDict_GatherSoulHoleData = "GatherSoulHoleData_%s" # 聚魂镶嵌数据, 参数(第几孔)
|
| | |
|
| | | # 副本 Def_PDictType_FB
|
| | | Def_PDict_FamilyBossFBAwardState = "FamilyBossFBAwardState_%s" # 家族boss副本领奖状态%s副本id
|
| | | Def_PDict_LastEnterFBPropertyID = "LastEnterFBPropertyID_%s" # 上次进入副本的propertyID%s副本id
|
| | | Def_PDict_LastEnterFBTick = "LastEnterFBTick_%s" # 上次进入副本的时间%s副本id
|
| | |
|
| | | Def_PDict_ManorWarJoinDay = "ManorWarJoinDay" # 上次参加领地争夺战时记录的开服天数
|
| | | Def_PDict_ManorWarContinueTick = "ManorWarContinueTick" # 领地争夺战在战场总时间
|
| | | Def_PDict_ManorWarJoinAwardState = "ManorWarJoinAwardState" # 领地战参与奖励情况0-不可领,1-可领,2-已领
|
| | | Def_PDict_ManorWarDailyAwardRecord = "ManorWarDailyAwardRecord" # 领地争夺战每日奖励领取记录,按位表示
|
| | |
|
| | | # 战斗力 Def_PDictType_FightPower
|
| | | Def_PDict_FightPower_Highest = "FightPower_Highest" # 历史最高总战斗力
|
| | |
| | | Def_PDict_FightPower_Horse = "FightPower_Horse" # 坐骑战斗力
|
| | |
|
| | | Def_PDict_FightPower_List = [Def_PDict_FightPower_Total, Def_PDict_FightPower_Horse]
|
| | |
|
| | |
|
| | | # 特惠活动 Def_PDictType_TeHuiAction
|
| | | Def_PDict_TeHui_ActionID = "%s_ID" # 玩家身上的特惠活动id,参数为GameServer同步的活动标识
|
| | | Def_PDict_TeHui_ClassUPAwardRecord = "TH_ClassUPAwardRecord_%s" # 升阶特惠奖励记录,参数(升阶特惠类型)
|
| | | Def_PDict_TeHui_RechargeGotCnt = "TH_RechargeGotCnt_%s" # 充值特惠奖励已领取次数,参数(规则索引,从0开始)
|
| | | Def_PDict_TeHui_RechargeCanGetCnt = "TH_RechargeCanGetCnt_%s" # 充值特惠奖励可领取次数,参数同上
|
| | | Def_PDict_TeHui_RechargeCurTotalGold = "TH_RechargeCurTotalGold_%s" # 充值特惠奖励累计充值钻石,参数同上
|
| | | Def_PDict_TeHui_RechargeTotalGold = "TH_RechargeTotalGold_%s" # 充值特惠奖励总累计充值钻石,有参数,但是没给参数值,有一定几率更新不了key值,改为没参数的
|
| | | Def_PDict_TeHui_RechargeTotalGoldEx = "TH_RechargeTotalGold" # 充值特惠奖励总累计充值钻石
|
| | | Def_PDict_TeHui_LastRechargeNum = "TH_LastRechargeNum" # 上次充值特惠活动标识, 用于补发上次未领取的奖励
|
| | | Def_PDict_TeHui_RechargeRankTotalGold = "TH_RechargeRankTGold_%s" # 充值排行特惠奖励总累计充值钻石,有参数,但是没给参数值,有一定几率更新不了key值,改为没参数的
|
| | | Def_PDict_TeHui_RechargeRankTotalGoldEx = "TH_RechargeRankTGold" # 充值排行特惠奖励总累计充值钻石
|
| | | Def_PDict_TeHui_CostTotalGold = "TH_CostTotalGold" # 消费返利总累计消费钻石
|
| | | Def_PDict_TeHui_CostAwardState = "TH_CostAwardState" # 消费奖励领取状态
|
| | | Def_PDict_TeHui_LastCostIndex = "TH_LastCostIndex" # 上次消费返利活动标识, 用于补发上次未领取的奖励
|
| | | Def_PDict_TeHui_CostRankTotalGold = "TH_CostRankTGold_%s" # 消费排行特惠奖励总累计充值钻石,有参数,但是没给参数值,有一定几率更新不了key值,改为没参数的
|
| | | Def_PDict_TeHui_CostRankTotalGoldEx = "TH_CostRankTGold" # 消费排行特惠奖励总累计充值钻石
|
| | |
|
| | | # 每日活跃度 Def_PDictType_Activity
|
| | | Def_PDict_Activity_FinishCnt = "Activity_FinishCnt_%s" # 活跃度类型对应完成次数
|
| | |
| | | Def_PDict_Success_FinishTime = "Succ_FinishTime_%s" # 成就是否已完成,参数(索引)
|
| | | Def_PDict_Success_CheckVersion = "Succ_CheckVersion" #老玩家某些功能成就检查版本
|
| | |
|
| | | # QQ相关 Def_PDictType_QQ
|
| | | Def_PDict_QQUpYellowAwardRecord = "QQUpYellowAwardRecord" # QQ成长礼包奖励是否已领取(黄钻)
|
| | | Def_PDict_QQUpBlueAwardRecord = "QQUpBlueAwardRecord" # QQ成长礼包奖励是否已领取(蓝钻)
|
| | | Def_PDict_QQNewManAwardRecord = "QQNewManAwardRecord" # QQ新手礼包奖励是否已领取
|
| | | Def_PDict_QQDayGiftAwardRecord = "QQDayGiftAwardRecord" # QQ每日礼包奖励是否已领取
|
| | | Def_PDict_QQTaskMarketRecord = "QQTaskMarketRecord_%s" # 任务集市领奖记录, 参数为任务记录编号
|
| | |
|
| | | Def_Tencent_PF_List = ["tencent", "qzone", "pengyou","qplus","qqgame","3366"] # 腾讯平台来源pf
|
| | |
|
| | | # qzone |
| | | Def_PDict_QzoneUpAwardRecord = "QzoneUpAwardRecord" # qzone成长礼包奖励是否已领取
|
| | | Def_PDict_QzoneNewManAwardRecord = "QzoneNewManRecord" # qzone新手礼包奖励是否已领取
|
| | | Def_PDict_QzoneDayAwardRecord = "QQDayGiftRecord" # qzone每日礼包奖励是否已领取
|
| | |
|
| | | # 转生 Def_PDictType_Reincarnation
|
| | | Def_PDict_Reinc_Reiki = "Reinc_Reiki" # 当前转生灵力
|
| | | Def_PDict_Reinc_ChangeReikiCnt = "Reinc_ChangeReikiCnt" # 今日已兑换灵力次数
|
| | |
| | | Def_PDict_Master_ExpPoint = "Master_ExpPoint" # 当前大师经验点
|
| | | Def_PDict_Master_FreeSkillPoint = "Master_FreeSkillPoint" # 当前剩余大师技能点
|
| | |
|
| | | # 跨服匹配PK Def_PDictType_MergePK
|
| | | Def_PDict_MergePK_ID = "PD_%s" # 跨服PK玩家ID值, 参数(世界key)
|
| | | Def_PDict_MergePK_Cnt = "PD_MergePK_Cnt" # 跨服PK, 今日已PK次数
|
| | | Def_PDict_MergePK_BuyCnt = "PD_MergePK_BuyCnt" # 跨服PK, 今日已购买PK次数
|
| | | Def_PDict_MergePK_UnUsedBuyCnt = "PD_MergePK_UnUsedBuyCnt" # 跨服PK, 未使用的购买PK次数,永久保存
|
| | | Def_PDict_MergePK_WinsReward = "PD_MergePK_WinsReward" # 连胜奖励领取状态
|
| | | Def_PDict_MergePK_ScoreReward = "PD_MergePK_ScoreReward" # 积分奖励领取状态
|
| | | Def_PDict_MergePK_FirstWinCntReward = "PD_MergePK_FWinCntReward" # 首次胜利奖励领取状态, 领奖状态不重置, 赛季次数重新计算
|
| | |
|
| | | # 跨服王者争霸 Def_PDictType_MergeKing
|
| | | Def_PDict_MergeKing_ID = "PD_%s" # 跨服王者争霸玩家ID值, 参数(世界key)
|
| | | Def_PDict_MergeKing_ServerHonourAward = "PD_MergePK_ServerHonourAward" # 跨服王者争霸玩家全服荣耀奖励领取记录
|
| | | Def_PDict_MergeKing_RankAward = "PD_MergePK_RankAward" # 跨服王者争霸玩家晋级排名奖励领取记录
|
| | | Def_PDict_MergeKing_SupportAward = "PD_MergePK_SupportAward" # 跨服王者争霸玩家竞猜积分奖励领取记录
|
| | | Def_PDict_MergeKing_Worship = "PD_MergePK_Worship" # 跨服王者争霸玩家每日膜拜记录
|
| | | # 跨服竞技场
|
| | | Def_PDict_CrossPK_TotalScore = "CrossPK_TotalScore" # 当前总积分
|
| | | Def_PDict_CrossPK_OnDayScore = "CrossPK_OnDayScore" # 今天过天时的积分
|
| | | Def_PDict_CrossPK_DanLV = "CrossPK_DanLV" # 当前段位
|
| | | Def_PDict_CrossPK_PKCount = "CrossPK_PKCount" # 当前总PK次数
|
| | | Def_PDict_CrossPK_WinCount = "CrossPK_WinCount" # 当前胜利次数
|
| | | Def_PDict_CrossPK_CWinCount = "CrossPK_CWinCount" # 跨当前连胜次数
|
| | | Def_PDict_CrossPK_TodayPKCount = "CrossPK_TodayPKCount" # 今日已PK次数
|
| | | Def_PDict_CrossPK_TodayWinCount = "CrossPK_TodayWinCount" # 今日已胜利次数
|
| | | Def_PDict_CrossPK_TodayBuyCount = "CrossPK_TodayBuyCount" # 今日已购买PK次数
|
| | | Def_PDict_CrossPK_ItemAddCount = "CrossPK_ItemAddCount" # 今日道具增加PK次数
|
| | | Def_PDict_CrossPK_DayPKCountAwardState = "CrossPK_DayPKCountAwardState" # 每日匹配次数奖励记录,二进制位存储是否已领取,按匹配次数升序排序索引代表奖励位
|
| | | Def_PDict_CrossPK_DayWinCountAwardState = "CrossPK_DayWinCountAwardState" # 每日胜利次数奖励记录,二进制位存储是否已领取,按胜利次数升序排序索引代表奖励位
|
| | | Def_PDict_CrossPK_DanLVAwardState = "CrossPK_DanLVAwardState" # 段位达标奖励记录,二进制位存储是否已领取,按段位代表奖励位
|
| | | Def_PDict_CrossPK_SeasonAwardState = "CrossPK_SeasonAwardState" # 赛季结算奖励是否已领取,优先排名奖励,未上榜可领段位奖励
|
| | | Def_PDict_CrossPK_ZoneID = "CrossPK_ZoneID" # 玩家上次参与的赛区ID
|
| | | Def_PDict_CrossPK_SeasonID = "CrossPK_SeasonID" # 玩家上次参与的赛季ID
|
| | | Def_PDict_CrossPK_SeasonDanLV = "CrossPK_SeasonDanLV_%s" # 历史赛季段位,参数,赛季ID
|
| | | Def_PDict_CrossPK_SeasonScore = "CrossPK_SeasonScore_%s" # 历史赛季积分,参数,赛季ID
|
| | | Def_PDict_CrossPK_SeasonOrder = "CrossPK_SeasonOrder_%s" # 历史赛季名次,参数,赛季ID
|
| | | Def_PDict_CrossPK_SeasonAwardLV = "CrossPK_SeasonAwardLV_%s" # 历史赛季奖励等级(一般是段位等级,排行奖励的在最高段位等级基础上增加),参数,赛季ID
|
| | |
|
| | | #自动战斗设置记录
|
| | | Def_PDict_AutoFightSetting = "AFSetting_%s_%s"
|
| | |
| | | Def_PDict_OSRedPacketCanGrabCnt = "OSRedPacketCanGrabCnt" # 开服红包可抢次数
|
| | | Def_PDict_OSRedPacketStartTime = "OSRedPacketStartTime" #开服红包开始倒计时时间
|
| | |
|
| | | #节日红包
|
| | | Def_PDict_FeastRedPacketActID = "FeastRedPacketActID" # 玩家身上的节日红包活动ID,唯一标识,取活动开始日期time值
|
| | | Def_PDict_FeastRedPacketGrabMoney = "FeastRedPacketGrabMoney" # 节日红包已抢数量
|
| | | Def_PDict_FeastRedPacketCanGrabCnt = "FeastRedPacketCanGrabCnt" # 节日红包可抢次数
|
| | |
|
| | | #境界
|
| | | Def_PDict_RealmFBIsOpen = "RealmFBIsOpen" #渡劫副本是否开启 0未开启 1已开启 2可升级境界
|
| | | Def_PDict_RealmFBAttrAdd = "RealmFBAttrAdd_%s" #渡劫副本属性加成 参数属性ID
|
| | | Def_PDict_RealmSitAllTime = "RealmSitAllTime" #打坐总时间
|
| | | Def_PDict_RealmSitRemainTime = "RealmSitRemainTime" #开始打坐前剩余时间秒
|
| | | Def_PDict_RealmSitStartTime = "RealmSitStartTime" #开始打坐时间
|
| | | Def_PDict_RealmSitStopTime = "RealmSitStopTime" #离线时是否在打坐
|
| | |
|
| | | Def_PDict_RealmExp = "RealmExp" #境界修为池总经验
|
| | | Def_PDict_RealmExpPoint = "RealmExpPoint" #境界修为池总经验点
|
| | | Def_PDict_RealmExpBeginTime = "RealmExpBeginTime" #境界修为池经验开始计时时间
|
| | |
|
| | | #法宝
|
| | | Def_PDict_MagicWeaponExp = "MagicWeaponExp_%s" #法宝经验 参数法宝ID
|
| | | Def_PDict_MagicWeaponIsActive = "MagicWeaponIsActive_%s_%s" #法宝激活状态 参数(法宝类型, key编号)
|
| | | Def_PDict_MagicWeaponIsClick = "MagicWeaponIsClick_%s_%s" #法宝点击状态 参数(法宝类型, key编号)
|
| | | Def_PDict_MagicWeaponRefineLV = "MagicWeaponRefineLV_%s" #法宝精炼等级 参数法宝ID
|
| | | Def_PDict_MagicWeaponIsWear = "MagicWeaponIsWear_%s" #法宝佩戴状态 参数法宝ID
|
| | | Def_PDict_XBXZAwardRecord = "XBXZAwardRecord_%s" #仙宝寻主领奖记录 参数ID
|
| | | Def_PDict_MagicWeaponLV = "MagicWeaponLV_%s" #法宝等级 参数法宝ID
|
| | | Def_PDict_MagicWeaponUpExp = "MagicWeaponUpExp_%s" #法宝升级经验 参数法宝ID
|
| | | Def_PDict_MWSoulCurValue = "MWSoulCurValue_%s" #法宝特权当前进度 参数特权ID
|
| | | Def_PDict_MWSoulGotValue = "MWSoulGotValue_%s" #法宝特权已领取进度 参数特权ID
|
| | | Def_PDict_MWSoulGotItemState = "MWSoulGotItemState_%s" #法宝特权领取物品奖励状态 参数特权ID
|
| | | Def_PDict_MWSoulActiveState = "MWSoulActiveState_%s" #法宝之魂激活状态 参数(key编号)
|
| | | Def_PDict_MWFBPassLevel = "MWFBPassLevel_%s" #法宝副本通关关卡 参数(法宝ID)
|
| | |
|
| | | #炼丹炉
|
| | | Def_PDict_AlchemyLV = "AlchemyLV" #炼丹等级
|
| | | Def_PDict_AlchemyExp = "AlchemyExp" #炼丹经验
|
| | |
| | |
|
| | | #套装
|
| | | Def_PDict_EquipPartSuiteLV = "EQPartSuiteLV_%s_%s" #部位套装等级 参数 部位、套装类型
|
| | | Def_PDict_EquipPartSuiteNotify = "EQPartSuiteNotify_%s_%s_%s" #部位套装提示记录 参数 组合类型、套装类型、X件
|
| | | Def_PDict_EquipPartSuiteNotify = "EQPartSuiteNotify_%s" #部位套装提示记录 参数 标记
|
| | |
|
| | | #神兽
|
| | | Def_PDict_DogzFightState = "DogzFightState_%s" # 神兽助战状态,参数为key编号,按神兽ID二进制位存储
|
| | | Def_PDict_DogzBuyHelpbattleCount = "DogzBuyHelpbattleCount" # 额外购买的神兽助战位
|
| | |
|
| | | #装备部位星数
|
| | | Def_PDict_EquipPartStar = "EQPartStar_%s" #装备部位星数 参数 装备背包格子索引
|
| | |
|
| | |
|
| | | #-------------------------------------------------------------------------------
|
| | | #可以从07 41封包购买的背包类型,和对应字典{背包类型:[字典key, 默认格子数]}
|
| | |
| | | #对应 Def_Calc_AllAttrType_MAX
|
| | | ItemEffect_AttrDict = {
|
| | | #基础属性
|
| | | Def_Effect_STR:[[TYPE_Calc_AttrCurSTR], True, TYPE_Linear], # 力量
|
| | | Def_Effect_PNE:[[TYPE_Calc_AttrCurPNE], True, TYPE_Linear], # 智力
|
| | | Def_Effect_PHY:[[TYPE_Calc_AttrCurPHY], True, TYPE_Linear], # 敏捷
|
| | | Def_Effect_CON:[[TYPE_Calc_AttrCurCON], True, TYPE_Linear], # 体力
|
| | | ShareDefine.Def_Effect_Metal:[[TYPE_Calc_Metal], True, TYPE_Linear],
|
| | | ShareDefine.Def_Effect_Wood:[[TYPE_Calc_Wood], True, TYPE_Linear],
|
| | | ShareDefine.Def_Effect_Water:[[TYPE_Calc_Water], True, TYPE_Linear],
|
| | | ShareDefine.Def_Effect_Fire:[[TYPE_Calc_Fire], True, TYPE_Linear],
|
| | | ShareDefine.Def_Effect_Earth:[[TYPE_Calc_Earth], True, TYPE_Linear],
|
| | |
|
| | | #战斗线性
|
| | | ShareDefine.Def_Effect_MaxHP:[[TYPE_Calc_AttrMaxHP], False, TYPE_Linear], # 最大血量
|
| | |
| | | # TYPE_Calc_AttrMATKMin, TYPE_Calc_AttrMATKMax], False, TYPE_Linear],
|
| | | ShareDefine.Def_Effect_AddAtk:[[TYPE_Calc_AttrATKMax], False, TYPE_Linear],
|
| | | #ShareDefine.Def_Effect_AddAtk:[[TYPE_Calc_AttrATKMin, TYPE_Calc_AttrATKMax], False, TYPE_Linear],
|
| | | ShareDefine.Def_Effect_AddMAtk:[[TYPE_Calc_AttrMATKMin, TYPE_Calc_AttrMATKMax], False, TYPE_Linear],
|
| | | #ShareDefine.Def_Effect_AddMAtk:[[TYPE_Calc_AttrMATKMin, TYPE_Calc_AttrMATKMax], False, TYPE_Linear],
|
| | | ShareDefine.Def_Effect_AtkSpeed:[[TYPE_Calc_AttrAtkSpeed], False, TYPE_Linear],
|
| | | ShareDefine.Def_Effect_ToxinDef:[[TYPE_Calc_AttrPoisonDef], False, TYPE_Linear],
|
| | | ShareDefine.Def_Effect_ThunderDef:[[TYPE_Calc_AttrThunderDef], False, TYPE_Linear],
|
| | |
| | | ShareDefine.Def_Effect_LuckyHit:[[TYPE_Calc_LuckyHit], False, TYPE_Linear],
|
| | | ShareDefine.Def_Effect_LuckyHitRate:[[TYPE_Calc_LuckyHitRate], False, TYPE_Linear],
|
| | | ShareDefine.Def_Effect_LuckyHitRateReduce:[[TYPE_Calc_LuckyHitRateReduce], False, TYPE_Linear],
|
| | | ShareDefine.Def_Effect_Luck:[[TYPE_Calc_Luck], False, TYPE_Linear],
|
| | | ShareDefine.Def_Effect_ReduceSkillCD:[[TYPE_Calc_ReduceSkillCD], False, TYPE_Linear],
|
| | | AttrName_MinAtk:[[TYPE_Calc_AttrATKMin], False, TYPE_Linear],
|
| | | AttrName_MaxAtk:[[TYPE_Calc_AttrATKMax], False, TYPE_Linear],
|
| | | AttrName_MinMAtk:[[TYPE_Calc_AttrMATKMin], False, TYPE_Linear],
|
| | | AttrName_MaxMAtk:[[TYPE_Calc_AttrMATKMax], False, TYPE_Linear],
|
| | | #AttrName_MinMAtk:[[TYPE_Calc_AttrMATKMin], False, TYPE_Linear],
|
| | | #AttrName_MaxMAtk:[[TYPE_Calc_AttrMATKMax], False, TYPE_Linear],
|
| | | AttrName_Def:[[TYPE_Calc_AttrDEF], False, TYPE_Linear],
|
| | | AttrName_DefRate:[[TYPE_Calc_AttrMiss], False, TYPE_Linear],
|
| | | AttrName_MaxHP:[[TYPE_Calc_AttrMaxHP], False, TYPE_Linear],
|
| | |
| | | AttrName_Hit:[[TYPE_Calc_AttrHit], False, TYPE_Linear],
|
| | | AttrName_Atk:[[TYPE_Calc_AttrATKMin, TYPE_Calc_AttrATKMax], False, TYPE_Linear],
|
| | | #AttrName_Atk:[[TYPE_Calc_AttrATKMin, TYPE_Calc_AttrATKMax], False, TYPE_Linear],
|
| | | AttrName_MAtk:[[TYPE_Calc_AttrMATKMin, TYPE_Calc_AttrMATKMax], False, TYPE_Linear],
|
| | | #AttrName_MAtk:[[TYPE_Calc_AttrMATKMin, TYPE_Calc_AttrMATKMax], False, TYPE_Linear],
|
| | | AttrName_AutoRestoreHPPer:[[TYPE_Calc_HPRestorePer], False, TYPE_Linear],
|
| | | ShareDefine.Def_Effect_HPRestore:[[TYPE_Calc_HPRestorePer], False, TYPE_Linear],
|
| | | AttrName_GreatHitRate:[[TYPE_Calc_GreatHitRate], False, TYPE_Linear],
|
| | |
| | | AttrName_SuperHit:[[TYPE_Calc_SuperHit], False, TYPE_Linear],
|
| | | AttrName_NPCHurtAddPer:[[TYPE_Calc_NPCHurtAddPer], False, TYPE_Linear],
|
| | | ShareDefine.Def_Effect_NPCHurtAddPer:[[TYPE_Calc_NPCHurtAddPer], False, TYPE_Linear],
|
| | | ShareDefine.Def_Effect_JobAHurtAddPer:[[TYPE_Calc_JobAHurtAddPer], False, TYPE_Linear],
|
| | | ShareDefine.Def_Effect_JobBHurtAddPer:[[TYPE_Calc_JobBHurtAddPer], False, TYPE_Linear],
|
| | | ShareDefine.Def_Effect_JobCHurtAddPer:[[TYPE_Calc_JobCHurtAddPer], False, TYPE_Linear],
|
| | | ShareDefine.Def_Effect_JobAAtkReducePer:[[TYPE_Calc_JobAAtkReducePer], False, TYPE_Linear],
|
| | | ShareDefine.Def_Effect_JobBAtkReducePer:[[TYPE_Calc_JobBAtkReducePer], False, TYPE_Linear],
|
| | | ShareDefine.Def_Effect_JobCAtkReducePer:[[TYPE_Calc_JobCAtkReducePer], False, TYPE_Linear],
|
| | | AttrName_JobAHurtAddPer:[[TYPE_Calc_JobAHurtAddPer], False, TYPE_Linear],
|
| | | AttrName_JobBHurtAddPer:[[TYPE_Calc_JobBHurtAddPer], False, TYPE_Linear],
|
| | | AttrName_JobCHurtAddPer:[[TYPE_Calc_JobCHurtAddPer], False, TYPE_Linear],
|
| | |
| | | ShareDefine.Def_Effect_DefPer:[[TYPE_Calc_AttrDEF], False, TYPE_NoLinear],
|
| | | ShareDefine.Def_Effect_HitRate:[[TYPE_Calc_AttrHit], False, TYPE_NoLinear],
|
| | | ShareDefine.Def_Effect_MissRate:[[TYPE_Calc_AttrMiss], False, TYPE_NoLinear],
|
| | | ShareDefine.Def_Effect_AddMAtkByPer:[[TYPE_Calc_AttrMATKMin, TYPE_Calc_AttrMATKMax], False, TYPE_NoLinear],
|
| | | #ShareDefine.Def_Effect_AddMAtkByPer:[[TYPE_Calc_AttrMATKMin, TYPE_Calc_AttrMATKMax], False, TYPE_NoLinear],
|
| | | ShareDefine.Def_Effect_AddAtkByPer:[[TYPE_Calc_AttrATKMin, TYPE_Calc_AttrATKMax], False, TYPE_NoLinear],
|
| | | ShareDefine.Def_Effect_SuperHitPer:[[TYPE_Calc_SuperHit], False, TYPE_NoLinear],
|
| | | ShareDefine.Def_Effect_SpeedPer:[[TYPE_Calc_AttrSpeed], False, TYPE_NoLinear],
|
| | | ShareDefine.Def_Effect_IceAtkPer:[[TYPE_Calc_AttrIceAtk], False, TYPE_NoLinear],
|
| | | ShareDefine.Def_Effect_IceDefPer:[[TYPE_Calc_AttrIceDef], False, TYPE_NoLinear],
|
| | | #ShareDefine.Def_Effect_AddAtkByPer:[[TYPE_Calc_AttrATKMin, TYPE_Calc_AttrATKMax], False, TYPE_NoLinear],
|
| | | AttrName_MagAtkPer:[[TYPE_Calc_AttrMATKMin, TYPE_Calc_AttrMATKMax], False, TYPE_NoLinear],
|
| | | #AttrName_MagAtkPer:[[TYPE_Calc_AttrMATKMin, TYPE_Calc_AttrMATKMax], False, TYPE_NoLinear],
|
| | | AttrName_AtkPer:[[TYPE_Calc_AttrATKMin, TYPE_Calc_AttrATKMax], False, TYPE_NoLinear],
|
| | | #AttrName_AtkPer:[[TYPE_Calc_AttrATKMin, TYPE_Calc_AttrATKMax], False, TYPE_NoLinear],
|
| | | AttrName_BothAtkPer:[[TYPE_Calc_AttrATKMin, TYPE_Calc_AttrATKMax], False, TYPE_NoLinear],
|
| | |
| | | ShareDefine.Def_Effect_BaseDefAddPer:[[TYPE_Calc_BaseDefAddPer], False, TYPE_NoLinear],
|
| | | ShareDefine.Def_Effect_BaseHitAddPer:[[TYPE_Calc_BaseHitAddPer], False, TYPE_NoLinear],
|
| | | ShareDefine.Def_Effect_BaseMissAddPer:[[TYPE_Calc_BaseMissAddPer], False, TYPE_NoLinear],
|
| | | ShareDefine.Def_Effect_HorcruxBasePer:[[TYPE_Calc_HorcruxBasePer], False, TYPE_NoLinear],
|
| | | ShareDefine.Def_Effect_EquipBaseAddPer:[[TYPE_Calc_WeaponAtkAddPer, TYPE_Calc_RelicsAtkAddPer, |
| | | TYPE_Calc_ArmorMaxHPAddPer, TYPE_Calc_ArmorDefAddPer], False, TYPE_NoLinear],
|
| | | ShareDefine.Def_Effect_WeaponAtkAddPer:[[TYPE_Calc_WeaponAtkAddPer], False, TYPE_NoLinear],
|
| | | ShareDefine.Def_Effect_RelicsAtkAddPer:[[TYPE_Calc_RelicsAtkAddPer], False, TYPE_NoLinear],
|
| | | ShareDefine.Def_Effect_ArmorMaxHPAddPer:[[TYPE_Calc_ArmorMaxHPAddPer], False, TYPE_NoLinear],
|
| | | ShareDefine.Def_Effect_ArmorDefAddPer:[[TYPE_Calc_ArmorDefAddPer], False, TYPE_NoLinear],
|
| | | ShareDefine.Def_Effect_GodWeaponMaxHPPer:[[TYPE_Calc_GodWeaponMaxHPPer], False, TYPE_NoLinear],
|
| | | ShareDefine.Def_Effect_GodWeaponAtkPer:[[TYPE_Calc_GodWeaponAtkPer], False, TYPE_NoLinear],
|
| | | ShareDefine.Def_Effect_StoneMaxHPPer:[[TYPE_Calc_StoneMaxHPPer], False, TYPE_NoLinear],
|
| | |
| | | TYPE_Calc_BaseDefAddPer:[TYPE_Calc_AttrDEF],
|
| | | TYPE_Calc_BaseHitAddPer:[TYPE_Calc_AttrHit],
|
| | | TYPE_Calc_BaseMissAddPer:[TYPE_Calc_AttrMiss],
|
| | | TYPE_Calc_HorcruxBasePer:[TYPE_Calc_AttrATKMin, TYPE_Calc_AttrATKMax, |
| | | TYPE_Calc_AttrMaxHP, TYPE_Calc_AttrDEF],
|
| | | TYPE_Calc_EquipBaseAddPer:[TYPE_Calc_AttrATKMin, TYPE_Calc_AttrATKMax, |
| | | TYPE_Calc_AttrMaxHP, TYPE_Calc_AttrDEF],
|
| | | TYPE_Calc_WeaponAtkAddPer:[TYPE_Calc_AttrATKMin, TYPE_Calc_AttrATKMax],
|
| | | TYPE_Calc_RelicsAtkAddPer:[TYPE_Calc_AttrATKMin, TYPE_Calc_AttrATKMax],
|
| | | TYPE_Calc_ArmorMaxHPAddPer:[TYPE_Calc_AttrMaxHP],
|
| | | TYPE_Calc_ArmorDefAddPer:[TYPE_Calc_AttrDEF],
|
| | | TYPE_Calc_GodWeaponMaxHPPer:[TYPE_Calc_AttrMaxHP],
|
| | | TYPE_Calc_GodWeaponAtkPer:[TYPE_Calc_AttrATKMin, TYPE_Calc_AttrATKMax],
|
| | | TYPE_Calc_StoneMaxHPPer:[TYPE_Calc_AttrMaxHP],
|
| | |
| | | TYPE_Calc_AttrMaxHP],
|
| | | TYPE_Calc_PlusBaseAtkPer:[TYPE_Calc_AttrATKMin, TYPE_Calc_AttrATKMax],
|
| | | }
|
| | |
|
| | | # 对装备基础属性加成配置 {属性ID:[影响部位信息, [影响的计算属性列表]], ...}
|
| | | # 影响部位信息: 大于0-指定部位; -1-所有部位; -2-基础部位
|
| | | EquipBassAttrAddInfoSet = {
|
| | | ShareDefine.Def_Effect_EquipBaseAddPer: [-1, [ShareDefine.Def_Effect_Atk, ShareDefine.Def_Effect_MinAtk, ShareDefine.Def_Effect_MaxAtk, ShareDefine.Def_Effect_MaxHP, ShareDefine.Def_Effect_Def]],
|
| | | ShareDefine.Def_Effect_BaseEquipAddPer: [-2, [ShareDefine.Def_Effect_Atk, ShareDefine.Def_Effect_MinAtk, ShareDefine.Def_Effect_MaxAtk, ShareDefine.Def_Effect_MaxHP, ShareDefine.Def_Effect_Def]],
|
| | | ShareDefine.Def_Effect_BaseEquipAtkAddPer: [-2, [ShareDefine.Def_Effect_Atk, ShareDefine.Def_Effect_MinAtk, ShareDefine.Def_Effect_MaxAtk]],
|
| | | ShareDefine.Def_Effect_BaseEquipMaxHPAddPer: [-2, [ShareDefine.Def_Effect_MaxHP]],
|
| | | ShareDefine.Def_Effect_WeaponAddPer: [ShareDefine.retWeapon, [ShareDefine.Def_Effect_Atk, ShareDefine.Def_Effect_MinAtk, ShareDefine.Def_Effect_MaxAtk]],
|
| | | ShareDefine.Def_Effect_Weapon2AddPer: [ShareDefine.retWeapon2, [ShareDefine.Def_Effect_Atk, ShareDefine.Def_Effect_MinAtk, ShareDefine.Def_Effect_MaxAtk]],
|
| | | ShareDefine.Def_Effect_BeltAddPer: [ShareDefine.retBelt, [ShareDefine.Def_Effect_Atk, ShareDefine.Def_Effect_MinAtk, ShareDefine.Def_Effect_MaxAtk]],
|
| | | ShareDefine.Def_Effect_GloveAddPer: [ShareDefine.retGlove, [ShareDefine.Def_Effect_Atk, ShareDefine.Def_Effect_MinAtk, ShareDefine.Def_Effect_MaxAtk]],
|
| | | ShareDefine.Def_Effect_ClothesAddPer: [ShareDefine.retClothes, [ShareDefine.Def_Effect_MaxHP, ShareDefine.Def_Effect_Def]],
|
| | | ShareDefine.Def_Effect_HatAddPer: [ShareDefine.retHat, [ShareDefine.Def_Effect_MaxHP, ShareDefine.Def_Effect_Def]],
|
| | | ShareDefine.Def_Effect_TrousersAddPer: [ShareDefine.retTrousers, [ShareDefine.Def_Effect_MaxHP, ShareDefine.Def_Effect_Def]],
|
| | | ShareDefine.Def_Effect_ShoesAddPer: [ShareDefine.retShoes, [ShareDefine.Def_Effect_MaxHP, ShareDefine.Def_Effect_Def]],
|
| | | ShareDefine.Def_Effect_FairyCanAddPer: [ShareDefine.retFairyCan, [ShareDefine.Def_Effect_Atk, ShareDefine.Def_Effect_MinAtk, ShareDefine.Def_Effect_MaxAtk, ShareDefine.Def_Effect_MaxHP]],
|
| | | ShareDefine.Def_Effect_FairyCan2AddPer: [ShareDefine.retFairyCan2, [ShareDefine.Def_Effect_Atk, ShareDefine.Def_Effect_MinAtk, ShareDefine.Def_Effect_MaxAtk, ShareDefine.Def_Effect_MaxHP]],
|
| | | ShareDefine.Def_Effect_NeckAddPer: [ShareDefine.retNeck, [ShareDefine.Def_Effect_Atk, ShareDefine.Def_Effect_MinAtk, ShareDefine.Def_Effect_MaxAtk, ShareDefine.Def_Effect_MaxHP]],
|
| | | ShareDefine.Def_Effect_JadeAddPer: [ShareDefine.retJade, [ShareDefine.Def_Effect_Atk, ShareDefine.Def_Effect_MinAtk, ShareDefine.Def_Effect_MaxAtk, ShareDefine.Def_Effect_MaxHP]],
|
| | | }
|
| | |
|
| | | #属性线性索引
|
| | | CalcAttrIndexList = (
|
| | |
| | | #刷属性功能分类索引
|
| | | CalcAttrFuncList = (
|
| | | Def_CalcAttrFunc_RoleBase, # 角色基础 0
|
| | | Def_CalcAttrFunc_EquipBaseWeapon, # 武器物品表基础属性 1
|
| | | Def_CalcAttrFunc_EquipBaseArmor, # 防具物品表基础属性 2
|
| | | Def_CalcAttrFunc_EquipBaseRelics, # 圣器物品表基础属性 3
|
| | | Def_CalcAttrFunc_Equip, # 装备其他(传奇属性 + ) 4 |
| | | Def_CalcAttrFunc_PlusBase, # 装备位强化基础 5
|
| | | Def_CalcAttrFunc_PlusEx, # 装备位强化累加 6
|
| | | Def_CalcAttrFunc_1,
|
| | | Def_CalcAttrFunc_2,
|
| | | Def_CalcAttrFunc_LingGenQuailty, # 灵根品质附加属性 3
|
| | | Def_CalcAttrFunc_LingGen, # 灵根 4
|
| | | Def_CalcAttrFunc_Plus, # 装备位强化 5
|
| | | Def_CalcAttrFunc_6,
|
| | | Def_CalcAttrFunc_Stone, # 装备宝石 7
|
| | | Def_CalcAttrFunc_Suit, # 套装 8
|
| | | Def_CalcAttrFunc_8,
|
| | | Def_CalcAttrFunc_Wing, # 翅膀 9
|
| | | Def_CalcAttrFunc_Wash, # 洗练 10
|
| | | Def_CalcAttrFunc_Pet, # 灵宠 11
|
| | |
| | | Def_CalcAttrFunc_GodWeapon, # 神兵 14
|
| | | Def_CalcAttrFunc_Dienstgrad, # 称号 15
|
| | | Def_CalcAttrFunc_Rune, # 符印 16
|
| | | Def_CalcAttrFunc_Horcrux, # 魂器 17
|
| | | Def_CalcAttrFunc_17,
|
| | | Def_CalcAttrFunc_MagicWeapon1, # 人族法宝属性 18
|
| | | Def_CalcAttrFunc_EquipOutOfPrint, # 绝版属性随等级变化 19
|
| | | Def_CalcAttrFunc_EquipAllStars, # 装备全身星级属性 20
|
| | | Def_CalcAttrFunc_20,
|
| | | Def_CalcAttrFunc_Success, # 成就属性 21
|
| | | Def_CalcAttrFunc_VIP, # VIP属性 22
|
| | | Def_CalcAttrFunc_Stove, # 炼丹炉 23
|
| | |
| | | Def_CalcAttrFunc_PetSkill, # 宠物技能属性 31
|
| | | Def_CalcAttrFunc_StoveYao, # 炼丹炉丹药 32
|
| | | Def_CalcAttrFunc_PetSign, # 宠物签到 33
|
| | | Def_CalcAttrFunc_MagicWeaponSoul, # 法宝之魂属性34
|
| | | Def_CalcAttrFunc_34,
|
| | | Def_CalcAttrFunc_Dogz, # 神兽35
|
| | | Def_CalcAttrFunc_DogzBattleSkill, # 助战神兽技能36
|
| | | Def_CalcAttrFunc_DogzEquip, # 神兽装备37
|
| | | Def_CalcAttrFunc_DogzEquipPlus, # 神兽装备强化38
|
| | | ) = range(39)
|
| | |
|
| | | Def_CalcAttrFunc_GatherSoul, # 聚魂39
|
| | | Def_CalcAttrFunc_MagicWeapon4, # 王者法宝40
|
| | | Def_CalcAttrFunc_Coat, # ʱװ41
|
| | | Def_CalcAttrFunc_ZXEquip, # 诛仙装备42
|
| | | Def_CalcAttrFunc_ZXEquipSuit, # 诛仙装备套装43 - 废弃
|
| | | Def_CalcAttrFunc_ZXEquipStone, # 诛仙宝石属性44 - 废弃
|
| | | Def_CalcAttrFunc_45,
|
| | | Def_CalcAttrFunc_Equip1, # 境界装备1阶 46
|
| | | Def_CalcAttrFunc_Equip2, # 境界装备2阶 47
|
| | | Def_CalcAttrFunc_Equip3, # 境界装备3阶 48
|
| | | Def_CalcAttrFunc_Equip4, # 境界装备4阶 49
|
| | | Def_CalcAttrFunc_Equip5, # 境界装备5阶 50
|
| | | Def_CalcAttrFunc_Equip6, # 境界装备6阶 51
|
| | | Def_CalcAttrFunc_Equip7, # 境界装备7阶 52
|
| | | Def_CalcAttrFunc_Equip8, # 境界装备8阶 53
|
| | | Def_CalcAttrFunc_Equip9, # 境界装备9阶 54
|
| | | Def_CalcAttrFunc_Equip10, # 境界装备10阶 55
|
| | | Def_CalcAttrFunc_Equip11, # 境界装备11阶 56
|
| | | Def_CalcAttrFunc_Equip12, # 境界装备12阶 57
|
| | | Def_CalcAttrFunc_Equip13, # 境界装备13阶 58
|
| | | Def_CalcAttrFunc_Equip14, # 境界装备14阶 59
|
| | | Def_CalcAttrFunc_Equip15, # 境界装备15阶 60
|
| | | ) = range(61)
|
| | |
|
| | | # 在此列表中的功能属性,不享受百分比加成,--属性参与战力计算
|
| | | CalcAttrExFuncList = [Def_CalcAttrFunc_MagicWeapon1, Def_CalcAttrFunc_MagicWeapon2, Def_CalcAttrFunc_MagicWeapon3, |
| | | CalcAttrExFuncList = [Def_CalcAttrFunc_MagicWeapon1, Def_CalcAttrFunc_MagicWeapon2, Def_CalcAttrFunc_MagicWeapon3, Def_CalcAttrFunc_MagicWeapon4,
|
| | | Def_CalcAttrFunc_Stove, Def_CalcAttrFunc_VIP, Def_CalcAttrFunc_PetSoul, Def_CalcAttrFunc_HorseSoul,
|
| | | Def_CalcAttrFunc_StoveYao, Def_CalcAttrFunc_PetSign, Def_CalcAttrFunc_MagicWeaponSoul
|
| | | Def_CalcAttrFunc_StoveYao, Def_CalcAttrFunc_PetSign
|
| | | ]
|
| | |
|
| | | # 在此列表中的功能属性,不享受百分比加成,--属性不参与战力计算,战力由技能配置决定
|
| | |
| | | #战斗力分组类型对应功能点属性分类索引列表,并不是一一对应的,有些战斗力类型可由多个功能点组成
|
| | | MFPTypeAttrFuncIndexDict = {ShareDefine.Def_MFPType_Role:[Def_CalcAttrFunc_RoleBase],
|
| | | # 因为装备评分和实际战力一直出现不匹配的情况,所以装备战力修改为直接由装备评分做为参数计算战力,所以装备评分计算的所有属性不列入战力计算,祥见评分计算函数 ItemCommom.CalcEquipGS
|
| | | # ShareDefine.Def_MFPType_Equip:[Def_CalcAttrFunc_EquipBaseWeapon, Def_CalcAttrFunc_EquipBaseRelics, |
| | | # Def_CalcAttrFunc_EquipBaseArmor, Def_CalcAttrFunc_Equip,
|
| | | # Def_CalcAttrFunc_EquipOutOfPrint, Def_CalcAttrFunc_EquipAllStars],
|
| | | ShareDefine.Def_MFPType_Equip:[Def_CalcAttrFunc_EquipAllStars],
|
| | | ShareDefine.Def_MFPType_Plus:[Def_CalcAttrFunc_PlusBase, Def_CalcAttrFunc_PlusEx],
|
| | | # ShareDefine.Def_MFPType_Equip:[Def_CalcAttrFunc_EquipOutOfPrint],
|
| | | ShareDefine.Def_MFPType_LingGen:[Def_CalcAttrFunc_LingGenQuailty, Def_CalcAttrFunc_LingGen],
|
| | | ShareDefine.Def_MFPType_Plus:[Def_CalcAttrFunc_Plus],
|
| | | ShareDefine.Def_MFPType_Stone:[Def_CalcAttrFunc_Stone],
|
| | | ShareDefine.Def_MFPType_Suit:[Def_CalcAttrFunc_Suit],
|
| | | ShareDefine.Def_MFPType_Wing:[Def_CalcAttrFunc_Wing],
|
| | | ShareDefine.Def_MFPType_Wash:[Def_CalcAttrFunc_Wash],
|
| | | ShareDefine.Def_MFPType_Pet:[Def_CalcAttrFunc_Pet, Def_CalcAttrFunc_PetSign],
|
| | |
| | | ShareDefine.Def_MFPType_GodWeapon:[Def_CalcAttrFunc_GodWeapon],
|
| | | ShareDefine.Def_MFPType_Dienstgrad:[Def_CalcAttrFunc_Dienstgrad],
|
| | | ShareDefine.Def_MFPType_Rune:[Def_CalcAttrFunc_Rune],
|
| | | ShareDefine.Def_MFPType_Horcrux:[Def_CalcAttrFunc_Horcrux],
|
| | | ShareDefine.Def_MFPType_MagicWeapon1:[Def_CalcAttrFunc_MagicWeapon1],
|
| | | ShareDefine.Def_MFPType_MagicWeapon2:[Def_CalcAttrFunc_MagicWeapon2],
|
| | | ShareDefine.Def_MFPType_MagicWeapon3:[Def_CalcAttrFunc_MagicWeapon3, Def_CalcAttrFunc_Stove, Def_CalcAttrFunc_VIP],
|
| | | ShareDefine.Def_MFPType_MagicWeapon4:[Def_CalcAttrFunc_MagicWeapon4],
|
| | | ShareDefine.Def_MFPType_StoveYao:[Def_CalcAttrFunc_StoveYao],
|
| | | ShareDefine.Def_MFPType_MagicWeaponSoul:[Def_CalcAttrFunc_MagicWeaponSoul],
|
| | | # 神兽战力同装备模块战力一致,受评分影响,装备评分相关的战力另外算
|
| | | ShareDefine.Def_MFPType_GatherSoul:[Def_CalcAttrFunc_GatherSoul],
|
| | | ShareDefine.Def_MFPType_Coat:[Def_CalcAttrFunc_Coat],
|
| | | # 诛仙装备战力、神兽战力同装备模块战力一致,受评分影响,装备评分相关的战力另外算
|
| | | ShareDefine.Def_MFPType_Dogz:[Def_CalcAttrFunc_Dogz, Def_CalcAttrFunc_DogzEquipPlus],
|
| | | #ShareDefine.Def_MFPType_ZhuXian:[Def_CalcAttrFunc_ZXEquipSuit, Def_CalcAttrFunc_ZXEquipStone],
|
| | | ShareDefine.Def_MFPType_Equip1:[Def_CalcAttrFunc_Equip1],
|
| | | ShareDefine.Def_MFPType_Equip2:[Def_CalcAttrFunc_Equip2],
|
| | | ShareDefine.Def_MFPType_Equip3:[Def_CalcAttrFunc_Equip3],
|
| | | ShareDefine.Def_MFPType_Equip4:[Def_CalcAttrFunc_Equip4],
|
| | | ShareDefine.Def_MFPType_Equip5:[Def_CalcAttrFunc_Equip5],
|
| | | ShareDefine.Def_MFPType_Equip6:[Def_CalcAttrFunc_Equip6],
|
| | | ShareDefine.Def_MFPType_Equip7:[Def_CalcAttrFunc_Equip7],
|
| | | ShareDefine.Def_MFPType_Equip8:[Def_CalcAttrFunc_Equip8],
|
| | | ShareDefine.Def_MFPType_Equip9:[Def_CalcAttrFunc_Equip9],
|
| | | ShareDefine.Def_MFPType_Equip10:[Def_CalcAttrFunc_Equip10],
|
| | | ShareDefine.Def_MFPType_Equip11:[Def_CalcAttrFunc_Equip11],
|
| | | ShareDefine.Def_MFPType_Equip12:[Def_CalcAttrFunc_Equip12],
|
| | | ShareDefine.Def_MFPType_Equip13:[Def_CalcAttrFunc_Equip13],
|
| | | ShareDefine.Def_MFPType_Equip14:[Def_CalcAttrFunc_Equip14],
|
| | | ShareDefine.Def_MFPType_Equip15:[Def_CalcAttrFunc_Equip15],
|
| | | ShareDefine.Def_MFPType_Other:[Def_CalcAttrFunc_Success, Def_CalcAttrFunc_FamilyTech, Def_CalcAttrFunc_EquipDecompose],
|
| | | }
|
| | |
|
| | |
| | | TriggerType_SummonDie, #自身召唤兽死亡触发技能 60
|
| | | TriggerType_GiftReduceCD, # 天赋用的减CD 61
|
| | | TriggerType_ProDefValue, # 神兵护盾值下降时 62
|
| | | ) = range(1, 63)
|
| | | TriggerType_LockHP, # 锁血触发技能 63
|
| | | TriggerType_BeLuckyHit, # 被会心一击触发技能 64
|
| | | TriggerType_BeLuckyHitSubPer, # 减少受到的会心伤害 65
|
| | | TriggerType_ZhongjiZhansha, # 终极斩杀 66
|
| | | TriggerType_SuperHitSubLayer, # 暴击减层 67
|
| | | TriggerType_SuperHitSkipCD, # 暴击无冷却 68
|
| | | TriggerType_BuffHurtCnt, # 当持续buff伤害第X次时触发技能 69
|
| | | TriggerType_4074PerValue, # 特殊效果的加成 70
|
| | | ) = range(1, 71)
|
| | |
|
| | |
|
| | | # NPC功能类型定义
|
| | |
| | | ShareDefine.PlayerJob_Max : TYPE_CHAPLAIN, #魔剑对应魔剑系
|
| | | }
|
| | |
|
| | | #跨服服务器广播类型, 与GameServer一致
|
| | | (
|
| | | Def_PreeSetPlayer, #添加跨服预选赛参赛人员 0
|
| | | Def_PreeSetBattleInfo, #添加跨服预选赛对战表1
|
| | | Def_PreeBattleIDOver, #每场跨服预选赛的结果2
|
| | | Def_SetPlayer, #添加参赛人员3
|
| | | Def_SetBattleInfo, #添加跨服预选赛对战表4
|
| | | Def_BattleIDOver, #每场跨服预选赛的结果5
|
| | | Def_PlayerChange, #人员表信息变更6
|
| | | Def_EliminationReword, #万国淘汰赛参数奖励7
|
| | | Def_MergeServerOpenActionDay, #万国开启的活动到现在的天数8
|
| | | Def_MergeServerOpenActionState, #万国开启的活动状态9
|
| | | Def_MergeWarStartTime, #万国活动激活时间10
|
| | | Def_MergeDictKeyValue, #跨服GameWorld字典key值11
|
| | | Def_MergeBossKilled, #跨服boss单boss击杀结果12
|
| | | Def_MergeBossResult, #跨服boss结果13
|
| | | Def_MergePKMatchResult, #跨服PK匹配信息14
|
| | | Def_MergePKReadyOKRoomList, #跨服PK已准备好的房间列表15
|
| | | Def_MergePKSyncBillboard, #跨服PK同步排行榜16
|
| | | Def_MergePKLuckyItem, #跨服PK同步排行榜17
|
| | | Def_MergePKActionState, #跨服PK活动状态变更18
|
| | | Def_MergePKTopPlayerView, #跨服PK活动高手榜玩家展示信息19
|
| | | Def_RecoverMergePKWinCost, #跨服PK恢复连胜扣费信息20
|
| | | Def_MergeWorldNotify, #跨服全服广播21
|
| | | Def_MergeLoudspeaker, #跨服全服喇叭22
|
| | | Def_MergePKKing, #跨服王者争霸23
|
| | | Def_MergePKUnNotifyOverInfo, #跨服PK未同步的PK结果24
|
| | | Def_MergeOnLinePlayer, #跨服在线玩家25
|
| | | Def_Merge26, #26
|
| | | Def_MergePlayerEvent, #跨服玩家事件27
|
| | | Def_MaxType, |
| | | ) = range(29)
|
| | |
|
| | | #子服务器发送信息到跨服服务器, 与GameServer一致
|
| | | (
|
| | | Def_RequestMergePKMatch, #跨服PK匹配请求0
|
| | | Def_CancelMergePKMatch, #跨服PK取消匹配1
|
| | | Def_MergePKPrepareOK, #跨服PK准备完毕2
|
| | | Def_SendGMCMD, #发送GM命令3
|
| | | Def_RecoverMergePKWin, #跨服PK恢复连胜4
|
| | | Def_SendMergeLoudspeaker, #发送跨服喇叭5
|
| | | Def_ClientServerInitOK, #跨服子服启动成功6
|
| | | ) = range(7)
|
| | |
|
| | | #版本修正标记, 使用key格式 Def_Player_Dict_VersionFix
|
| | | (
|
| | | Def_VerFix_ChatBubbleBox, # 1.2版本购买VIP礼包可获得激活气泡框道具,针对已购买过VIP礼包的老号处理;
|
| | | Def_VerFix_CTGDoublePrize, # 1.2版本开放首充双倍,重置老号充值ID对应累计充值次数;
|
| | | Def_VerFix_RuneSource, # 修复老号双属性符印的获取途径;
|
| | | Def_VerFix_FMTDouble, # 1.3版本VIP特权变更,记录切换版本前的VIP特权(封魔坛双倍挑战);
|
| | | Def_VerFix_SuperGift, # 超值礼包开启变更,原领取首充开启,改成等级到开启;
|
| | | ) = range(5)
|
| | | #(
|
| | | #
|
| | | #) = range(0)
|
| | |
|
| | | ##==================================================================================================
|
| | | #游戏消费点类型定义
|
| | |
| | | Def_Cost_WishingWell, # 许愿池刷新
|
| | | Def_Cost_GodWeapon, # 神兵
|
| | | Def_Cost_FBHelpBattle, # 副本助战
|
| | | Def_Cost_FBGatherSoulBoss, # 聚魂副本BOSS召唤 40
|
| | | Def_Cost_CrossRealmPK, # 跨服PK
|
| | | Def_Cost_LuckyTreasure, #幸运鉴宝
|
| | | Def_Cost_MysteryShopRefresh, # 神秘商店刷新
|
| | | Def_Cost_AuctionBid, # 拍卖行竞价
|
| | | #-----------以下为暂时没用的,先不删除,如有新增消费点则放在这些之前------------
|
| | | Def_Cost_RefreshArrestTask, # 刷新悬赏任务
|
| | | Def_Cost_OffLineExp, # 兑换离线经验
|
| | |
| | | Def_Cost_FinishTruck, # 完成镖车
|
| | | Def_Cost_RefreshTimeShop, # 刷新神秘商店
|
| | | Def_Cost_OpenNoble, # 开通贵族
|
| | | Def_Cost_BuyMergePKCnt, # 购买跨服PK次数
|
| | | Def_Cost_RecoverMergePKWin, # 恢复跨服PK连胜
|
| | | Def_Cost_MergeKingSupport, # Ѻע
|
| | | Def_Cost_MergeKingBribe, # 贿赂
|
| | | Def_Cost_HighLadder, # 天梯竞技场
|
| | | Def_Cost_Reincarnation, # 转生
|
| | | Def_Cost_BuyStallItem, # 购买摆摊物品
|
| | | Def_Cost_Warehouse, # 仓库
|
| | | Def_Cost_BuyItemBack, # 回购
|
| | | Def_Cost_ExchangeActionItem, # 活动物品兑换
|
| | | Def_Cost_Trade, # 交易
|
| | | Def_Cost_Rename, # 改名
|
| | | Def_Cost_SkillLvUp, # 技能升级
|
| | | ) = range(2000, 2000 + 59)
|
| | | ) = range(2000, 2000 + 58)
|
| | |
|
| | | Def_Cost_Reason_SonKey = "reason_name_son" # 消费点原因子类说明key
|
| | |
|
| | | # 消费返利不处理的消费类型列表
|
| | | CostRebate_DisableType = [Def_Cost_BourseBuy, Def_Cost_BourseCharge, Def_Cost_FreeGoods, Def_Cost_FamilyRedPacket,
|
| | | Def_Cost_Unknown, "GMSetMoney", "Warehouse"]
|
| | | Def_Cost_Unknown, "GMSetMoney", "Warehouse", Def_Cost_AuctionBid]
|
| | | CostProfit_CostType = [Def_Cost_BourseBuy, Def_Cost_BourseCharge, Def_Cost_Unknown,
|
| | | "GMSetMoney", "Warehouse"]
|
| | | "GMSetMoney", "Warehouse", Def_Cost_AuctionBid]
|
| | |
|
| | | # 消费VIP不处理的消费类型列表
|
| | | CostVIP_CostType = [Def_Cost_BourseBuy, Def_Cost_BourseCharge, Def_Cost_Unknown,
|
| | | "GMSetMoney", "Warehouse"]
|
| | | "GMSetMoney", "Warehouse", Def_Cost_AuctionBid]
|
| | |
|
| | | # 可在跨服中消费的类型列表
|
| | | MergeServerCanCostType = [Def_Cost_UseSpeaker, Def_Cost_Revive, Def_Cost_FBEncourage]
|
| | | #内部仙玉不能用的消费类型列表
|
| | | UnUseInner_CostType = [Def_Cost_BourseBuy, Def_Cost_FamilyRedPacket]
|
| | | UnUseInner_CostType = [Def_Cost_BourseBuy, Def_Cost_FamilyRedPacket, Def_Cost_AuctionBid]
|
| | | # 消费类型对应信息字典{消费类型:[eventName, 中文说明reason_name, 发送给9377的数据是否分消费子类], }
|
| | | # 由于9377那边数据建议所有消费点总和最好不超过500个,故这里对部分发送给对方的数据进行归组为不分子类,或直接归属于商城分组
|
| | | # .使用原价购买的物品统一归属为商城组,消费对应为AutoBuy的也归属于商城分组
|
| | |
| | | Def_Cost_RefreshArrestTask:"RefreshArrestTask",
|
| | | Def_Cost_RefreshTimeShop:"RefreshTimeShop",
|
| | | Def_Cost_ResetGreatMasterSkill:"ResetTalentSkill",
|
| | | Def_Cost_BuyMergePKCnt:"BuyMergePKCnt",
|
| | | Def_Cost_RecoverMergePKWin:"RecoverMergePKWin",
|
| | | Def_Cost_MergeKingSupport:"MergeKingSupport",
|
| | | Def_Cost_MergeKingBribe:"MergeKingBribe",
|
| | | Def_Cost_GM:"GM",
|
| | | Def_Cost_BourseBuy:"BourseBuy",
|
| | | Def_Cost_BourseCharge:"BourseCharge",
|
| | | Def_Cost_EquipWash:"EquipWash",
|
| | | Def_Cost_HighLadder:"HighLadder",
|
| | | Def_Cost_UseItem:"UseItem",
|
| | | Def_Cost_AddSignDay:"AddSignDay",
|
| | | Def_Cost_FBSweep:"FBSweep",
|
| | |
| | | Def_Cost_Transport:"Transport",
|
| | | Def_Cost_OffLineExp:"OffLineExp",
|
| | | Def_Cost_GameServer:"GameServer",
|
| | | Def_Cost_ExchangeActionItem:"ExchangeActionItem",
|
| | | Def_Cost_Reincarnation:"Reincarnation",
|
| | | Def_Cost_BuyStallItem:"BuyStallItem",
|
| | | Def_Cost_Trade:"Trade",
|
| | |
| | | Def_Cost_WishingWell:"WishingWell",
|
| | | Def_Cost_GodWeapon:"GodWeapon",
|
| | | Def_Cost_FBHelpBattle:"FBHelpBattle",
|
| | | Def_Cost_FBGatherSoulBoss:"FBGatherSoulBoss",
|
| | | Def_Cost_CrossRealmPK:"CrossRealmPK",
|
| | | Def_Cost_LuckyTreasure:"LuckyTreasure",
|
| | | Def_Cost_MysteryShopRefresh:"MysteryShopRefresh",
|
| | | Def_Cost_AuctionBid:"AuctionBid",
|
| | | }
|
| | | ## -----------------------------------------------------
|
| | |
|
| | |
| | | Def_GiveMoney_Warehouse, # 仓库
|
| | | Def_GiveMoney_SellPackItem, # 出售背包物品
|
| | | Def_GiveMoney_CollectNPC, # 采集NPC
|
| | | Def_GiveMoney_HighLadder, # 天梯竞技场 20
|
| | | Def_GiveMoney_20,
|
| | | Def_GiveMoney_StallItem, # 摆摊
|
| | | Def_GiveMoney_Trade, # 交易
|
| | | Def_GiveMoney_Truck, # 运镖
|
| | | Def_GiveMoney_FreeGoods, # 极品白拿 25
|
| | | Def_GiveMoney_BindJadeWheel, # 绑玉转盘
|
| | | ) = range(1000, 1000 + 26)
|
| | | Def_GiveMoney_FreeGoods, # 极品白拿 |
| | | Def_GiveMoney_BindJadeWheel, # 绑玉转盘 25
|
| | | Def_GiveMoney_GatherSoulDecompose, #聚魂分解 26
|
| | | Def_GiveMoney_AuctionBidReturn, #拍卖竞价返还
|
| | | Def_GiveMoney_AuctionGain, #拍卖获得利润
|
| | | ) = range(1000, 1000 + 29)
|
| | |
|
| | | Def_Give_Reason_SonKey = "reason_name_son" # 原因子类说明key
|
| | |
|
| | |
| | | Def_GiveMoney_Warehouse:"Warehouse",
|
| | | Def_GiveMoney_SellPackItem:"SellPackItem",
|
| | | Def_GiveMoney_CollectNPC:"CollectNPC",
|
| | | Def_GiveMoney_HighLadder:"HighLadder",
|
| | | Def_GiveMoney_StallItem:"StallItem",
|
| | | Def_GiveMoney_Trade:"Trade",
|
| | | Def_GiveMoney_Truck:"Truck",
|
| | | Def_GiveMoney_FreeGoods:"FreeGoods",
|
| | | Def_GiveMoney_BindJadeWheel:"BindJadeWheel",
|
| | | Def_GiveMoney_GatherSoulDecompose:"GatherSoulDecompose",
|
| | | Def_GiveMoney_AuctionBidReturn:"AuctionBidReturn",
|
| | | Def_GiveMoney_AuctionGain:"AuctionGain",
|
| | | }
|
| | |
|
| | | ##==================================================================================================
|
| | |
| | | ItemGive_Refine, # 炼丹
|
| | | ItemGive_Chests, # 宝箱
|
| | | ItemGive_TrialExchange, # 宗门兑换
|
| | | ) = range(1000, 1000 + 20)
|
| | | ItemGive_LuckyTreasure, #幸运鉴宝
|
| | | ) = range(1000, 1000 + 21)
|
| | |
|
| | | # 物品获得类型对应信息 {类型:eventName, ...}
|
| | | ItemGiveTypeDict = {
|
| | |
| | | ItemGive_Refine:"Refine",
|
| | | ItemGive_Chests:"Chests",
|
| | | ItemGive_TrialExchange:"TrialExchange",
|
| | | ItemGive_LuckyTreasure:"LuckyTreasure",
|
| | | }
|
| | |
|
| | | ## 物品扣除类型定义,与获得类型不重复,类型定义为 2000 ~ 2999
|
| | |
| | | ItemDel_AddKillBossCnt, # 增加BOSS可击杀次数 32
|
| | | ItemDel_DogzEquipPlus, # 神兽装备强化
|
| | | ItemDel_ChatBubbleBox, # 激活聊天气泡框
|
| | | ) = range(2000, 2000 + 35)
|
| | | ItemDel_GatherSoul, # 聚魂分解
|
| | | ItemDel_CoatDecompose, # 时装分解
|
| | | ItemDel_ZhuXianDecompose, # 诛仙装备分解
|
| | | ItemDel_EquipStarUp, # 装备升星
|
| | | ItemDel_EquipPlusEvolve, # 装备强化进化
|
| | | ) = range(2000, 2000 + 40)
|
| | |
|
| | | # 物品扣除类型对应信息 {类型:eventName, ...}
|
| | | ItemDelTypeDict = {
|
| | |
| | | ItemDel_AddFBCnt:"AddFBCnt",
|
| | | ItemDel_AddKillBossCnt:"AddKillBossCnt",
|
| | | ItemDel_DogzEquipPlus:"DogzEquipPlus",
|
| | | ItemDel_ChatBubbleBox:"ChatBubbleBox",
|
| | | ItemDel_GatherSoul:"GatherSoul",
|
| | | ItemDel_CoatDecompose:"CoatDecompose",
|
| | | ItemDel_ZhuXianDecompose:"ZhuXianDecompose",
|
| | | ItemDel_EquipStarUp:"EquipStarUp",
|
| | | ItemDel_EquipPlusEvolve:"EquipPlusEvolve",
|
| | | }
|
| | |
|
| | | ##==================================================================================================
|
| | |
| | | VIPPrivilege_FamilyGoldPack, #23 仙盟钻石红包
|
| | | VIPPrivilege_BoursePwd, #24 集市上架使用密码
|
| | | VIPPrivilege_25, #25 封魔坛购买次数 - 副本总表统一处理
|
| | | VIPPrivilege_BoursePwd, #26 VIP被动技能孔——VIP4专属被动技能孔
|
| | | VIPPrivilege_26, #26 VIP被动技能孔——VIP4专属被动技能孔
|
| | | VIPPrivilege_BOSSHomeKillLimit, #27 BOSS之家疲劳值上限
|
| | | VIPPrivilege_FMTDouble, #28 封魔坛双倍击杀
|
| | | VIPPrivilege_29, #29 娲皇遗迹购买次数 - 副本总表统一处理
|
| | |
| | | VIPPrivilege_32, #32 封魔坛自动挑战
|
| | | VIPPrivilege_XianyuanCoinUpperAdd, #33 仙缘币上限加成
|
| | | VIPPrivilege_XianyuanCoinAddPer, #34 仙缘币获得倍率加成(万分比)
|
| | | ) = range(1, 35)
|
| | | VIPPrivilege_35, #35 诛仙BOSS购买次数 - 副本总表统一处理
|
| | | ) = range(1, 36)
|
| | |
|
| | |
|
| | | (
|
| | |
| | | ntPet,
|
| | | ntTouchKill, #触碰后自杀类 17
|
| | | ntUndeath, #不死类型 18
|
| | | ntRobot, #上古战场机器人类型 19
|
| | | ntDestructible, #场景内可破坏的 19
|
| | | ntHelpBattleRobot, #助战机器人 20
|
| | | ntRobot, #机器人21
|
| | | ntMax
|
| | | ) = range(22)
|
| | | ) = range(23)
|
| | |
|
| | |
|
| | | (Def_SkillFuncType_Common, #0为通用技能
|
| | |
| | | Def_SkillFuncType_SkillRoll, #10为翻滚 服务端未用到
|
| | | Def_SkillFuncType_RealmSuppress, #11为境界压制 目前是NPC在用
|
| | | Def_SkillFuncType_Dogz, #12 神兽技能
|
| | | ) = range(13)
|
| | | Def_SkillFuncType_ZhuXian, #13 诛仙技能
|
| | | ) = range(14)
|
| | |
|
| | | # 受技能效果完全影响的怪, 对应 Def_BattleRelationType_CommNoBoss
|
| | | Def_SkillAttack_NPCIsBoss = [ Def_NPCType_Ogre_Normal , #平凡小怪 0 # c++ 定义为普通NPC视野刷新
|
| | |
| | | GoldInvestType_Month, # 月卡投资
|
| | | GoldInvestType_VIP, # vip投资
|
| | | GoldInvestType_Gold, # 仙玉投资
|
| | | ) = range(1,3+1)
|
| | | GoldInvestType_Gold2, # 仙玉投资2
|
| | | GoldInvestType_Gold3, # 仙玉投资3
|
| | | ) = range(1,5+1)
|
| | |
|
| | | #可以循环投资的类型
|
| | | CanRepeatInvestType = [GoldInvestType_Month, GoldInvestType_VIP]
|
| | |
|
| | | #仙玉投资类型
|
| | | InvestGoldTypeList = [GoldInvestType_Gold, GoldInvestType_Gold2, GoldInvestType_Gold3]
|
| | |
|
| | | #前端特殊新手引导存储标记
|
| | | GuideState_BZZDShow = 202
|
| | |
| | | tttFBAddTime, # 可挑战下一关倒计时 6
|
| | | tttDeadTime, # 死亡倒计时(古神禁地) 7
|
| | | tttPickupItem, # 拾取物品倒计时 8
|
| | | tttWaitPlayer, # 等待对手倒计时 9
|
| | | tttPlayerLeave, # 对手掉线倒计时 10
|
| | | tttMax,
|
| | | ) = range(10)
|
| | | ) = range(12)
|
| | |
|
| | | Def_FBPickupItemTime = 30000
|
| | |
|
| | |
| | | Def_RewardType_XBXZ, # 仙宝寻主奖励6
|
| | | Def_RewardType_DayRealmPoint, # 每日任务修行点奖励7
|
| | | Def_RewardType_GoldGiftFirst, # 首充礼包奖励8
|
| | | Def_RewardType_MWSoulAward, # 法宝之魂奖励9
|
| | | Def_RewardType_MWSoulAward, # 法宝之魂奖励9 -废弃
|
| | | Def_RewardType_FreeGoods, # 极品白拿10
|
| | | Def_RewardType_CostRebate, # 消费返利11
|
| | | Def_RewardType_BossReborn, # BOSS复活12
|
| | |
| | | Def_RewardType_OpenFunc, # 功能开启奖励17
|
| | | Def_RewardType_TotalRecharge, # 累计充值奖励18
|
| | | Def_RewardType_IceLodeStar, # 冰晶矿脉星级奖励19
|
| | | )= range(20)
|
| | | Def_RewardType_WeekPartyAct, # 领取周狂欢活动奖励20
|
| | | Def_RewardType_WeekPartyPoint, # 领取周狂欢积分奖励21
|
| | | Def_RewardType_ActLoginAwardAct, # 领取登录奖励活动奖励22
|
| | | Def_RewardType_NewFairyCRecharge, # 新仙界盛典充值大礼23
|
| | | Def_RewardType_NewFairyCParty, # 新仙界盛典全民来嗨24
|
| | | Def_RewardType_FeastWeekPartyAct, # 领取节日巡礼活动奖励25
|
| | | Def_RewardType_FeastWeekPartyPoint, # 领取节日巡礼积分奖励26
|
| | | )= range(27)
|
| | |
|
| | |
|
| | | #boss复活相关活动定义
|
| | |
| | | Def_PPAct_VIPBoss, #vipBOSS 13
|
| | | ) = range(1, 13+1)
|
| | |
|
| | | #周狂欢活动定义
|
| | | WeekPartyActIDList = (
|
| | | Def_WPAct_RunTask, #师门悬赏 1
|
| | | Def_WPAct_XJMJ, #仙境秘境 2
|
| | | Def_WPAct_KirinHome, #麒麟之府 3
|
| | | Def_WPAct_QueenRelices, #娲皇遗迹 4
|
| | | Def_WPAct_IceLode, #冰晶矿脉 5
|
| | | Def_WPAct_Tower, #符印塔 6
|
| | | Def_WPAct_WorldBOSS, #世界boss 7
|
| | | Def_WPAct_BOSSHome, #boss之家 8
|
| | | Def_WPAct_FMT, #封魔坛 9
|
| | | Def_WPAct_GodArea, #古神禁地 10
|
| | | Def_WPAct_CrossPK, #跨服pk 11
|
| | | Def_WPAct_Recharge, #充值X仙玉 12
|
| | | Def_WPAct_GiftBag, #购买限时礼包 13
|
| | | Def_WPAct_FamilyRobBoss, #boss争夺战 14
|
| | | Def_WPAct_SWRH, #守卫人皇 15
|
| | | Def_WPAct_ElderBattlefield, #上古战场 16
|
| | | Def_WPAct_ChaosDemon, #混乱妖域 17
|
| | | Def_WPAct_XMZZ, #仙魔之争 18
|
| | | Def_WPAct_FamilyWar, #仙魔联赛 19
|
| | | Def_WPAct_Login, #每日登录 20
|
| | | Def_WPAct_Horse, #激活某只坐骑 21
|
| | | Def_WPAct_Pet, #激活某只灵宠 22
|
| | | Def_WPAct_Dogz, #出战某只神兽 23
|
| | | Def_WPAct_Stone, #宝石总等级 24
|
| | | Def_WPAct_GodWeapon, #神兵总等级 25
|
| | | Def_WPAct_Rune, #穿戴某品质符印 26
|
| | | Def_WPAct_Pray, #祈愿 27
|
| | | ) = range(1, 27+1)
|
| | |
|
| | | #可提前完成的周狂欢活动
|
| | | AheadFinishWPActList = [Def_WPAct_Horse, Def_WPAct_Pet, Def_WPAct_Dogz, Def_WPAct_Rune]
|
| | |
|
| | | #登录奖励活动定义
|
| | | LoginAwardActIDList = (
|
| | | Def_LoginAct_Login, #每日登录1
|
| | | Def_LoginAct_Pray, #祈愿2
|
| | | Def_LoginAct_TowerSweep, #符印塔扫荡 3
|
| | | Def_LoginAct_KirinHome, #麒麟之府 4
|
| | | Def_LoginAct_RunTask, #师门悬赏5
|
| | | Def_LoginAct_XJMJ, #仙境秘境 6
|
| | | Def_LoginAct_FMT, #封魔坛7
|
| | | Def_LoginAct_MunekadoTrial, #宗门试炼8
|
| | | Def_LoginAct_FamilyParty, #仙盟宴会9
|
| | | Def_LoginAct_WorldBOSS, #世界boss 10
|
| | | Def_LoginAct_QueenRelices, #娲皇遗迹 11
|
| | | Def_LoginAct_IceLode, #冰晶矿脉 12
|
| | | Def_LoginAct_GodArea, #古神禁地 13
|
| | | Def_LoginAct_ZhuXianTower, #诛仙塔挑战 14
|
| | | Def_LoginAct_ZhuXianBOSS, #诛仙boss 15
|
| | | Def_LoginAct_Alchemy, #炼丹 16
|
| | | Def_LoginAct_EquipPlus, #强化 17
|
| | | Def_LoginAct_EquipWash, #洗炼 18
|
| | | ) = range(1, 18+1)
|
| | |
|
| | |
|
| | | # 套装枚举,普通套装,强化套装
|
| | | (EquipSuitType_Normal,
|
| | | EquipSuitType_Plus,
|
| | |
| | | PowerDownType_EquipWash, #洗练
|
| | | PowerDownType_Title, #称号过期
|
| | | PowerDownType_Dogz, #神兽召回
|
| | | ) = range(7)
|
| | | PowerDownType_ResetPoint, #洗点
|
| | | PowerDownType_ResetTalent, #大师天赋重置
|
| | | PowerDownType_GatherSoul, #聚魂替换
|
| | | ) = range(11)
|
| | | FightPowerDownRecordDict = {
|
| | | PowerDownType_Rune:'Rune',
|
| | | PowerDownType_LVUP:'LVUP',
|
| | |
| | | PowerDownType_EquipWash:'EquipWash',
|
| | | PowerDownType_Title:'DelTitle',
|
| | | PowerDownType_Dogz:'DogzState',
|
| | | PowerDownType_ResetPoint:'ResetPoint',
|
| | | PowerDownType_ResetTalent:'ResetTalent',
|
| | | PowerDownType_GatherSoul:'GatherSoul',
|
| | | } |