| | |
| | |
|
| | | 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_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), 只有有开启次数额外奖励的才会记录
|
| | |
|
| | |
| | | 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_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
|
| | |
| | | TaskType_ReqOrJoinFamily, # 创建或者申请加入公会 18
|
| | | TaskType_FBTianzi, # 挑战天子的考验x次 19
|
| | | TaskType_Rename, # 改名 20
|
| | | ) = range(1, 1 + 20)
|
| | | TaskType_HeroBook, # 武将图鉴激活x个 21
|
| | | ) = range(1, 1 + 21)
|
| | |
|
| | | # 任务分组
|
| | | TaskGroupList = (
|