| | |
| | |
|
| | | Def_BuffValue_Count = 3 # buff记录的value个数
|
| | |
|
| | | # buff保留类型定义
|
| | | (
|
| | | BuffRetainType_Dead, # 死亡保留 1
|
| | | BuffRetainType_Revive, # 复活保留 2
|
| | | ) = range(1, 1 + 2)
|
| | |
|
| | | #游戏对象属性--------------------------------------------
|
| | | # 属性ID列表,所有对象类型通用,如Player、NPC
|
| | | AttrIDList = (
|
| | |
| | | AttrID_ComboDamPerDef, # 连击减伤 70
|
| | | AttrID_PVPDamPer, # PVP增伤 71
|
| | | AttrID_PVPDamPerDef, # PVP减伤 72
|
| | | ) = range(1, 1 + 72)
|
| | | AttrID_ReviveHPPer, # 复活生命加成 73
|
| | | AttrID_ReviveXPPer, # 复活怒气加成 74
|
| | | ) = range(1, 1 + 74)
|
| | |
|
| | | # 需要计算的武将战斗属性ID列表
|
| | | CalcBattleAttrIDList = [AttrID_Atk, AttrID_Def, AttrID_MaxHP, AttrID_StunRate, AttrID_StunRateDef,
|
| | |
| | | AttrID_WeiFinalDamPer, AttrID_WeiFinalDamPerDef, AttrID_ShuFinalDamPer, AttrID_ShuFinalDamPerDef,
|
| | | AttrID_WuFinalDamPer, AttrID_WuFinalDamPerDef, AttrID_QunFinalDamPer, AttrID_QunFinalDamPerDef,
|
| | | AttrID_BatDamPer, AttrID_BatDamPerDef, AttrID_PursueDamPer, AttrID_PursueDamPerDef,
|
| | | AttrID_ComboDamPer, AttrID_ComboDamPerDef, AttrID_XPRecoverPer, AttrID_PVPDamPer, AttrID_PVPDamPerDef
|
| | | AttrID_ComboDamPer, AttrID_ComboDamPerDef, AttrID_XPRecoverPer, AttrID_PVPDamPer, AttrID_PVPDamPerDef,
|
| | | AttrID_ReviveHPPer, AttrID_ReviveXPPer,
|
| | | ]
|
| | |
|
| | | # 基础三维属性ID列表
|
| | |
| | | Def_CalcAttrList = (
|
| | | Def_CalcAttr_LV, # 主公等级 0
|
| | | Def_CalcAttr_MainEquip, # 主装备 1
|
| | | Def_CalcAttr_HeroBook, # 武将图鉴 2
|
| | | Def_CalcAttr_2,
|
| | | Def_CalcAttr_Realm, # 官职 3
|
| | | Def_CalcAttr_Gubao, # 古宝 4
|
| | | Def_CalcAttr_HJG, # 幻境阁 5
|
| | |
| | | CalcAttrName = {
|
| | | Def_CalcAttr_LV:"主公等级",
|
| | | Def_CalcAttr_MainEquip:"主装备",
|
| | | Def_CalcAttr_HeroBook:"武将图鉴",
|
| | | Def_CalcAttr_Realm:"官职",
|
| | | Def_CalcAttr_Gubao:"古宝",
|
| | | Def_CalcAttr_HJG:"幻境阁",
|
| | |
| | | Def_PlayerKey_Frist_Lock = "Frist_Lock" # 是否接受了任务1
|
| | | Def_PlayerKey_TaskExpRewardMultiple = "TaskExpRewardMultiple" # 任务经验奖励倍值
|
| | | Def_PlayerKey_BuyItemCnt = "BuyItemCnt" # 购买物品数量
|
| | | Def_PlayerKey_QueryOpenServerAwardState = "QueryOpenServerAwardState" # 查询开服奖励状态
|
| | |
|
| | | Def_PlayerKey_QueryMarkIdCardIndex = 'QueryMarkIdCardIndex' # 指定账号生成卡类型
|
| | | Def_PlayerKey_QueryNewGuyCardType = 'QueryNewGuyCardType' # 查询的新手卡类型
|
| | |
| | | Def_PDict_MonthCTGCount = "MonthCTGCount_%s" # 本月充值次数,参数(CTG对应的商品记录ID)
|
| | | Def_PDict_CTGGoodsBuyCount = "CTGGoodsBuyCount_%s" # 对应充值商品已购买次数,参数(CTG对应的商品记录ID)
|
| | | Def_PDict_CTGSelectItemValue = "CTGSelectItemValue_%s" # 充值自选选择记录,参数(CTG对应的商品记录ID) 每两位存储每个自选索引对应选择的物品索引+1,存储位值为0代表未选择,最多支持选择4种物品
|
| | | Def_PDict_OnlineRechargeTHAward = "OnlineRechargeTHAward" # 在线特惠充值额外奖励 - 是否已领取奖励
|
| | | Def_PDict_DayFreeGoldGiftState = "DayFreeGoldGiftState" # 每日免费直购礼包领取记录
|
| | | Def_PDict_FirstChargeRecord = "FirstChargeRecord_%s" # 首充领取记录,按位记录首充第x天是否已领取,参数(首充ID)
|
| | | Def_PDict_FirstChargeTime = "FirstChargeTime_%s" # 首充充值时间戳,参数(首充ID)
|
| | | Def_PDict_IsReBorn = "Def_PDict_IsReBorn" # 是否回城复活
|
| | |
| | | Def_PDict_SplitExpLVCnt = "SplitExpLVCnt_%s" # 单位等级经验已拆分过的等级数, 参数为实际等级
|
| | |
|
| | | Def_PDict_IsAddReviveTired = "IsAddReviveTired" # 死亡是否增加复活疲劳
|
| | |
|
| | | Def_PDict_DownloadAwardState = "DownloadAwardState" # 分包包下载奖励状态 0-未领 >0-已领奖励编号
|
| | |
|
| | | Def_PDict_ChestsOpenCount = "ChestsOpenCount_%s" # 宝箱已开启次数, 参数(宝箱ID), 只有有开启次数额外奖励的才会记录
|
| | |
|
| | |
| | | Def_PDict_CollectWordsID = "CollectWordsID_%s" # 玩家身上的活动ID,唯一标识,取活动开始日期time值,参数(活动编号 1 或 2)
|
| | | Def_PDict_CollectWordsExchangeCount = "CollectWordsCount_%s_%s" # 兑换编号对应已兑换次数,参数(活动编号, 兑换编号)
|
| | | Def_PDict_CollectWordsGJSeconds = "CollectWordsGJSeconds_%s" # 挂机未处理收益的秒数,参数(活动编号)
|
| | |
|
| | | #BOSS复活
|
| | | Def_PDict_BossRebornID = "BossRebornID" # 玩家身上的BOSS复活活动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复活活动开启时世界等级
|
| | |
|
| | | #Boss首杀
|
| | | Def_PDict_BossFirstKillState = "BossFirstKillState_%s" # boss首杀相关状态记录
|
| | |
|
| | | #限时抢购活动
|
| | | Def_PDict_FlashSaleID = "FlashSaleID_%s" # 玩家身上的限时抢购活动ID,唯一标识,取活动开始日期time,参数(活动编号)
|
| | |
| | | # 成就 Def_PDictType_Success
|
| | | Def_PDict_SuccessValue = "Succ_%s_%s" # 当前次数值,参数(成就类型、条件)
|
| | | Def_PDict_SuccessAward = "Succ_Award_%s" # 成就领奖记录,按成就ID位存储0-未领,1-已领,参数(key编号)
|
| | |
|
| | | # 开服庆典
|
| | | Def_PDict_OSACelebrationPoint = "OSACelebrationPoint" # 开服庆典累计积分
|
| | | Def_PDict_OSACelebrationAward = "OSACelebrationAward" # 开服庆典累计积分阶段奖励领奖状态,按积分排序后的索引位记录是否已领取
|
| | |
|
| | | # 通天令
|
| | | Def_PDict_TTL_StartTime = "TTL_StartTime" # 本轮通天令开始时间戳
|
| | |
| | | TriggerWay_BeAtkBack, # 被反击时 39
|
| | | TriggerWay_InBattlefield, # 在场时 40
|
| | | TriggerWay_Revive, # 复活时 41
|
| | | ) = range(1, 1 + 41)
|
| | | TriggerWay_BigTurnStartByDead, # 大回合开始时(死亡后有效) 42
|
| | | ) = range(1, 1 + 42)
|
| | |
|
| | | # 不加载的被动触发方式,一般用于本技能固定触发逻辑用的
|
| | | TriggerWayNoLoadList = [TriggerWay_CurSkillEff, TriggerWay_CurSkillEffLst]
|
| | | # 死亡可以触发的方式
|
| | | DeadCanTriggerWayList = [TriggerWay_BigTurnStartByDead]
|
| | |
|
| | | # 被动触发有效来源
|
| | | TriggerSrc_Skill = 1 # 身上技能有效
|
| | |
| | | Def_GiveMoney_Warehouse, # 仓库
|
| | | Def_GiveMoney_SellPackItem, # 出售背包物品
|
| | | Def_GiveMoney_CollectNPC, # 采集NPC
|
| | | Def_GiveMoney_BossFirstKill, # Boss首杀
|
| | | Def_GiveMoney_20,
|
| | | Def_GiveMoney_21,
|
| | | Def_GiveMoney_Trade, # 交易
|
| | | Def_GiveMoney_23,
|
| | |
| | | Def_GiveMoney_Warehouse:"Warehouse",
|
| | | Def_GiveMoney_SellPackItem:"SellPackItem",
|
| | | Def_GiveMoney_CollectNPC:"CollectNPC",
|
| | | Def_GiveMoney_BossFirstKill:"BossFirstKill",
|
| | | Def_GiveMoney_Trade:"Trade",
|
| | | Def_GiveMoney_FreeGoods:"FreeGoods",
|
| | | Def_GiveMoney_BindJadeWheel:"BindJadeWheel",
|
| | |
| | | Def_RewardType_BeautyLVAward, # 红颜等级奖励 6
|
| | | Def_RewardType_DayRealmPoint, # 每日任务修行点奖励7
|
| | | Def_RewardType_FirstCharge, # 首充礼包奖励8
|
| | | Def_RewardType_MWSoulAward, # 法宝之魂奖励9 -废弃
|
| | | Def_RewardType_OSACelebrationPointAward, # 开服庆典积分阶段奖励 9
|
| | | Def_RewardType_FreeGoods, # 极品白拿10
|
| | | Def_RewardType_CostRebate, # 消费返利11
|
| | | Def_RewardType_BossReborn, # BOSS复活12
|
| | | Def_RewardType_FCRecharge, # 仙界盛典充值大礼13
|
| | | Def_RewardType_FCParty, # 仙界盛典全民来嗨14
|
| | | Def_RewardType_15, # 分包下载奖励15
|
| | | Def_RewardType_DownLoad, # 分包下载奖励15
|
| | | Def_RewardType_WishingWell, # 许愿池奖励16
|
| | | Def_RewardType_OpenFunc, # 功能开启奖励17
|
| | | Def_RewardType_TotalRecharge, # 累计充值奖励18
|
| | |
| | | Def_RewardType_ManyDayRecharge, #多日连充41
|
| | | Def_RewardType_InfiniteMoney, #无限货币42
|
| | | Def_RewardType_SingleRecharge, #单笔累充 43
|
| | | Def_RewardType_OnlineRechargeTH, #创角在线特惠充值额外奖励 44
|
| | | Def_RewardType_44, #创角在线特惠充值额外奖励 44
|
| | | Def_RewardType_SWC, #送万充奖励 45
|
| | | Def_RewardType_FairyCardSponsor, #仙卡赞助奖励 46
|
| | | Def_RewardType_CritGodBoxCTG, #暴击神兵奖励 47
|
| | |
| | | Def_RewardType_ADAward, # 广告奖励 81
|
| | | Def_RewardType_TreeFreeTime, # 仙树免费减时 82
|
| | | )= range(83)
|
| | |
|
| | | #boss复活相关活动定义
|
| | | BossRebornActIDList = (
|
| | | Def_BRAct_VIPBOSS, #进入VIPboss副本 1
|
| | | Def_BRAct_GodArea, #进入古神禁地副本 2
|
| | | Def_BRAct_MoneyPray, #铜钱祈愿 3
|
| | | Def_BRAct_ExpPray, #经验祈愿 4
|
| | | Def_BRAct_Treasure, #极品寻宝 5
|
| | | Def_BRAct_WorldBOSS, #击杀世界boss获得掉落归属 6
|
| | | Def_BRAct_BOSSHome, #击杀boss之家获得掉落归属 7
|
| | | Def_BRAct_FMT, #挑战封魔坛BOSS 8
|
| | | Def_BRAct_RunTask, #完成仙盟跑环 9
|
| | | Def_BRAct_XJMJ, #完成仙界秘境 10
|
| | | Def_BRAct_KirinHome, #完成麒麟之府 11
|
| | | Def_BRAct_TowerSweep, #符印塔扫荡 12
|
| | | Def_BRAct_RuneTreasure, #符印寻宝 13
|
| | | Def_BRAct_FairyDomain, #缥缈仙域 14
|
| | | Def_BRAct_FamilyBoss, #仙盟BOSS 15
|
| | | Def_BRAct_ActivityPlace, #活跃放置 16
|
| | | Def_BRAct_JSTreasure, #绝世寻宝 17
|
| | | ) = range(1, 17+1)
|
| | |
|
| | | #全民来嗨活动定义(仙界盛典)
|
| | | PeoplePartyActIDList = (
|
| | |
| | | TaskType_ReqOrJoinFamily, # 创建或者申请加入公会 18
|
| | | TaskType_FBTianzi, # 挑战天子的考验x次 19
|
| | | TaskType_Rename, # 改名 20
|
| | | ) = range(1, 1 + 20)
|
| | | TaskType_HeroBook, # 武将图鉴激活x个 21
|
| | | ) = range(1, 1 + 21)
|
| | |
|
| | | # 任务分组
|
| | | TaskGroupList = (
|