From f089bf39d557fc228f7bd3b2eb8c85c7b402e7dc Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期五, 02 十一月 2018 18:40:13 +0800
Subject: [PATCH] 4575 脱机挂测试
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py | 99 ++++++++++++++++++++++++++++++++++++++-----------
1 files changed, 77 insertions(+), 22 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py
index de74685..b13a052 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 #所有类型
@@ -363,8 +364,8 @@
def GetItemPackType(itemType, defaultPack=IPY_GameWorld.rptItem):
## 获取物品类型对应存放的默认背包类型
- if defaultPack == ShareDefine.rptTreasure:
- #寻宝背包不做处理
+ if defaultPack in [ShareDefine.rptTreasure, ShareDefine.rptTempItem]:
+ #寻宝背包、临时背包不做处理
return defaultPack
for pack, itemTypeList in Def_PackItemTypeList_Dict.items():
if itemType in itemTypeList:
@@ -418,7 +419,9 @@
Def_Effect_AddFBCnt = 233 # 增加副本可进入次数
Def_Effect_AddKillBossCnt = 234 # 增加BOSS可击杀次数
Def_Effect_DogzEquipPlusExp = 235 # 神兽强化材料经验效果,A值基础经验,B值双倍强化消耗仙玉
-
+Def_Effect_AddMagicWeaponUpExp = 236 # 增加法宝升星经验 A值法宝ID B值X经验
+Def_Effect_ChatBubbleBox = 237 # 激活聊天气泡框,A值气泡框ID
+Def_Effect_ItemGiveRealmPoint = 238 #使用道具给予修行点
#----以下未使用或代码依然存在的---
Def_Effect_ItemGiveGongXun = 1920 #使用道具给予功勋
Def_Effect_ItemGiveHonorPoint = 1922 #使用道具给予荣誉积分
@@ -839,7 +842,7 @@
#初始化临时存放背包格子数
Def_PackCnt_TempItem = 10
#初始化宠物背包格子数
-Def_PackCnt_Pet = 20
+Def_PackCnt_Pet = 50
#初始化通用宠物装备背包格子数
Def_PackCnt_PetEquip = 4
#主角刚登陆游戏开启精魄槽格子数/符文
@@ -1226,7 +1229,7 @@
) = range( 0, Def_AutoAtkSkillType )
#技能类型
-Def_SkillType_Count = 23
+Def_SkillType_Count = 24
(
Def_SkillType_Special , #特殊技能 0
Def_SkillType_Atk , #攻击类 1
@@ -1251,6 +1254,7 @@
Def_SkillType_AttrSkill, # 属性类技能 20
Def_SkillType_PassiveLstPlsBuff, #被动触发持续增益类buff 21
Def_SkillType_PassiveLstDepBuff, #被动触发持续减益类buff 22
+ Def_SkillType_AttrSkillNoLearn, # 可叠加的同类型ID属性类技能 不可学习 算属性直接取表 目前用于神兽技能 23
) = range( 0, Def_SkillType_Count )
@@ -1287,7 +1291,8 @@
#对敌使用技能列表
Def_CanAttackSkill_List = [ Def_SkillType_LstDepBuff, Def_SkillType_DepBuff, Def_SkillType_Atk,
- Def_SkillType_Action, Def_SkillType_LstPlsBuffAtk ]
+ Def_SkillType_Action, Def_SkillType_LstPlsBuffAtk,
+ Def_SkillType_PassiveDepBuff, Def_SkillType_PassiveActionBuff, Def_SkillType_PassiveLstDepBuff ]
#不利BUFF给NPC添加仇恨
Def_Debuff_List = [Def_SkillType_LstDepBuff, Def_SkillType_DepBuff, Def_SkillType_Action,
@@ -2140,6 +2145,7 @@
1000 * 3, # 仓库整理间隔
1000 * 15, # 渡劫鼓舞间隔
1000 * 1, # vip体验时效
+ 1000 * 1, # 限时抢购
]
TYPE_Player_Tick_Count = len(TYPE_Player_Tick_Time)
@@ -2215,6 +2221,7 @@
TYPE_Player_Tick_WareHouseSort, # 仓库整理间隔
TYPE_Player_Tick_DuJieInspire, # 渡劫鼓舞间隔
TYPE_Player_Tick_VIPExperience, #vip体验时效
+TYPE_Player_Tick_FlashSale, #限时抢购
) = range(0, TYPE_Player_Tick_Count)
#---------------------------------------------------------------------
@@ -3037,6 +3044,7 @@
Def_PlayerKey_ComboAddHurtPer = "ComboAddHurtPer" #当前连击的伤害加成万分率
Def_PlayerKey_ComboBuffProcessState = "ComboBuffProcessState" #持续性buff连击处理状态
Def_PlayerKey_LvAwardQueryState = 'LvAwardQueryState' # 等级奖励领奖查询状态
+Def_PlayerKey_StoreQueryState = 'StoreQueryState' # 商店全服购买次数查询状态
#===============================================================================
# # 持续性buff伤害处理连击技能ID列表
# # 因为释放一次技能后一段时间内是持续性的, 故连接判断效果仅处理一次, 持续时间内均受此效果影响, 不重复处理连击
@@ -3169,7 +3177,7 @@
Def_PDict_PKStateTick = "PKStateTick" # PK状态tick,只要有一方发起攻击,双方均进入PK状态
Def_PDict_BossStateTick = "BossStateTick" # boss状态tick,攻击boss即进入boss状态
-
+Def_PDict_MapAreaExpTick = "MapAreaExpTick" # 给场景经验tick
# 装备累计基础属性
Def_PDict_EquipTotalBaseMinAtk = "EquipTotalBaseMinAtk" # 装备累计基础最小攻击
Def_PDict_EquipTotalBaseMaxAtk = "EquipTotalBaseMaxAtk" # 装备累计基础最大攻击
@@ -3191,7 +3199,7 @@
Def_PDictType_Default, # 默认
Def_PDictType_OnlinePrize, # 在线奖励(暂停使用),领取后重新计时型
Def_PDictType_FBWipeOut, # fb扫荡
-Def_PDictType_3,
+Def_PDictType_FlashSale, #限时抢购
Def_PDictType_TJGNotify, # 脱机挂结果通知
Def_PDictType_LVAward, # 等级奖励领取信息记录5
Def_PDictType_GoldGift, # 充值豪礼
@@ -3256,6 +3264,13 @@
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编号)
+Def_Player_Dict_FromMapID = 'FromMapID' # 最后一次离开的非中立常规地图,地图ID
+Def_Player_Dict_FromPosX = 'FromPosX' # 最后一次离开的非中立常规地图,坐标X
+Def_Player_Dict_FromPosY = 'FromPosY' # 最后一次离开的非中立常规地图,坐标X
+Def_Player_Dict_FromLineID = 'FromLineID' # 最后一次离开的非中立常规地图,线路ID
Def_Player_Dict_FamilyTechLV = "FamilyTechLV_%s" #家族科技等级, 参数(科技ID)
@@ -3296,6 +3311,7 @@
Def_Player_Dict_FBHistoryMaxLine = "FBHistoryMaxLine_%s" # 副本历史最高通关, 参数为副本ID
Def_Player_Dict_RefurbishGoodBookPlayerLv = "RefurbishGoodBookPlayerLv_97" # 刷新天书任务时的玩家等级
Def_Player_Dict_GameFuncFirstTouch = "GameFuncFirstTouch_%s" # 服务端功能首次触发开启状态; 参数, key编号
+Def_Player_Dict_GameFuncAwardState = "GameFuncAwardState_%s" # 服务端功能开启领奖状态; 参数, key编号
Def_Player_Dict_MissionFinish = "MissionFinish_%s" # 任务是否完成; 参数, 任务ID, 只会记录部分需要记录的任务ID
Def_Player_Dict_FamilyArrestAwardState = "ArrestAwardState_103" # 家族悬赏奖励领取情况
Def_Player_Dict_OtherDayLogin = "OtherDayLogin_105" # 非同一天二次登陆
@@ -3389,7 +3405,7 @@
Def_PDict_FirstGoldTry = "FirstGoldTry" # 首充试用状态 0-不可试用 1-可试用 2-已试用
Def_PDict_DailyGoldChargeState = "DailyGoldChargeState" # 天天首充活动状态,0-未开启;1-已开启
Def_PDict_DailyChargeState = "DailyChargeState" # 当日是否已充值
-Def_PDict_SuperGiftData = "SuperGiftData" # 超值礼包数据
+Def_PDict_SuperGiftStartTime = "SuperGiftStartTime" # 超值礼包开始时间
Def_PDict_DailyGoldChargePrizeRecord = "DailyGoldChargePrizeRecord" # 天天首充领奖记录,0-不可领;1-可领;2-已领
Def_PDict_DailyGoldChargeCnt = "DailyGoldChargeCnt" # 当日已充值数
Def_PDict_SingleGoldGiftIndex = "SingleGoldGiftIndex" # 单日充值多选一礼包领取状态, 0-未领取,>0已领取索引
@@ -3493,9 +3509,12 @@
Def_PDict_IsAddReviveTired = "IsAddReviveTired" # 死亡是否增加复活疲劳
-Def_PDict_HadCompoundWing = "HadCompoundWing" # 是否合成过一代翅膀
+Def_PDict_ComposeMustSuccess = "ComposeMustSuccess_%s" # 前X次合成必定成功,参数(合成归组)
+Def_PDict_FirstSuccMakeJobItem = "FirstSuccMakeJobItem_%s" # 首次合成成功给本职业物品记录,参数为(合成ID)
Def_PDict_DownloadAwardState = "DownloadAwardState" # 分支下载奖励状态 0-未领 1-已领
+
+Def_PDict_ChestsOpenCount = "ChestsOpenCount_%s" # 宝箱已开启次数, 参数(宝箱ID), 只有有开启次数额外奖励的才会记录
# 跑环
Def_PDict_RunTaskAwardState = "RunTaskAwardState_%s" # 是否已领取跑环本轮结束奖励 参数任务类型
@@ -3600,6 +3619,28 @@
Def_PDict_FCPartyCurPoint = "FCPartyCurPoint" #全民来嗨活动当前总点数
Def_PDict_FCPartyAwardRecord = "FCPartyAwardRecord" #全民来嗨活动领奖记录
Def_PDict_FCCostGold = "FCCostGold" # 绝版降临总累计消费仙玉
+
+#绑玉转盘
+Def_PDict_BindJadeWheelCurCnt = "BindJadeWheelCurCnt" # 今日已转次数
+Def_PDict_BindJadeWheelHistoryCnt = "BindJadeWheelHistoryCnt" # 历史已转次数
+
+#限时抢购活动
+Def_PDict_FlashSaleID = "FlashSaleID" # 玩家身上的限时抢购活动ID,唯一标识,取活动开始日期time
+Def_PDict_FlashSaleState = "FlashSaleState" # 玩家身上的限时抢购活动state
+Def_PDict_FlashSaleMailState = "FlashSaleMailState" # 玩家身上的活动更新提醒邮件状态
+Def_PDict_FlashSaleYY = "FlashSaleYY_%s" # 玩家预约限时抢购商品
+
+#许愿池活动
+Def_PDict_WishingWellID = "WishingWellID" # 玩家身上的许愿池活动ID,唯一标识,取活动开始日期time值
+Def_PDict_WishingWellFreeTime = "WishingWellFreeTime" # 许愿池免费开始计时时间
+Def_PDict_WishingWellAwardTime = "WishingWellAwardTime" # 许愿池许愿时间
+Def_PDict_WishingWellRefreshCnt = "WishingWellRefreshCnt" # 付费刷新次数
+Def_PDict_WishingWellItem = "WishingWellItem_%s_%s" # 物品ID,是否极品、是否绑定信息 参数(类型,物品数据)
+Def_PDict_WishingWellItemCnt = "WishingWellItemCnt_%s_%s" # 物品数量记录 参数(类型,物品数据)
+
+#聊天气泡
+Def_PDict_ChatBubbleBoxState = "ChatBubbleBoxState_%s" # 聊天气泡状态, 参数(key编号)
+
#-------------------------------------------------------------------------------
#类型 Def_PDictType_OnlinePrize
Def_PDict1_OnlinePrizeCnt = "OnlinePrizeCnt" # 新手在线已领取奖励次数
@@ -3793,7 +3834,7 @@
Def_PDictType_TJGNotify_LV = "TJGLV" #脱机前的等级
Def_PDictType_TJGNotify_ItemID = "TJGItemID_%s" #脱机挂指定物品掉落显示
-
+Def_PDictType_TJGOnDayEx = "TJGOnDayEx" #是否脱机挂中过天(5点)真实登录后重置
#仙魔之争
Def_PDict_XMZZLastStartTime = "XMZZLastStartTime" #上次开始战斗时间
@@ -4206,7 +4247,8 @@
Def_CalcAttrFunc_PetSign, # 宠物签到 33
Def_CalcAttrFunc_MagicWeaponSoul, # 法宝之魂属性34
Def_CalcAttrFunc_Dogz, # 神兽35
-) = range(36)
+Def_CalcAttrFunc_DogzBattleSkill, # 助战神兽技能36
+) = range(37)
# 在此列表中的功能属性,不享受百分比加成,--属性参与战力计算
@@ -4216,7 +4258,7 @@
]
# 在此列表中的功能属性,不享受百分比加成,--属性不参与战力计算,战力由技能配置决定
-CalcAttrExFuncListNoFightPower = [Def_CalcAttrFunc_HorseSkill, Def_CalcAttrFunc_PetSkill]
+CalcAttrExFuncListNoFightPower = [Def_CalcAttrFunc_HorseSkill, Def_CalcAttrFunc_PetSkill, Def_CalcAttrFunc_DogzBattleSkill]
#战斗力分组类型对应功能点属性分类索引列表,并不是一一对应的,有些战斗力类型可由多个功能点组成
@@ -4300,7 +4342,9 @@
TriggerType_Buff_BeAttackSubLayer, # BUFF类:被攻击减buff层,0消失 48
TriggerType_OneDamage, # 伤害降低到1点 49
TriggerType_LuckyHit, # 会心一击时增加会心伤害百分比 50
-) = range(1, 51)
+TriggerType_ChangeHurtToHP, # 把受到伤害的xx%转化为生命值 51
+TriggerType_AddLayer, # BUFF层级增加时 52
+) = range(1, 53)
# NPC功能类型定义
@@ -4437,13 +4481,15 @@
Def_Cost_DogzEquipPlus, # 神兽装备强化
Def_Cost_RuneHole, # 符印孔解锁
Def_Cost_AlchemyPray, # 丹药祈福
+Def_Cost_ResetGreatMasterSkill, # 重置天赋技能
+Def_Cost_BindJadeWheel, # 绑玉转盘
+Def_Cost_WishingWell, # 许愿池刷新
#-----------以下为暂时没用的,先不删除,如有新增消费点则放在这些之前------------
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连胜
@@ -4458,7 +4504,7 @@
Def_Cost_Trade, # 交易
Def_Cost_Rename, # 改名
Def_Cost_SkillLvUp, # 技能升级
-) = range(2000, 2000 + 55)
+) = range(2000, 2000 + 57)
Def_Cost_Reason_SonKey = "reason_name_son" # 消费点原因子类说明key
@@ -4503,7 +4549,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",
@@ -4541,6 +4587,8 @@
Def_Cost_DogzEquipPlus:"DogzEquipPlus",
Def_Cost_RuneHole:"RuneHole",
Def_Cost_AlchemyPray:"AlchemyPray",
+Def_Cost_BindJadeWheel:"BindJadeWheel",
+Def_Cost_WishingWell:"WishingWell",
}
## -----------------------------------------------------
@@ -4571,7 +4619,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
@@ -4602,6 +4651,7 @@
Def_GiveMoney_Trade:"Trade",
Def_GiveMoney_Truck:"Truck",
Def_GiveMoney_FreeGoods:"FreeGoods",
+Def_GiveMoney_BindJadeWheel:"BindJadeWheel",
}
##==================================================================================================
@@ -4690,7 +4740,8 @@
ItemDel_AddFBCnt, # 增加副本可进入次数 31
ItemDel_AddKillBossCnt, # 增加BOSS可击杀次数 32
ItemDel_DogzEquipPlus, # 神兽装备强化
-) = range(2000, 2000 + 34)
+ItemDel_ChatBubbleBox, # 激活聊天气泡框
+) = range(2000, 2000 + 35)
# 物品扣除类型对应信息 {类型:eventName, ...}
ItemDelTypeDict = {
@@ -4834,7 +4885,9 @@
VIPPrivilege_BOSSHomeKillLimit, #27 BOSS之家疲劳值上限
VIPPrivilege_FMTDouble, #28 封魔坛双倍击杀
VIPPrivilege_29, #29 娲皇遗迹购买次数 - 副本总表统一处理
-) = range(1, 30)
+VIPPrivilege_BindJadeWheel, #30 绑玉转盘次数
+VIPPrivilege_PrayElixir, #31 丹药祈福次数
+) = range(1, 32)
(
@@ -4979,7 +5032,9 @@
Def_RewardType_FCRecharge, # 仙界盛典充值大礼13
Def_RewardType_FCParty, # 仙界盛典全民来嗨14
Def_RewardType_DownLoad, # 分包下载奖励15
-)= range(16)
+Def_RewardType_WishingWell, # 许愿池奖励16
+Def_RewardType_OpenFunc, # 功能开启奖励17
+)= range(18)
#boss复活相关活动定义
--
Gitblit v1.8.0