hxp
2025-10-22 5925409bdea13d819e4e4356a51043de5f3f9bd8
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py
@@ -347,8 +347,8 @@
TYPE_Calc_BaseDefAddPer,                # 基础防御百分比
TYPE_Calc_BaseHitAddPer,                # 基础命中百分比
TYPE_Calc_BaseMissAddPer,               # 基础闪避百分比
TYPE_Calc_GodWeaponMaxHPPer,            # 神兵生命百分比
TYPE_Calc_GodWeaponAtkPer,              # 神兵攻击百分比 105
TYPE_Calc_104,                          # 神兵生命百分比
TYPE_Calc_105,                          # 神兵攻击百分比 105
TYPE_Calc_StoneMaxHPPer,                # 宝石生命百分比
TYPE_Calc_StoneAtkPer,                  # 宝石攻击百分比
TYPE_Calc_HPCureEnhance,                # 血瓶恢复效果增加
@@ -508,7 +508,6 @@
Def_ItemType_MissionItem = 17      #任务物品
Def_ItemType_TransMissionItem = 18      #转职任务物品
Def_ItemType_RealmStuff = 19      #头衔(境界)升级道具
Def_ItemType_GodWeaponStuff = 20      #头衔(境界)升级道具
Def_ItemType_HorseStuff = 21      #坐骑丹
Def_ItemType_HorseSoul = 22      #坐骑兽魂
Def_ItemType_HorseBook = 23      #坐骑技能书
@@ -771,8 +770,6 @@
Def_Item_Eff_UseClassLV = 2821
#祝福值波动范围 随机用
Def_Item_Eff_BlessRange = 2818
#神兵经验值
Def_Item_Eff_GodWeaponExp = 206
#---------------------------------------------------------------------
#写死的任务ID
#新手任务
@@ -2883,10 +2880,6 @@
Def_PetRoleGapLVMax = 5                    # 宠物可出战的等级最多大于玩家等级数
Def_Pet_ProcessHP_Tick = 3000              # 宠物回血间隔
#---自动防外挂验证---
#玩家字典用于连续自动检测不回复次数
Def_Player_AutoCheck_Count = 'playerCheckCount0704'
#角色记录是否使用外挂
(
Def_AutoCheck_State_Safe,
@@ -2916,12 +2909,6 @@
    Def_GameWallow_LV_Third,    # 5Сʱ
    Def_GameWallow_LV_Max,
)= range(0, 10)
#---物品卖给商店商店类型记录---
(
    Def_ShopType_NpcShop,     #NPC商店
    Def_ShopType_LongSale,    #远程贩售
) = range(1, 2+1)
# 回合攻击战斗类型
(
@@ -3084,7 +3071,6 @@
Def_PlayerKey_BuffHurtCnt = "BuffHurtCnt" # 持续buff掉血次数
Def_PlayerKey_Zhansha = "zhansha"   # 斩杀标志
Def_PlayerKey_LockHPSkillID = "LockHPSkillID"   # 锁血功能的技能
Def_PlayerKey_GodWeaponBeforeProDef = "GWBPD"   # 神兵护盾被攻击前的值
Def_PlayerKey_curHurtValue = "curHurtValue"     # 计算中的临时伤害值,技能特殊用
Def_PlayerKey_curHurtValueEx = "curHurtValueEx"     # 计算中的临时伤害值,技能特殊用
Def_PlayerKey_SomersaultTime = "Somersault"     # 翻滚一定时间内无敌,表现为MISS
@@ -3129,7 +3115,6 @@
Def_PlayerKey_BuyItemCnt = "BuyItemCnt"  # 购买物品数量
Def_PlayerKey_SpeedHorse = "SpeedHorse"  # 骑乘时附加移动速度值
Def_PlayerKey_QueryOpenServerAwardState = "QueryOpenServerAwardState"  # 查询开服奖励状态
Def_PlayerKey_QueryFamilyStoreTick = "QueryFamilyStoreTick"  # 战盟仓库操作tick
Def_PlayerKey_QueryMarkIdCardIndex = 'QueryMarkIdCardIndex'  # 指定账号生成卡类型
Def_PlayerKey_QueryNewGuyCardType = 'QueryNewGuyCardType'  # 查询的新手卡类型
@@ -3138,7 +3123,6 @@
Def_PlayerKey_ComboBuffProcessState = "ComboBuffProcessState"    #持续性buff连击处理状态
Def_PlayerKey_LvAwardQueryState = 'LvAwardQueryState'  # 等级奖励领奖查询状态
Def_PlayerKey_StoreQueryState = 'StoreQueryState'  # 商店全服购买次数查询状态
Def_PlayerKey_MysticalShopLastTime = 'MysticalShopLastTime'  # 神秘商店刷新时间
#===============================================================================
# # 持续性buff伤害处理连击技能ID列表
# # 因为释放一次技能后一段时间内是持续性的, 故连接判断效果仅处理一次, 持续时间内均受此效果影响, 不重复处理连击
@@ -3193,7 +3177,7 @@
Def_PDictType_FlashSale, #限时抢购
Def_PDictType_TJGNotify,  # 脱机挂结果通知
Def_PDictType_LVAward,  # 等级奖励领取信息记录
Def_PDictType_OpenServerCampaign,  # 开服活动
Def_PDictType_4,  # 开服活动
Def_PDictType_WeekParty, #周狂欢
Def_PDictType_FeastWeekParty,    # 节日巡礼
Def_PDictType_LoginAward,    # 登录奖励运营活动
@@ -3228,21 +3212,6 @@
Def_Player_Dict_FirstLogin = "FirstLogin"    # 首登标记 0-未首登; 1-首登过
Def_GuideStateKeyCount = 8 # 引导状态key最大个数
Def_Player_Dict_GuideState = "GuideState_%s" # 引导状态记录,参数为key个数编号
Def_Player_Dict_VersionFix = "VersionFix_%s" # 版本修正标记,参数为key个数编号, 支持n个版本修正标记,每个key支持31个
Def_Player_Dict_PrestigeAwardMark = "PrestigeAwardMark_7"   # 领取威望物品奖励情况
Def_Player_Dict_AutoCheckHack_Wait = "AutoCheckHackWait_10"    #自动检测外挂验证中标识
Def_Player_Dict_AutoCheckHack_Source = "AutoCheckHackSource_11"    #自动检测外挂随机源
Def_Player_Dict_AutoCheckHack_Type = "AutoCheckHackType_12"    #自动检测外挂类型
Def_Player_Dict_AutoCheckHack_State = "AutoCheckHackState_13"    #自动检测外挂账号状态识别
Def_Player_Dict_Captcha_WaitTick = "CaptchaWaitTick_14"    #图形验证回复等待时间
Def_Player_Dict_Captcha_WaitSign = "CaptchaWaitSign_15"    #图形验证回复等待标识
Def_Player_Dict_Captcha_ErrCount = 'CaptchaErrCount_16'    #玩家回答错误次数
Def_Player_Dict_Captcha_Answer = 'CaptchaAnswer_17'    #图形验证码答案
Def_Player_Dict_AutoCheckHack_ErrCnt = "AutoCheckHackErrCnt_19"    #自动检测外挂随机源
Max_StoryMissionNum = 99
Def_Player_Dict_StoryMissionState = "StoryMissionState_%s"  # 剧情任务编号完成状态, 参数(key编号), 按编号位记录
Def_Player_Dict_TaskLastKillNPCID = "TaskLastKillNPCID"    #任务上次随机击杀NPCID
Def_Player_Dict_TaskLastVisitNPCID = "TaskLastVisitNPCID"    #任务上次随机访问NPCID
LittleHelperSetNumCount = 20 # 小助手设置编号个数
LittleHelperValueCount = 6 # 小助手设置值个数
Def_Player_Dict_LittleHelperValue = "LittleHelperValue%s_%s" # 小助手设置值存储, 参数(设置编号, value编号)
@@ -3330,6 +3299,7 @@
Def_PDict_TreasureFreeCount = "TreasureFreeCount_%s"  # 寻宝今日已使用免费次数, 参数(寻宝类型)
Def_PDict_TreasureCount = "TreasureCount_%s"  # 寻宝次数, 参数(寻宝类型)
Def_PDict_TreasureCountEx = "TreasureCountEx_%s"  # 第x次x抽必出,按第x次单抽、10连抽记录, 参数(寻宝类型)
Def_PDict_TreasureCountToday = "TreasureCountToday_%s"  # 今日寻宝次数, 参数(寻宝类型)
Def_PDict_TreasureLuck = "TreasureLuck_%s"  # 寻宝当前幸运值, 参数(寻宝类型)
Def_PDict_TreasureCntAward = "TreasureCntAward_%s"  # 累计寻宝次数对应物品奖励领奖状态, 参数(寻宝类型)
@@ -3372,11 +3342,6 @@
Def_PDict_LoginDayAward = "PLoginDayAward"  # 累计登陆领取情况
Def_PDict_CollNpcIDCollTime = "NPCIDCollTime_%s"   # 采集NPCID对应每日对应采集次数,%sNPCID
Def_PDict_CollNpcIDCollTimeTotal = "NPCIDCollTimeTotal_%s"   # 采集NPCID对应对应采集总次数,%sNPCID
Def_PDict_ShopItemDayBuyCnt = "ShopItemDayBuyCnt_%s"   # 商店NPC商品已购买次数,itemIndex
Def_PDict_ShopItemStartTime = "ShopItemStartTime_%s"   # 神秘限购商品开卖时间,itemIndex
Def_PDict_MysticalShopGoods = "MysticalShopGoods_%s"   # 神秘商店商品ID,索引
Def_PDict_MysticalShopRefreshCnt = "MysticalShopRefreshCnt"   # 神秘商店已手动刷新次数
Def_PDict_MysticalShopLVRefreshCnt = "MysticalShopLVRefreshCnt"   # 神秘商店等级段刷新次数
Def_PDict_MoneyMinus = "MoneyMinus_%s"  # 货币对应负值, 参数[货币类型]
Def_PDict_Currency = "PlayerCurrency_%s"  # 自定义货币类型, 参数[自定义货币类型]
Def_PDict_UseMoneyTotal = "UseMoneyTotal_%s"  # 累计消耗货币, 参数[货币类型]
@@ -3401,10 +3366,6 @@
Def_PDict_ItemUseCntToday = "ItemUseCntToday_%s" # 物品今日使用次数, 参数为物品ID
Def_PDict_GodWeaponLV = "GodWeaponLV_%s" # 神器等级, 参数神器索引
Def_PDict_GodWeaponExp = "GodWeaponExp_%s" # 神器等级对应祝福值经验, 参数神器索引
Def_PDict_GodWeaponState = "GodWeaponState" # 神器是否已经激活, 按索引位存储神器是否激活
Def_PDict_ClothesSkinLV = "ClothesSkinLV_%s"  # 时装皮肤等级,参数时装索引
Def_PDict_ClothesChestLV = "ClothesChestLV"  # 时装柜等级
Def_PDict_ClothesChestEXP = "ClothesChestEXP"  # 时装柜经验
@@ -3420,6 +3381,11 @@
Def_PDict_DropCountToday = "DropCountToday_%s" # 今日物品已掉落次数,参数(物品ID)
Def_PDict_DropColorToday = "DropColorToday_%s" # 今日装备品质已掉落次数,参数(装备品质)
#商城
Def_PDict_ShopBuyCnt = "ShopBuyCnt_%s"  # 商店商品已购买次数,参数(商品ID)
Def_PDict_ShopRandUnlock = "ShopRandUnlock_%s"  # 商店随机刷新解锁的商品ID解锁状态,参数(key编号)
Def_PDict_ShopRefreshCnt = "ShopRefreshCnt_%s"  # 今日已刷新次数,参数(商店类型)
# 签到
Def_PDict_SignInState = "SignInState_%s" # 按位记录每日签到状态,参数(key编号),状态:0-不可签到;1-已签到;2-可补签;3-已领取
@@ -3746,14 +3712,6 @@
Def_PDict_FamilyGCZSQGridItemCnt = "FamilyGCZSQItemCnt_%s"  # 圣泉当前层格子抽中物品个数,参数(格子编号)
#-------------------------------------------------------------------------------
#开服活动,Def_PDictType_OpenServerCampaign
#奖励记录 - 从低位到高位,每位表示:0-不可领;1-可领取;2-已领
Def_PDict_OSC_BillAwardRecord = "OSCBillAwardRecord"  # 开服活动排行奖励记录, 按活动类型位存储是否领取/处理过
Def_PDict_OSC_TagAwardRecord = "OSCTagAwardRecord_%s"  # 开服活动目标奖励记录, 参数(活动类型), 按奖励位存储是否领取
Def_PDict_OSC_RecordData = "OSCRecordData_%s"  # 开服活动记录数值, 求余亿部分,参数(活动类型)
Def_PDict_OSC_RecordDataEx = "OSCRecordDataEx_%s"  # 开服活动记录数值, 整除亿部分,参数(活动类型)
Def_PDict_OSC_EndMailState = "EndMailState"  # 开服活动结束发放邮件处理状态, 记录该状态的目的是防止开服活动版本变更导致旧号重复补发奖励;
# 法器
Def_PDict_FaQiLV = "FaQiLV"  # 法器等级
Def_PDict_FaQiEatItemCount = "FaQiEatItemCount"  # 当前阶已吃丹个数
@@ -4003,7 +3961,7 @@
Def_CalcAttrFunc_Pet, # 灵宠 9
Def_CalcAttrFunc_Horse, # 坐骑 10
Def_CalcAttrFunc_Prestige, # 境界 11
Def_CalcAttrFunc_GodWeapon, # 神兵 12
Def_CalcAttrFunc_12, # 神兵 12
Def_CalcAttrFunc_Dienstgrad, # 称号 13
Def_CalcAttrFunc_Rune, # 符印 14
Def_CalcAttrFunc_15,
@@ -4267,11 +4225,6 @@
ShareDefine.PlayerJob_Max : TYPE_CHAPLAIN,         #魔剑对应魔剑系
}
#版本修正标记, 使用key格式 Def_Player_Dict_VersionFix
(
Def_VerFix_LingGenShow, #灵根特效外观
) = range(1)
##==================================================================================================
#游戏消费点类型定义
Def_CostType_List = (
@@ -4313,12 +4266,12 @@
Def_Cost_ResetGreatMasterSkill, # 重置天赋技能 35
Def_Cost_BindJadeWheel, # 绑玉转盘
Def_Cost_WishingWell, # 许愿池刷新
Def_Cost_GodWeapon, # 神兵
Def_Cost_38, # 神兵
Def_Cost_FBHelpBattle, # 副本助战
Def_Cost_FBGatherSoulBoss, # 聚魂副本BOSS召唤 40
Def_Cost_CrossRealmPK, # 跨服PK
Def_Cost_LuckyTreasure, #幸运鉴宝
Def_Cost_MysteryShopRefresh, # 神秘商店刷新
Def_Cost_43, # 神秘商店刷新
Def_Cost_AuctionBid, # 拍卖行竞价
Def_Cost_45, # 购买活动次数 45
Def_Cost_46, # 副本买buff
@@ -4409,12 +4362,10 @@
Def_Cost_AlchemyPray:"AlchemyPray",
Def_Cost_BindJadeWheel:"BindJadeWheel",
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_Cost_CreatFamily:"CreatFamily",
Def_Cost_BuyKillBossCnt:"BuyKillBossCnt",
@@ -4517,10 +4468,10 @@
ItemGive_StonePickoff, # 摘除宝石 10
ItemGive_EquipSuit, # 套装
ItemGive_NPCDrop, # NPC掉落
ItemGive_OpenServerCampaign, # 开服活动
ItemGive_13, # 开服活动
ItemGive_CTG, # CTG
ItemGive_DiceEx, # 我要天机 15
ItemGive_FamilyStore, # 仙盟宝库
ItemGive_16, # 仙盟宝库
ItemGive_Refine, # 炼丹
ItemGive_Chests, # 宝箱
ItemGive_TrialExchange, # 宗门兑换
@@ -4543,10 +4494,8 @@
                    ItemGive_StonePickoff:"StonePickoff",
                    ItemGive_EquipSuit:"EquipSuit",
                    ItemGive_NPCDrop:"NPCDrop",
                    ItemGive_OpenServerCampaign:"OpenServerCampaign",
                    ItemGive_CTG:"CTG",
                    ItemGive_DiceEx:"DiceEx",
                    ItemGive_FamilyStore:"FamilyStore",
                    ItemGive_Refine:"Refine",
                    ItemGive_Chests:"Chests",
                    ItemGive_TrialExchange:"TrialExchange",
@@ -4558,7 +4507,7 @@
ItemDelTypeList = (
ItemDel_Unknown, #δ֪ 0
ItemDel_SellPackItem, # 出售物品
ItemDel_GodWeapon, # 神兵
ItemDel_2, # 神兵
ItemDel_EquipEnchase, # 宝石镶嵌
ItemDel_Add_LimitingBuff, # 增加buff时间
ItemDel_AddDienstgrad, # 增加称号 5
@@ -4576,7 +4525,7 @@
ItemDel_AttrFruit, # 属性道具
ItemDel_AddBourseItem, # 上架交易所
ItemDel_EquipDecompose, # 装备分解
ItemDel_FamilyStore, # 捐献装备 20
ItemDel_20, # 捐献装备 20
ItemDel_Treasure, # 寻宝
ItemDel_WingExp, # 翅膀精炼经验
ItemDel_StoneUpgrade, # 宝石升级
@@ -4609,7 +4558,6 @@
ItemDelTypeDict = {
                   ItemDel_Unknown:"Unknown",
                   ItemDel_SellPackItem:"SellPackItem",
                   ItemDel_GodWeapon:"GodWeapon",
                   ItemDel_EquipEnchase:"EquipEnchase",
                   ItemDel_Add_LimitingBuff:"Add_LimitingBuff",
                   ItemDel_AddDienstgrad:"AddDienstgrad",
@@ -4627,7 +4575,6 @@
                   ItemDel_AttrFruit:"AttrFruit",
                   ItemDel_AddBourseItem:"AddBourseItem",
                   ItemDel_EquipDecompose:"EquipDecompose",
                   ItemDel_FamilyStore:"FamilyStore",
                   ItemDel_Treasure:"Treasure",
                   ItemDel_WingExp:"WingExp",
                   ItemDel_StoneUpgrade:"StoneUpgrade",
@@ -5104,7 +5051,7 @@
Def_WPAct_Pet,  #激活某只灵宠 22
Def_WPAct_Dogz,  #出战某只神兽 23
Def_WPAct_Stone,  #宝石总等级 24
Def_WPAct_GodWeapon,  #神兵总等级 25
Def_WPAct_25,  #神兵总等级 25
Def_WPAct_Rune,  #穿戴某品质符印 26
Def_WPAct_Pray,  #祈愿 27
Def_WPAct_FamilyBoss,  #仙盟Boss 28