From 9cffd0c35e3e2707e1752b91977f01098ac79cb2 Mon Sep 17 00:00:00 2001 From: xdh <xiefantasy@qq.com> Date: 星期六, 01 九月 2018 16:29:19 +0800 Subject: [PATCH] fix:3176 多倍修行点开启时间/结束时间为凌晨5点 --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py | 29 +++++++++++------------------ 1 files changed, 11 insertions(+), 18 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py index a6ae002..2d324ce 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py @@ -363,6 +363,9 @@ def GetItemPackType(itemType, defaultPack=IPY_GameWorld.rptItem): ## 获取物品类型对应存放的默认背包类型 + if defaultPack == ShareDefine.rptTreasure: + #寻宝背包不做处理 + return defaultPack for pack, itemTypeList in Def_PackItemTypeList_Dict.items(): if itemType in itemTypeList: return pack @@ -397,6 +400,7 @@ Def_Effect_AddDienstgrad = 204 #使用物品获得称号 Def_Effect_UseItemGiveZhenQi = 205 #使用道具给予真气 Def_Effect_ItemGiveFamilyActivity = 208 #使用道具给予仙盟活跃令 +Def_Effect_ItemGiveFamilyContribution = 209 #使用道具给予仙盟贡献 Def_Effect_TJGAddTime = 210 #增加脱机挂时间 Def_Effect_ItemAddExp = 213 #给经验道具 Def_Effect_ItemAddLV = 214 #直接升级道具 @@ -1028,13 +1032,13 @@ ) = range( 0, Def_PA_MaxReason ) #提示原因及对应的提示mark组成的字典 -Def_MessageDic = {Def_PASysMessage_NewGuy:"XW_RY_CancelWay01", #攻击新手 +Def_MessageDic = {Def_PASysMessage_NewGuy:"FairyGrabBossNewPlayer", #攻击新手 Def_PASysMessage_IsSafeArea: "CannotAtk01", #安全区域 Def_PASysMessage_AttackMode:"AtkModeErr", #攻击模式 Def_PASysMessage_CountrySafe:"PlayerPK_Error_GoalLvLow",#国家保护 Def_PASysMessage_IsSafeArea_Country:"Cadres_PK_Lost", #国家安全区保护 Def_PASysMessage_NewGuyNotPK:"PK_lhs_0", #新手不能PK - Def_PASysMessage_NotAttackNewGuy:"PK_lhs_31379", #不能攻击新手 + Def_PASysMessage_NotAttackNewGuy:"FairyGrabBossNewPlayer", #不能攻击新手 Def_PASysMessage_NotAttackFamily:"Old_andyshao_161795", #不能攻击同家族成员 Def_PASysMessage_NotAttackTeam:"PK_lhs_861048", #不能攻击队友 Def_PASysMessage_AttackNotPK:"PK_lhs_202580", #攻击方PK值过大,不能PK @@ -1913,6 +1917,7 @@ Map_Player_AreaReward_GetCnt = "AreaAward_GetCnt%s" # 玩家战场区域福利-累计获得次数 #---地图NPC--- +Map_NPC_ActivityBossRebornCount = 'ActivityBossRebornCount_%s' # 活动boss已刷新只数,参数(标识点) Map_NPC_WorldBossLastReBornTick = 'WorldBossLastReBornTick_%s' # 世界boss上次重生时间 Map_NPC_WorldBossDeadTick = 'WorldBossDeadTick_%s' # 世界boss死亡时间 Map_NPC_RandomMapNPCID = 'RandMapNPCID_%s' # 当前地图随机NPCID, 参数为标识点mark @@ -2035,6 +2040,7 @@ Def_NPCHurtTypeAll = 4 #所有玩家 Def_NPCHurtTypeFaction= 5 #阵营 Def_NPCHurtTypeSpecial= 6 #特殊, 指定某些玩家, 玩家ID取ShareDefine.Def_MapItemInfo_SpecOwner +Def_NPCHurtTypeFamily = 7 #仙盟 7 #掉落归属类型-NPC表的定义 DropOwnerType = ( @@ -2045,7 +2051,8 @@ DropOwnerType_MaxHurtPlayer, # 最大伤血玩家, 伤血不会被重置, 仅限玩家 4 DropOwnerType_Faction, # 阵营 5 DropOwnerType_Special, # 特殊 6 -) = range(7) +DropOwnerType_Family, # 仙盟 7 +) = range(8) #------------------------------------------------ #技能类型 @@ -3381,6 +3388,7 @@ Def_PDict_FirstGoldTry = "FirstGoldTry" # 首充试用状态 0-不可试用 1-可试用 2-已试用 Def_PDict_DailyGoldChargeState = "DailyGoldChargeState" # 天天首充活动状态,0-未开启;1-已开启 Def_PDict_DailyChargeState = "DailyChargeState" # 当日是否已充值 +Def_PDict_SuperGiftData = "SuperGiftData" # 超值礼包数据 Def_PDict_DailyGoldChargePrizeRecord = "DailyGoldChargePrizeRecord" # 天天首充领奖记录,0-不可领;1-可领;2-已领 Def_PDict_DailyGoldChargeCnt = "DailyGoldChargeCnt" # 当日已充值数 Def_PDict_SingleGoldGiftIndex = "SingleGoldGiftIndex" # 单日充值多选一礼包领取状态, 0-未领取,>0已领取索引 @@ -4287,21 +4295,6 @@ TriggerType_OneDamage, # 伤害降低到1点 49 ) = range(1, 50) -#增强类型定义,参考SkillBoosts下的SkillBoost_文件 -BoostType_HappenRate = 4 # 触发几率特殊处理 - 增强 -WeakenType_HappenRate = 104 # 触发几率特殊处理 - 减弱 - -#MapConfig表中的索引定义----------------------------------------------------------- -# 表SkillBoostEffDropRate 中的 列表索引定义 -( -Def_SkillBoostTable_SkillTypeID, -Def_SkillBoostTable_BoostType, -Def_SkillBoostTable_SkillEffectID, -Def_SkillBoostTable_ParentSkillTypeID, # 相对Def_SkillBoostTable_SkillTypeID的父技能如召唤 -Def_SkillBoostTable_MinValue, -Def_SkillBoostTable_MaxValue, -Def_SkillBoostTable_NotifyValue, -) = range(7) # NPC功能类型定义 Def_NPCFuncType_Goblin = 70 # 盗宝哥布林 -- Gitblit v1.8.0