From 4bfb59203f4feaa666e9c92d5ed913ef157a7c76 Mon Sep 17 00:00:00 2001 From: xdh <xiefantasy@qq.com> Date: 星期五, 28 九月 2018 21:32:30 +0800 Subject: [PATCH] 3950 【后端】免费寻宝不给寻宝积分 --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py | 46 ++++++++++++++++++++++++++++++++++------------ 1 files changed, 34 insertions(+), 12 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py index bb34606..e05a9b9 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py @@ -260,8 +260,9 @@ Def_ItemID_GoldPaper = 30 # 直接给绑玉 Def_ItemID_RealmPoint = 24 # 直接给修行点 Def_ItemID_BossReborn = 21 # 直接给boss复活点 +Def_ItemID_Ysog = 4306 # 直接给符印融合石 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_RealmPoint, Def_ItemID_SilverMoney, Def_ItemID_BossReborn, Def_ItemID_Ysog] #--------------------------------------------------------------------- #写死的物品类型都放这边 Def_ItemType_All = -1 #所有类型 @@ -705,6 +706,7 @@ Def_SkillID_DropOwnerBuff = 20040 # 掉落归属buff Def_SkillID_PetSignDay = 47111 # 灵宠签到属性技能, 单次签到的加成 Def_SkillID_LFZ = 47100 # 龙凤镯技能(打怪概率经验加成) +Def_SkillID_HorsePetRobBossKillCntBuff = 21020 # 骑宠的怨念buff Def_SkillID_FamilyWar_CWinBuff = 22101 # 仙盟联赛 - 连胜buff, 由连胜次数决定等级 @@ -1139,7 +1141,7 @@ ) = range(2) #陷阱出生后, 不攻击时间 -Def_Trap_Born_Idle_Time = 2000 +Def_Trap_Born_Idle_Time = 500 #技能-------------------------------------------- #恶名初始点 @@ -3496,6 +3498,8 @@ Def_PDict_DownloadAwardState = "DownloadAwardState" # 分支下载奖励状态 0-未领 1-已领 +Def_PDict_ChestsOpenCount = "ChestsOpenCount_%s" # 宝箱已开启次数, 参数(宝箱ID), 只有有开启次数额外奖励的才会记录 + # 跑环 Def_PDict_RunTaskAwardState = "RunTaskAwardState_%s" # 是否已领取跑环本轮结束奖励 参数任务类型 Def_PDict_RunTaskAwardRecord = "RunTaskAwardRecord_%s" # 跑环本轮结束奖励记录 参数任务类型 @@ -3578,10 +3582,12 @@ #限时特惠活动 Def_PDict_SpringSaleID = "SpringSaleID" # 玩家身上的限时特惠活动ID,唯一标识,取活动开始日期time +Def_PDict_SpringSaleMailState = "SpringSaleMailState" # 玩家身上的活动更新提醒邮件状态 #限时礼包活动 Def_PDict_FlashGiftbagID = "FlashGiftbagID" # 玩家身上的限时礼包活动ID,唯一标识,取活动开始日期time Def_PDict_FlashGiftbagBuyCount = "FlashGiftbagBuyCount_%s" # 限时礼包已购买次数,参数(礼包ID) +Def_PDict_FlashGiftbagMailState = "FlashGiftbagMailState" # 玩家身上的活动更新提醒邮件状态 #BOSS复活 Def_PDict_BossRebornID = "BossRebornID" # 玩家身上的BOSS复活活动ID,唯一标识,取活动开始日期time值 @@ -3597,6 +3603,10 @@ Def_PDict_FCPartyCurPoint = "FCPartyCurPoint" #全民来嗨活动当前总点数 Def_PDict_FCPartyAwardRecord = "FCPartyAwardRecord" #全民来嗨活动领奖记录 Def_PDict_FCCostGold = "FCCostGold" # 绝版降临总累计消费仙玉 + +#绑玉转盘 +Def_PDict_BindJadeWheelCurCnt = "BindJadeWheelCurCnt" # 今日已转次数 +Def_PDict_BindJadeWheelHistoryCnt = "BindJadeWheelHistoryCnt" # 历史已转次数 #------------------------------------------------------------------------------- #类型 Def_PDictType_OnlinePrize Def_PDict1_OnlinePrizeCnt = "OnlinePrizeCnt" # 新手在线已领取奖励次数 @@ -3770,6 +3780,7 @@ Def_PDict_AlchemyCount = "AlchemyCount_%s" #特殊炼丹次数产出设定已累计次数, 参数(配方ID) Def_PDict_AlchemyCountSpec = "AlchemyCountSpec_%s" #特殊炼丹次数产出设定已累计次数, 参数(配方ID) Def_PDict_AlchemyOutputCount = "AlchemyOutputCount_%s" #炼丹特殊产出物品已产出次数,参数(物品ID) +Def_PDict_AlchemyPrayCnt = "AlchemyPrayCnt" #炼丹祈福次数 Def_PDict_GFPassiveIndex = "GFP_%s_%s" # 被动功法 页数-索引 Def_PDict_GFPassivePage = "GFPPage" # 被动功法选中页数 @@ -3789,7 +3800,7 @@ Def_PDictType_TJGNotify_LV = "TJGLV" #脱机前的等级 Def_PDictType_TJGNotify_ItemID = "TJGItemID_%s" #脱机挂指定物品掉落显示 - +Def_PDictType_TJGOnDayEx = "TJGOnDayEx" #是否脱机挂中过天(5点)真实登录后重置 #仙魔之争 Def_PDict_XMZZLastStartTime = "XMZZLastStartTime" #上次开始战斗时间 @@ -4202,7 +4213,8 @@ Def_CalcAttrFunc_PetSign, # 宠物签到 33 Def_CalcAttrFunc_MagicWeaponSoul, # 法宝之魂属性34 Def_CalcAttrFunc_Dogz, # 神兽35 -) = range(36) +Def_CalcAttrFunc_DogzBattleSkill, # 助战神兽技能36 +) = range(37) # 在此列表中的功能属性,不享受百分比加成,--属性参与战力计算 @@ -4212,7 +4224,7 @@ ] # 在此列表中的功能属性,不享受百分比加成,--属性不参与战力计算,战力由技能配置决定 -CalcAttrExFuncListNoFightPower = [Def_CalcAttrFunc_HorseSkill, Def_CalcAttrFunc_PetSkill] +CalcAttrExFuncListNoFightPower = [Def_CalcAttrFunc_HorseSkill, Def_CalcAttrFunc_PetSkill, Def_CalcAttrFunc_DogzBattleSkill] #战斗力分组类型对应功能点属性分类索引列表,并不是一一对应的,有些战斗力类型可由多个功能点组成 @@ -4295,7 +4307,9 @@ TriggerType_AttackOverPassive, # 攻击(对敌技能)后被动技能被触发在其他被动效果处理后调用,触发顺序原因 47 TriggerType_Buff_BeAttackSubLayer, # BUFF类:被攻击减buff层,0消失 48 TriggerType_OneDamage, # 伤害降低到1点 49 -) = range(1, 50) +TriggerType_LuckyHit, # 会心一击时增加会心伤害百分比 50 +TriggerType_ChangeHurtToHP, # 把受到伤害的xx%转化为生命值 51 +) = range(1, 52) # NPC功能类型定义 @@ -4431,13 +4445,15 @@ Def_Cost_FreeGoods, # 极品白拿 Def_Cost_DogzEquipPlus, # 神兽装备强化 Def_Cost_RuneHole, # 符印孔解锁 +Def_Cost_AlchemyPray, # 丹药祈福 +Def_Cost_ResetGreatMasterSkill, # 重置天赋技能 +Def_Cost_BindJadeWheel, # 绑玉转盘 #-----------以下为暂时没用的,先不删除,如有新增消费点则放在这些之前------------ Def_Cost_RefreshArrestTask, # 刷新悬赏任务 Def_Cost_OffLineExp, # 兑换离线经验 Def_Cost_RefreshTruck, # 刷新镖车 Def_Cost_FinishTruck, # 完成镖车 Def_Cost_RefreshTimeShop, # 刷新神秘商店 -Def_Cost_ResetGreatMasterSkill, # 重置大师技能 Def_Cost_OpenNoble, # 开通贵族 Def_Cost_BuyMergePKCnt, # 购买跨服PK次数 Def_Cost_RecoverMergePKWin, # 恢复跨服PK连胜 @@ -4452,7 +4468,7 @@ Def_Cost_Trade, # 交易 Def_Cost_Rename, # 改名 Def_Cost_SkillLvUp, # 技能升级 -) = range(2000, 2000 + 54) +) = range(2000, 2000 + 56) Def_Cost_Reason_SonKey = "reason_name_son" # 消费点原因子类说明key @@ -4497,7 +4513,7 @@ Def_Cost_FinishTruck:"FinishTruck", Def_Cost_RefreshArrestTask:"RefreshArrestTask", Def_Cost_RefreshTimeShop:"RefreshTimeShop", -Def_Cost_ResetGreatMasterSkill:"ResetGreatMasterSkill", +Def_Cost_ResetGreatMasterSkill:"ResetTalentSkill", Def_Cost_BuyMergePKCnt:"BuyMergePKCnt", Def_Cost_RecoverMergePKWin:"RecoverMergePKWin", Def_Cost_MergeKingSupport:"MergeKingSupport", @@ -4534,6 +4550,8 @@ Def_Cost_FreeGoods:"FreeGoods", Def_Cost_DogzEquipPlus:"DogzEquipPlus", Def_Cost_RuneHole:"RuneHole", +Def_Cost_AlchemyPray:"AlchemyPray", +Def_Cost_BindJadeWheel:"BindJadeWheel", } ## ----------------------------------------------------- @@ -4564,7 +4582,8 @@ Def_GiveMoney_Trade, # 交易 Def_GiveMoney_Truck, # 运镖 Def_GiveMoney_FreeGoods, # 极品白拿 25 -) = range(1000, 1000 + 25) +Def_GiveMoney_BindJadeWheel, # 绑玉转盘 +) = range(1000, 1000 + 26) Def_Give_Reason_SonKey = "reason_name_son" # 原因子类说明key @@ -4595,6 +4614,7 @@ Def_GiveMoney_Trade:"Trade", Def_GiveMoney_Truck:"Truck", Def_GiveMoney_FreeGoods:"FreeGoods", +Def_GiveMoney_BindJadeWheel:"BindJadeWheel", } ##================================================================================================== @@ -4827,7 +4847,8 @@ VIPPrivilege_BOSSHomeKillLimit, #27 BOSS之家疲劳值上限 VIPPrivilege_FMTDouble, #28 封魔坛双倍击杀 VIPPrivilege_29, #29 娲皇遗迹购买次数 - 副本总表统一处理 -) = range(1, 30) +VIPPrivilege_BindJadeWheel, #30 绑玉转盘次数 +) = range(1, 31) ( @@ -4866,7 +4887,8 @@ Def_SkillFuncType_SP15, #9为SP15级 服务端未用到 Def_SkillFuncType_SkillRoll, #10为翻滚 服务端未用到 Def_SkillFuncType_RealmSuppress, #11为境界压制 目前是NPC在用 -) = range(12) +Def_SkillFuncType_Dogz, #12 神兽技能 +) = range(13) # 受技能效果完全影响的怪, 对应 Def_BattleRelationType_CommNoBoss Def_SkillAttack_NPCIsBoss = [ Def_NPCType_Ogre_Normal , #平凡小怪 0 # c++ 定义为普通NPC视野刷新 -- Gitblit v1.8.0