/** @format */ import {UI} from './UI' export enum LOCAL { bgmVolume = 'ONLY_TAG:bgmVolume', // 背景音乐音量 sfxVolume = 'ONLY_TAG:sfxVolume', // 声效开关 isMusicEnable = 'ONLY_TAG:isMusicEnable', // 背景音乐是否静音 isSoundEnable = 'ONLY_TAG:isSoundEnable', // 音效是否静音 chooseMultRole = 'ONLY_TAG:chooseMultRole', // 测试多选的阵容ID chooseMultCard = 'ONLY_TAG:chooseMultCard', // 测试多选的卡牌ID selectLanguage = 'ONLY_TAG:selectLanguage', // 选择的语言 adFreeInfo = 'adFreeInfo', //存储广告时间和剩余次数 isEditName = 'isEditName', //是否改过名字 loginDay = 'loginDay', //登录的当天0点0时0分0秒的时间戳 firstChargePop = 'firstChargePop', //第一次首充弹出 gameSpeedTime = 'gameSpeedTime', //双倍时间 lastLoginServer = 'ONLY_TAG:lastLoginServer', //上次登录的服务器 } export enum EVENT { canvasResize = 'canvasResize', // Socket开启 webSocketOpen = 'webSocketOpen', // Socket开启 webSocketClose = 'webSocketClose', // Socket关闭 serverMaintain = 'serverMaintain', // 服务器维护 goodsChangeSync = 'goodsChangeSync', // 物品改变数量同步 screenChange = 'screenChange', // 屏幕翻转 mainPopAnyUI = 'mainPopAnyUI', // 主界面弹出一些UI facebookLoginSuccess = 'facebookLoginSuccess', // facebook登录成功 facebookLoginFail = 'facebookLoginFail', // facebook登录失败 googleLoginSuccess = 'googleLoginSuccess', // google登录成功 googleLoginFail = 'googleLoginFail', // google登录失败 mainRed = 'mainRed', // 主界面红点刷新 changeLanguage = 'changeLanguage', // 切换语言 chooseServer = 'chooseServer', // 选择服务器 openLotteryTask = 'openLotteryTask', // 宝藏任务 heroTrail = 'heroTrail', // 英雄体验 } // app版本 export enum APP_TYPE { windows, // 电脑端 } // 游戏类型 export enum GAME_TYPE { normal, // 普通关卡 elite, // 精英关卡 relic, // 遗迹关卡 dailyCoin, //日常金币 dailyExp, //日常经验 dailyCard, //日常技能卡牌经验 none = 1000, // 测试场景 } export enum GAME_WIN_TYPE { killNum = 1, //击杀指定数量怪物 surviveTime, //存活到指定时间 boss, //boss关卡 } // 游戏英雄提示类型 export enum GAME_ROLE_TIP { buffTip = 'buffTip', //血条顶部buff提示 damageTip = 'damageTip', //普通扣血提示 hpTip = 'hpTip', //加血提示 critTip = 'critTip', //暴击提示 missTip = 'missTip', //攻击闪避提示 } // 游戏预制体类型 export enum GAME_PREFAB_TYPE { bullet = 'bullet', //子弹 frameAni = 'frameAni', //动画 role = 'role', //角色 roleSpine = 'roleSpine', //角色spine skill = 'skill', //技能 } // 游戏层级 export enum GAME_LAYER { floor = 10, //子弹 drop = 20, //掉落 roleSpine = 30, //角色 role = 40, //角色spine bullet = 50, //子弹 skill = 60, //技能 } export enum GOODS_TYPE { currency = 1, //货币 fatigue = 2, //体力 diamond = 3, //充值代币 cast = 4, //消耗道具 cost = 5, //召唤费用 roleSpecial = 6, // 英雄特殊道具 equipSpecial = 7, // 装备特殊道具 randomBox = 8, // 随机宝箱 selectBox = 9, // 选择宝箱 } // 道具ID export enum GOODS { coin = 100001, //金币 fatigue = 110001, //体力 ball = 110002, //祖玛球 activation = 110005, //活跃点 weeklyIntegral = 110004, //周积分 roleSoulStone = 110007, //英雄魂石 equipRuneStones = 110008, //装备符石 diamond = 130001, //钻石 exp = 140003, //队伍经验 weaponsScroll = 140007, //武器卷轴 normalDrawScroll = 140050, //普通抽卡卷轴 rarelDrawScroll = 140051, //高级抽卡卷轴 relicPoints = 110005, //遗迹积分 relicCoin = 110006, //遗迹币 drawEquip = 110009, //锻造次数 talentCoin = 140006, //天赋石 launchLotteryCoin = 130006, //宝藏币 } export enum QUALITY_TYPE { normal = 1, //普通 excellent, //优秀 rare, //稀有 elite, //精英 legend, //传奇 mythology, //神话 } export let QUALITY_COLOR: string[] = ['', '#FFFFFF', '#6CDA2B', '#1DCDF2', '#D56FFF', '#FFAB3E', '#FF3E3E'] export enum ATTR_NAME { HP = 'HP', //血量 attack = 'attack', //物理攻击 spellAttack = 'spellAttack', //法术攻击 realAttack = 'realAttack', //真实攻击 defense = 'defense', //物理防御 spellDefense = 'spellDefense', //法术防御 attackCrit = 'attackCrit', //暴击率 critNum = 'critNum', //暴击伤害 hit = 'hit', //命中 dodge = 'dodge', //闪避 attackSpeed = 'attackSpeed', // 攻击速度 moveSpeed = 'moveSpeed', // 移动速度 attackRange = 'attackRange', // 攻击范围 attackCD = 'attackCD', // 攻击CD } export enum ATTR_CASTLE_BULLET { rechargeCD = 'rechargeCD', //充能CD rechargeNum = 'rechargeNum', //充能数量 } export enum PROFESSION { warrior = 1, //战士 mage, //法师 archer, //射手 assassin, //刺客 } export enum CARD_PROFESSION { mage = 1, //法术卡 warrior, //物理卡 } export enum EQUIPMENT { none = 0, weapons, //武器 jewelry, //饰品 bracers, //腰带 clothes, //衣服 belt, //裤子 pants, //鞋子 } //建筑类型 export enum BUILDING { main = 1, //主城 wood, //伐木场 iron, //铁矿场 gold, //金矿 farm, //农场,产出体力 } export enum BUILDING_ATTR { HP = 'HP', //基地血量 } //----------------战斗----------------- export enum ROLE_TYPE { normal = 1, //普通角色 only, //唯一单卡 totem, //图腾 baby, //召唤物 base, //基地 } export enum MONSTER_TYPE { normal = 21, //普通怪物 elite, //精英 boss, //boss baby, //召唤物 } //技能施放对象 export enum SKILL_DIR_TYPE { normal, //范围内n个对象 selfRole, //自己 anyRole, //单体目标对象 baby, //召唤物对象 minHpRole, //最少血量对象 maxDistance, //距离最大对象 selfNormal, //以自己为中心的范围内n个对象 } export enum SKILL_TYPE { normal = 1, //普通技能 holo, //光环技能 moveBack = 3, //背刺位移技能 createRole, //召唤技能 transRole, //变身技能 shield, //顶盾技能 attackBack, //击退技能 addHP, //加血技能 addShieldHPByHP, //血量加白血技能 addShieldHPBySpAttack, //法术攻击加白血技能 skillBullet, //子弹技能 ejectionSkillBullet, //反弹子弹技能 } export enum BULLET_TYPE { normal = 1, //普通子弹 skill = 2, //技能子弹 } export enum BULLET_FLY_TYPE { normal = 1, //普通子弹 parabolic = 2, //抛物线子弹 bezier = 3, //贝塞尔曲线子弹 boomerang = 4, //回旋子弹 horizon = 5, //水平子弹 } export enum BULLET_EFFECT_TYPE { ejection = 1, //弹射 attackRange = 2, //终点为攻击范围 castleVoid = 3, //城堡免疫 skillEjection = 4, //战场反弹,跟随主人技能生命周期 boomerangRange = 5, //回旋镖距离 line = 6, //连线拖尾,用做闪链点等特效 } export enum SKILL_EFFECT_TYPE { boss = 1, //技能产生的伤害对boss的效果比例 reduce, //伤害递减 addExtraHP, //对生命低于x%的加血增加 rateHpHurt, //血量百分比伤害 castBySkill, //技能由前置技能触发 addRateHP, //增加x%生命血量 addRateShieldHP, //增加x%生命白血量 skillBullet, //发射技能子弹 hurtBase, //对基地产生伤害 addCost, //加费点 shieldHolo, //绿巨人顶盾光环 move, //可移动技能 killSelf, //自杀 } export enum BUFF_TYPE { normal = 1, //普通buff backAddHurt = 3, //背刺加伤 realByHp = 4, //攻击带当前血量的x%真伤 sputter = 5, //攻击带溅射 addHp = 6, //每秒回血 reboundAttack = 7, //物理反伤 reboundReal = 8, //真实反伤 attackGetHp = 9, //物理攻击吸血 dizzy = 10, //晕眩 killNum = 11, //杀敌加攻 attackNumAddHurt = 13, //N次攻击加伤 skillImmune = 14, //技能免疫 shieldReduceHurt = 15, //顶盾减伤 attackAddBabyHP = 16, //攻击给宝宝加血 negativeImmune = 17, //免疫负面效果 rangedImmune = 18, //免疫远程伤害为1点 } export enum BUFF_EFFECT_TYPE { boss = 1, //buff产生的数值对boss的效果比例 immune, //一段时间内免疫某个技能伤害 addHpByAttack, //万分比生命值的额外加血量 changeSpineAttack, //修改spine攻击动作 immuneNegative, //免疫负面效果 } export enum NEGATIVE_TYPE { delay = 1, //晕眩 slow, //减速 back, //击退 } export enum BUFF_ANI_TYPE { delay = 1001, //晕眩 slow = 1002, //减速 } export enum CARD_CAST_AREA { fullScreen, //全屏 radius, //椭圆 rect, //矩形 } export enum START_POS { role, //人物枪口 straightFall, //从天上垂直下落 obliqueFall, //从天上斜向下落 leftScreen, //屏幕左边 areaCenter, //预警中心 fightCenter, //战场中心 base, //基地 } export enum CARD_END_POS { none, //暂无 random, //范围内随机位置 rowCol, //N行N列 role, //角色位置 rightScreen, //屏幕右边 } //卡牌技能每一次施放的对象类型 export enum CARD_MORE_DIR { one2One = 1, //一次对一个对象 one2All, //一次对技能配置多个对象 noOne, //没有对象,直接按开始点施放 } //特效名称 export enum FRAME_ANI_NAME { normalHurt = 101, //通用受击 gangtiexiaBulletSign = 102, //钢铁侠技能子弹标记 energe = 50701, //卡牌能量灌注 lightLine = 50901, //闪链电特效 } //缩放类型 export enum GAME_SCALE_TYPE { spine = 0, //spine比例 skillHit, //命中自身技能比例 } //缩放类型 export enum ROLE_HEIGHT_TYPE { foot = 1, //脚底 center, //中心 head, //头部 } export enum ANI_TYPE { frameAni = 1, action, shader, } //受击特效类型 export enum HIT_ANI_TYPE { role = 0, floor, } //----------------战斗----------------- export enum Language { en = 'en', zh = 'zh', } export enum ENTRY { HP = 1, //血量 attack, //物理攻击 spellAttack, //法术攻击 defense, //物理防御 spellDefense, //法术防御 attackCrit, //暴击率 critNum, //暴击伤害 hit, //命中 dodge, //闪避, attackSpeed, //攻速 moveSpeed, //移速 realAttack, //真实攻击 addRoleHP, //增加单体生命值 单角色+ talAddHP, //天赋提供的生命值 所有角色+(普通天赋激活的生命值*万分比) talAddattack, // 天赋提供的攻击力 所有角色+(普通天赋激活的攻击力*万分比)= talAddspellAttack, // 天赋提供的法术攻击 所有角色+(普通天赋激活的法术攻击*万分比) talAdddefense, // 天赋提供的防御 所有角色+(普通天赋激活的防御*万分比) talAddspellDefense, // 天赋提供的法术防御 所有角色+(普通天赋激活的法术防御*万分比) equipAddAttack, // 装备基础攻击力 当前装备+(装备提供的攻击力*万分比) talAddAllDefense, // +法术防御和物理防御 HPRate, //血量 单角色+万分比 attackRate, //物理攻击 单角色+万分比 spellAttackRate, //法术攻击 单角色+万分比 defenseRate, //物理防御 单角色+万分比 spellDefenseRate, //法术防御 单角色+万分比 attackCritRate, //暴击率 单角色+万分比 critNumRate, //暴击伤害 单角色+万分比 hitRate, //命中 单角色+万分比 dodgeRate, //闪避, 单角色+万分比 attackSpeedRate, //攻速 单角色+万分比 moveSpeedRate, //移速 单角色+万分比 realAttackRate, //真实攻击 单角色+万分比 ignoreDefense = 50, //忽略防御 hurt2HP, //普攻伤害转化生命值 addHealing, //治疗效果提升 addBabyHP, //召唤物生命值 skillHurtRate, //加技能伤害倍率 skillCD, //技能冷却CD createBackCost, //召唤返费 hurtRebound, //受伤反弹 hurtReduce, //受伤减少固定值 大于0的值 healing2Shield, //受治疗溢出转化护盾 startShieldHP, //出场自带生命护盾 boosHurt, //对精英/首领伤害 moreThanHPAttr, //血量>提高属性 belowHPAttr, //血量<提高属性 skillRestoreHP, //释放技能回复生命 delayReduce, //受控时间减少 delayAdd, //控制时间延长 startCostAdd, //战斗初始费点增加 addBabyAttack, //召唤物物理法术攻击力 healingMore, //受到治疗效果增加 textShow = 1000, //文本显示 } export enum LANGUAGE_TYPE { none = '', HP = 't1001', //血量 attack = 't1002', //物理攻击 defense = 't1003', //法术防御 spellAttack = 't1004', //法术攻击 spellDefense = 't1005', //法术防御 attackCrit = 't1006', //暴击 critNum = 't1007', //暴击伤害 hit = 't1008', //命中 dodge = 't1009', //闪避 attackSpeed = 't1010', //攻击速度 moveSpeed = 't1011', //移速 realAttack = 't1012', //真实攻击 attackRange = 't1013', //攻击范围 attackCD = 't1014', //攻击CD warrior = 't1051', //战士 mage = 't1052', //法师 assassin = 't1053', //刺客 archer = 't1054', //射手 normal = 't1081', //普通 excellent = 't1082', //优秀 rare = 't1083', //稀有 elite = 't1084', //精英 legend = 't1085', //传奇 mythology = 't1086', //神话 weapons = 't1111', //武器 jewelry = 't1112', //饰品 bracers = 't1113', //腰带 clothes = 't1114', //衣服 belt = 't1115', //裤子 pants = 't1116', //鞋子 heroIsUpReset = 't801', //当前英雄处于上阵中,是否继续重置该英雄? equipIsUpReset = 't802', //当前装备穿戴在英雄身上,是否继续重置该装备? dailyDeposit = 't505', //充值 payFailed = 't507', //支付失败 payCancel = 't507', //支付取消 buildingMaterials = 't509', //建筑材料 activityLevel = 't302', //战令活动等级 copySuccess = 't307', //复制成功 buyHeroTokenExp = 't318', //是否花费钻石购买战勋经验立即解锁奖励 castle = 't326', //城堡 loggingYard = 't327', //木场 goldMine = 't328', //金矿 farm = 't329', //农场 mine = 't330', //铁矿 maxInputLimit = 't333', //输入字符过多 minInputLimit = 't334', //输入字符过少 successfully = 't341', //修改成功 specificSymbol = 't342', //不能输入特殊字符 summoning = 't346', //英雄召唤 forging = 't347', //装备锻造 commonHero = 't356', //普通英雄 excellentHero = 't357', //优秀英雄 rareHero = 't358', //稀有英雄 eliteHero = 't359', //精英英雄 skillFragment = 't361', //综合概率 commonEquip = 't363', //普通装备 excellentEquip = 't364', //优秀装备 rareEquip = 't365', //精良装备 eliteEquip = 't366', //稀有装备 legendaryEquip = 't367', //传说装备 tokenLevelMax = 't368', //战令等级提升至最高 onlyEliteBattlefield = 't377', //只可上阵精英级以上的英雄角色 onlyReplaceHero = 't378', //只能置换精英级以上的英雄 notOwnedHero = 't379', //当前未拥有可以上阵的精英级英雄 clearCD = 't382', //清除CD notOwnedQualityHero = 't385', //未拥有对应品级的英雄 exchangeSuccess = 't387', //置换成功 notOwnedQualityEquip = 't388', //未拥有对应品级的装备 onlyReplaceEquip = 't389', //置换成功 shortageMaterial = 't390', //置换材料不足 purchased = 't393', //已购买 notReset = 't395', //在祭坛中、不能重置 limitedNum = 't399', //限制#0次 changeNameCD = 't400', //修改昵称冷却中 autoBreakTip = 't37', //自动突破精英以下品质的角色 needBreakTip = 't44', //需要#0个#2 remain = 't406', //剩余时间\n all = 't62', //全部 confirm = 't52', //确定 unlockLastTalent = 't76', //请解锁前置天赋 lvUnlock = 't23', //等级#0解锁 levelStage = 't416', //等级#0(关卡)#1 lvOpen = 't77', //队伍等级#0开启 waveFightTip = 't79', //一大波怪物来袭 bossFightTip = 't80', //boss来袭 whichDay = 't415', //第几天 free = 't422', //免费 days = 't423', //天 hour = 't424', //小时 min = 't425', //分钟 purchaseStamina = 't419', //购买体力 purchaseCoins = 't427', //购买金币 lvMax = 't82', //等级上限 teamLevel = 't428', //队伍等级#0开启#1 normalBarrier = 't429', //通关#0开启#1 createRoleDay = 't430', //第#0天开启#1 dailyGift = 't624', //每日礼包 weeklyGift = 't625', //每周礼包 noviceGift = 't626', //新手礼包 dailyPurchase = 't433', //每日购买 weeklyPurchase = 't439', //每周购买 novicePurchase = 't440', //新手购买 soldOut = 't434', //售尽 readyBuyTime = 't437', //有余次购买次数 noBuyTime = 't438', //没有购买次数 resetTimes = 't107', //重置次数 resetTime = 't87', //重置时间 relicLevel = 't115', //遗迹关卡 d = 't117', //天 h = 't118', //时 m = 't119', //分 s = 't120', //秒 dailyCoin = 't126', //日常金币 dailyExp = 't127', //日常经验 dailyCard = 't128', //日常卡牌技能经验 loading = 't131', //加载中 connectServer = 't132', //连接服务器中 loadingNum = 't133', //载入中......#0 hotUpdate = 't134', //资源更新中... netCut = 't136', //网络请求超时\,请您检测网络状况重新登陆 preCompletion = 't124', //通关上一难度解锁 received = 't392', //收到(奖励) growthInfo = 't1800', //队伍等级达到#0级 adventureInfo = 't1801', //通关主线关卡[#0] eliteInfo = 't1802', //通关精英关卡[#0] forgeInfo = 't453', //锻造#0次 summonInfo = 't454', //召唤#0次 sureResetRelic = 't138', //是否重置当前遗迹进度? relicResetCD = 't139', //遗迹探索CD冷却中,无法重置! relicMaxLayer = 't141', //当前已是最高层 isVacant = 't418', //虚位以待 freeHas = 't420', //拥有免费次数(体力&金币) purchaseHas = 't421', //拥有购买次数(体力&金币) freeDone = 't455', //免费次数用尽(体力&金币) purchaseDone = 't456', //购买次数用尽(体力&金币) notOpen = 't149', //暂未开放 agreeTip = 't150', //请勾选同意用户协议和隐私政策 rules = 't109', //规则 userAgreement = 't151', //用户协议 policy = 't152', //隐私政策 agreementContent = 't4100', //用户协议内容 policyContent = 't4101', //隐私政策内容 loginIng = 't153', //正在登录中 killBaseTip = 't154', //摧毁敌方基地 bossTip = 't155', //击败BOSS并且摧毁地方基地 autoBreakEquipTip = 't156', //自动突破精英以下品质的装备 serverConnect = 't157', //服务器链接成功 serverCut = 't158', //服务器链接断开 httpFail = 't159', //链接失败,请检查网络重试:#0 httpTimeout = 't160', //网络请求超时,请检查联网状态后重试 needUpgrade = 't161', //需要升级 updating = 't162', //正在更新中,请耐心等待 updateFail = 't163', //热更新失败 materialsLimit = 't164', //材料达到上限 materialsNeed = 't165', //材料不足,无法突破 professionEquip = 't166', //当前英雄职业无法穿戴该装备! slotLock = 't167', //当前槽位未解锁 sameRoleOrCard = 't168', //不能上阵两个同名卡 samePos = 't169', //不能重复上阵 costAdd = 't170', //能量点+ materialsLvUp = 't171', //当前材料已升级,是否继续合成? maxLevel = 'e101303', //等级达到上限,提升队伍等级或突破进阶可提升等级上限! maxStar = 'e101300', //达到最大突破等级 needGoods = 'e101203', //道具不足 on = 't516', //开 off = 't517', //关 magicBullet = 't512', //魔法炮弹 buildingLv = 't515', //建筑等级#0解锁 magicMaxLv = 't518', //魔法等级不能超过队伍等级 explore = 't520', //#0探索 canReceive = 't524', //可领取 gotoUpgrade = 't530', //前往升级 buildRule = 't506', //建筑规则 castleSkillRule = 't531', //城堡技能规则 exploreRule = 't532', //探索规则 notExploreTimes = 't533', //探索次数不足 rechargeCD = 't539', //充能CD rechargeNum = 't540', //充能数量 inRecharge = 't542', //魔法炮弹充能中... chooseServer = 't549', //请选择服务器 serverMaintenance = 't550', //服务器维护中 explain = 't226', //说明 specialEnemy = 't551', //特殊敌人 star = 't552', //星 upRole = 't553', //请前往队伍界面上阵英雄 adNotInit = 't555', //广告正在初始化... adLoading = 't556', //广告正在准备中... rank = 't561', //第#0名 } export enum TIMESTAMP_TYPE { day = 86400, //一天的秒数 hour = 3600, //一小时的秒数 minute = 60, //一分钟的秒数 } export enum DIS_ID { fatigue = 1, //体力 maxLv = 2, //data1:建筑存储资源时间(单位/H) data2:账号创建时获得初始资源奖励ID data3:版本当前最大等级上限(队伍等级) data3:战斗加多少秒能量点 heroSlot = 3, //英雄槽位 cardSlot = 4, //卡牌技能槽位 heroQuality = 5, //英雄阶级 freeStamina = 7, //免费体力 buyStamina = 8, //购买体力 freeCoin = 9, //免费金币 buyCoin = 10, //购买金币 gameSpeed = 11, //游戏加速 heroToken = 12, //活动战令是否开启等 heroTokenData = 13, //活动战令消耗数据等 normalSummon = 14, //普通召唤 rareSummon = 15, //高级召唤 equipSummon = 16, //装备锻造 adFreeTime = 19, //广告冷却时间 language = 21, //多语言 relicTime = 22, //遗迹战令 relicCost = 24, //遗迹费点 altar = 34, //祭坛 altarHero = 35, //祭坛英雄数据 altarEquip = 36, //祭坛装备数据 altarHeroMax = 37, //祭坛英雄免费置换次数 altarEquipMax = 38, //祭坛装备免费置换次数 dailyIns = 45, //日常副本 onlineIdx1 = 49, //在线奖励挡位1 onlineIdx2 = 50, //在线奖励挡位2 onlineIdx3 = 51, //在线奖励挡位3 onlineIdx4 = 52, //在线奖励挡位4 onlineIdx5 = 53, //在线奖励挡位5 onlineIdx6 = 54, //在线奖励挡位6 castleSkill = 57, //城堡技能 explore = 58, //探索 exploreSlot = 59, //探索槽位 launchLottery = 71, //开服宝藏 thousandSign = 73, //千抽计费 } export enum PREFAB_TYPE { goods = 'goods', //道具 游戏内所有物品包括货币英雄卡牌道具 card = 'card', //技能卡牌 cardDebris = 'cardDebris', //技能卡牌碎片 role = 'role', //英雄 equip = 'equip', //装备 } export enum CONDITION_FUNC { none, //无条件 teamLevel, //队伍等级 normalBarrier, //主线关卡通关数 createRoleDay, //创建角色天数 eliteBarrier, //精英关卡通关数 } export enum STATE { undo, //未完成 ready, //完成未领取 done, //完成已领取 } export enum MOD { daily = 1001, //日常 events = 1002, //活动 challenge = 1003, //挑战 elite = 2001, //精英关卡 dailyStore = 2002, //每日商店 relicStore = 2003, //遗迹商店 equipGet = 2004, //装备锻造 giftStore = 2005, //礼包商店 dailyGift = 2006, //每日礼包 weekGift = 2007, //每周礼包 noviceGift = 2008, //新手礼包 resourceStore = 2009, //钻石商店 chapterGift = 2010, //章节礼包 privilegeCard = 2011, //特权卡 gameADCost = 2012, //游戏看广告加能量点 doubleADGameReward = 2013, //双倍结算广告奖励 castleSkill = 2014, //主城魔法炮弹 explore = 2015, //探索 speedGame = 2016, //战斗加速 levelGift = 2017, //等级礼包 fatigueBuy = 3000, //体力购买 moneyBuy = 3001, //金币购买 advancedCharge = 3002, //进阶首充 luxuryCharge = 3003, //豪华首充 } export type MOD_UI = MOD | UI export enum RELIC_EVENT { normal = 1, //普通关卡 elite, //精英关卡 defense, //驻军关卡 swipe, //许愿池-事件 gemBox, //钻石宝箱-事件 randomBox, //随机宝箱-事件 boss, //守关boss关卡 } export enum RELIC_EVENT_NTY { fight = 2, swipe = 3, buff = 4, } export enum DIFF_LEVEL { normal = 't98', //普通 hard = 't99', //困难 elite = 't100', //精英 master = 't101', //大师 epic = 't102', //史诗 nightmare = 't103', //噩梦 } export enum SPEND_TYPE { adFree, //广告免费 recharge, //计费点 resource, //资源消耗 } export enum LIMIT_TYPE { free, //不限购 daily, //每日限购 weekly, //每周限购 } export enum SHOP_TYPE { gift = 1, //礼包 daily, //每日 resource, //资源 relic, //积分 } export enum HERO_TOKEN_TYPE { braveToken = 0, //勇者令 strongToken = 1, //强者令 kingToken = 2, //王者令 } export enum GIFT_ID { strongToken = 50001, //强者令礼包 kingToken = 50002, //王者令礼包 normalCharge = 50045, //普通首充 advancedCharge = 50046, //进阶首充 luxuryCharge = 50047, //豪华首充 relicToken = 50050, //遗迹高级礼包 } //活动类型 export enum ACTIVITY_TYPE { chapterGift = 2010, //冒险礼包 adCard = 2012, //广告卡 monthlyCard = 2013, //月卡 supremeCard = 2014, //至尊卡 dailyRecharge = 2015, //连续充值 levelGift = 2017, //等级礼包 normalCharge = 54, //普通首充 advancedCharge = 3002, //进阶首充 luxuryCharge = 3003, //豪华首充 growthFund = 3006, //成长基金 adventureFund = 3007, //冒险基金 eliteFund = 3008, //精英基金 summonFund = 3009, //召唤基金 forgeFund = 3010, //锻造基金 heroRank = 4001, //英雄排名 stageRank = 4002, //闯关排名 powerRank = 4003, //战力排名 eliteRank = 4004, //精英排名 launchLottery = 4005, //开服宝藏 } //抽奖类型 export enum RECRUIT_TYPE { //列表类型 summoning = 0, //英雄抽卡 forging = 1, //武器鍛造 } export enum BASIC_NUMBER { //基数转换 convertNum100 = 100, //用于金钱额度的除数 } //说明引导类型 export enum GUIDE_TYPE { game = 201, //战斗 build, //建筑 winType, //胜利条件 monster, //特殊怪物 } export enum LOGIN_TYPE { test = 0, //测试 guest = 1, //游客 facebook = 2, //facebook google = 3, //google } //广告位ID export enum AD_ID { gold = 99900, //看广告购买金币 tili, //购买体力 energy, //战斗看广告恢复能量 dailyshop, //每日商店看广告购买商品 dailygift, //每日礼包商店看广告商品 weeklygift, //每周礼包商店看广告商品 summoning, //英雄召唤看广告 forging, //装备锻造看广告 coincopy, //金币每日副本看广告 expcopy, //经验每日副本看广告 skillcopy, //技能每日副本看广告 firstpass, //关卡首通双倍看广告 gamespeed, //游戏速度双倍看广告 } export enum CHANNEL { none = '', googleplay = 'googleplay', //谷歌商店 yfy = 'yfy', //云飞扬 } export enum TASK_TYPE { daily = 1, //日常 weekly, //周常 achievement, //成就 mainQuest, //主线任务 } export enum SERVER_STATE { maintenance = 0, //维护 hot, //火爆 newServer, //新服 } export enum RankType { stageRanking = 1, powerRanking, heroRanking, eliteRanking, } export enum Ranking { first, second, third, }