| | |
| | | Def_BuffValue_Count = 3 # buff记录的value个数
|
| | |
|
| | | #游戏对象属性--------------------------------------------
|
| | | Def_Calc_AllAttrType_MAX = 130
|
| | | Def_Calc_AllAttrType_MAX = 131
|
| | | #基本属性BUFF计算,顺序与 ObjProperty_AttrByIndex 对应,同时也为buff效果ID同步通知策划
|
| | | TYPE_Calc_AttrList = (
|
| | | #基础属性
|
| | |
| | | TYPE_Calc_WingHPPer, # 翅膀生命百分比
|
| | | TYPE_Calc_SuiteBasePer, # 套装基础属性百分比
|
| | | TYPE_Calc_PlusBaseAtkPer, # 强化基础攻击百分比
|
| | | TYPE_Calc_ProDef, # 当前防护值
|
| | | ) = range(1, Def_Calc_AllAttrType_MAX)
|
| | |
|
| | |
|
| | |
| | | Def_FB_NotifyFBHelpTick = 'NotifyFBHelpTick' # 广播副本帮助信息tick
|
| | | Def_FB_NPCStrengthenAverageLV = 'NPCStrengthenAverageLV' # 当前线路成长NPC平均等级
|
| | | Def_FB_NPCStrengthenMaxLV = 'NPCStrengthenMaxLV' # 当前线路成长NPC最大等级
|
| | | Def_FB_NPCStrengthenMinLV = 'NPCStrengthenMinLV' # 当前线路成长NPC最小等级
|
| | | Def_FB_NPCStrengthenPlayerCnt = 'NPCStrengthenPlayerCnt' # 当前线路成长NPC对应玩家数
|
| | | Def_FB_TeamPlayerCount = 'TeamPlayerCount' # 组队副本参与玩家数 - 非实时人数,只是进入时的那个人数
|
| | | Def_FB_DropDoCountRate = 'DropDoCountRate' # 怪物掉落执行次数万分率
|
| | |
| | | TYPE_Map_Tick_ProcessMinute = 10 #每分钟触发事件
|
| | | TYPE_Map_Tick_ProcessFiveMinute = 11 #五分钟触发事件
|
| | | TYPE_Map_Tick_BossAITick = 12 #BOSSAI间隔,此处不包含召唤兽,外层控制
|
| | | TYPE_Map_Tick_PetAITick = 13 #宠物AI间隔特殊处理
|
| | |
|
| | | TYPE_Map_Tick_Time = [
|
| | | 1000 * 60 * 3 , #0 回报当前地图活跃人数(3分钟一次)
|
| | |
| | | 1000 * 10 , #9 战盟战10秒刷新排行榜
|
| | | 1000 * 60 , #10 每分钟触发事件
|
| | | 1000 * 60 * 5 , #11 五分钟触发事件
|
| | | 800, #12 BOSS 宠物 镖车的AI间隔
|
| | | 800, #12 BOSS 镖车的AI间隔
|
| | | 3000, #13 宠物AI特殊处理间隔
|
| | | ]
|
| | |
|
| | | TYPE_Map_Tick_Count = len( TYPE_Map_Tick_Time )
|
| | |
| | |
|
| | | Def_NPC_Dict_SpeedPer = "SpeedPer" # 移动速度变更百分比
|
| | |
|
| | | # 延迟攻击时长, 毫秒
|
| | | Def_NPC_Dict_AtkDelayTick = "AtkDelayTick" # 延迟攻击时长
|
| | | Def_NPC_Dict_AtkStartTick = "AtkStartTick" # 开始攻击tick
|
| | |
|
| | | #玩家状态定义,不能超过31个,如超过,需扩展多个key支持
|
| | | Def_PlayerStateList = (
|
| | | Def_PlayerState_Normal, # 无 0
|
| | |
| | |
|
| | | #---SetDict 玩家字典KEY,不存于数据库---
|
| | | # key的长度不能超过29个字节
|
| | | Def_PlayerKey_LockHPSkillID = "LockHPSkillID" # 锁血功能的技能
|
| | | Def_PlayerKey_GodWeaponBeforeProDef = "GWBPD" # 神兵护盾被攻击前的值
|
| | | Def_PlayerKey_curHurtValue = "curHurtValue" # 计算中的临时伤害值,技能特殊用
|
| | | Def_PlayerKey_DefenderObjID = "DefenderObjID" # 后续触发技能需要用到的对象ID,暂用于玩家
|
| | |
| | |
|
| | | Def_PlayerKey_TotalExpRate = "TotalExpRate" #总经验加成
|
| | | Def_PlayerKey_TeamExpRate = "TeamExpRate" #组队经验加成
|
| | | Def_PlayerKey_TeamMemCount = "TeamMemCount" #队伍在线玩家数
|
| | | Def_PlayerKey_CurState = "PlayerCurState" # 当前状态信息, 标记详见 Def_PlayerStateList
|
| | | Def_PlayerKey_AttrFaintRate = "FaintRate" #触发击晕
|
| | | Def_PlayerKey_AttrFaintDefRate = "FaintDefRate" #击晕抵抗
|
| | |
| | |
|
| | | #功能索引ShareDefine.Def_AttrFruitFuncList
|
| | | Def_PlayerKey_FruitAttr = "FruitAttr_%s_%s" # 属性果实增加的属性,参数为(功能索引, 物品效果id)
|
| | | Def_PlayerKey_FruitFightPowerEx = "FruitFightPowerEx_%s" # 属性果实增加的附加战力,参数为(功能索引)
|
| | | Def_PlayerKey_FamilyLVLeave = "FamilyLVLeave" # 离开的最后一个家族的等级
|
| | |
|
| | | Def_PlayerKey_CalcAddAttrType = "CalcAType_%s_%s_%s" # 刷属性类型, 参数[funcIndex, attrIndex, 缓存编号]
|
| | |
| | | Def_PDict_EquipTotalBaseMaxAtk = "EquipTotalBaseMaxAtk" # 装备累计基础最大攻击
|
| | | Def_PDict_EquipTotalBaseDef = "EquipTotalBaseDef" # 装备累计基础防御
|
| | | Def_PDict_EquipTotalBaseHP = "EquipTotalBaseHP" # 装备累计基础生命
|
| | |
|
| | | Def_PDict_TodayXianyuanCoinOnLogin = "TodayXianyuanCoinOnLogin" # 登录时触发过天后今日还需要增加的仙缘币
|
| | | Def_PDict_LoginAddTodayXianyuanCoinTime = "LoginAddTodayXianyuanCoinTime" # 登录时记录当天增加仙缘币的time值
|
| | |
|
| | | #---玩家字典KEY,存于数据库---
|
| | | #===========================================================================
|
| | |
| | | Def_Player_Dict_TeamFBMaxLV = "TeamFBMaxLV" # 请求进入的组队副本最大等级, 临时用,进入副本设置完后删除
|
| | | Def_Player_Dict_TeamFBPlayerCnt = "TeamFBPlayerCnt" # 请求进入的组队副本玩家个数, 临时用,进入副本设置完后删除
|
| | | Def_Player_Dict_ReqFBMissionID = "ReqFBMissionID" # 请求进入副本的任务ID
|
| | | Def_Player_Dict_ReqFBMissionType = "ReqFBMissionType" # 请求进入副本的任务类型
|
| | | Def_Player_Dict_PlayerFBStar_MapId = "FBStar_%s_%s" # 副本星级星级信息, 参数为[mapID, key编号], 按位存储每个lineID对应的星级
|
| | | Def_Player_Dict_EnterFbCntDay = "EnterFbCntDay_%s" # 今日进入副本次数, 参数为副本ID
|
| | | Def_Player_Dict_BuyFbCntDay = "BuyFbCntDay_%s" # 今日购买副本进入次数, 参数为副本ID
|
| | |
| | | Def_PDict_OnlineStartTick = "OnlineStartTime" # 在线计算时间
|
| | | Def_PDict_LVAwardGetRecord = "LVAwardGetRecord" # 等级奖励领取信息记录,按二进制位标示
|
| | | Def_PDict_LVAwardVIPGetRecord = "LVAwardVIPGetRecord" # 等级奖励vip领取信息记录,按二进制位标示
|
| | | Def_PDict_CTGCountResetTime = "CTGCountResetTime" # CTG次数重置时间time值
|
| | | Def_PDict_TodayCTGCount = "TodayCTGCount_%s" # 当日充值次数,参数(CTG对应的商品记录ID)
|
| | | Def_PDict_CTGGoodsBuyCount = "CTGGoodsBuyCount_%s" # 对应充值商品已购买次数,参数(CTG对应的商品记录ID)
|
| | | Def_PDict_GoldGiftGetRecord = "GoldGiftGetRecord" # 充值豪礼领取信息记录,按二进制位标示
|
| | |
| | | #累计充值活动
|
| | | Def_PDict_TotalRechargeID = "TotalRechargeID" # 玩家身上的累计充值活动ID,唯一标识,取活动开始日期time值
|
| | | Def_PDict_TotalRechargeTemplateID = "TotalRechargeTemplateID" # 玩家身上的累计充值模板ID
|
| | | Def_PDict_TotalRechargeGold = "TotalRechargeGold" # 消费返利总累计充值仙玉
|
| | | Def_PDict_TotalRechargeGold = "TotalRechargeGold" # 消费返利总累计充值X元
|
| | | Def_PDict_TotalRechargeAwardRecord = "TotalRechargeAwardRecord" # 累计充值领奖记录
|
| | |
|
| | | #限时特惠活动
|
| | |
| | | TriggerType_SummonDie, #自身召唤兽死亡触发技能 60
|
| | | TriggerType_GiftReduceCD, # 天赋用的减CD 61
|
| | | TriggerType_ProDefValue, # 神兵护盾值下降时 62
|
| | | ) = range(1, 63)
|
| | | TriggerType_LockHP, # 锁血触发技能 63
|
| | | TriggerType_BeLuckyHit, # 被会心一击触发技能 64
|
| | | TriggerType_BeLuckyHitSubPer, # 减少受到的会心伤害 65
|
| | | ) = range(1, 66)
|
| | |
|
| | |
|
| | | # NPC功能类型定义
|
| | |
| | | ntPet,
|
| | | ntTouchKill, #触碰后自杀类 17
|
| | | ntUndeath, #不死类型 18
|
| | | ntRobot, #上古战场机器人类型 19
|
| | | ntDestructible, #场景内可破坏的 19
|
| | | ntHelpBattleRobot, #助战机器人 20
|
| | | ntRobot, #机器人21
|
| | | ntMax
|
| | | ) = range(22)
|
| | | ) = range(23)
|
| | |
|
| | |
|
| | | (Def_SkillFuncType_Common, #0为通用技能
|
| | |
| | | Rune_Source_Unkown, # 老号未知 0
|
| | | Rune_Source_Default, # 默认 1
|
| | | Item_Source_Compound, # 符印合成 2
|
| | | ) = range(3) |
| | | ) = range(3)
|
| | |
|
| | | (
|
| | | PowerDownType_Rune, #符印替换
|
| | | PowerDownType_LVUP, #人物升级
|
| | | PowerDownType_EquipChange, #装备替换
|
| | | PowerDownType_StoneChange, #宝石替换
|
| | | PowerDownType_Suit, #套装合成
|
| | | PowerDownType_EquipWash, #洗练
|
| | | PowerDownType_Title, #称号过期
|
| | | PowerDownType_Dogz, #神兽召回
|
| | | PowerDownType_ResetPoint, #洗点
|
| | | PowerDownType_ResetTalent, #大师天赋重置
|
| | | ) = range(10)
|
| | | FightPowerDownRecordDict = {
|
| | | PowerDownType_Rune:'Rune',
|
| | | PowerDownType_LVUP:'LVUP',
|
| | | PowerDownType_EquipChange:'EquipChange',
|
| | | PowerDownType_StoneChange:'StoneChange',
|
| | | PowerDownType_Suit:'Suit',
|
| | | PowerDownType_EquipWash:'EquipWash',
|
| | | PowerDownType_Title:'DelTitle',
|
| | | PowerDownType_Dogz:'DogzState',
|
| | | PowerDownType_ResetPoint:'ResetPoint',
|
| | | PowerDownType_ResetTalent:'ResetTalent',
|
| | | } |