You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
558 lines
18 KiB
558 lines
18 KiB
declare global {
|
|
/**
|
|
* Const 配置数据
|
|
*/
|
|
interface ITableConst {
|
|
/** id */
|
|
readonly id: number;
|
|
/** 描述 */
|
|
readonly desc: string;
|
|
/** 浮点参数 */
|
|
readonly para: number;
|
|
/** 其他格式参数 */
|
|
readonly para1: string;
|
|
}
|
|
/**
|
|
* Rank 配置数据
|
|
*/
|
|
interface ITableRank {
|
|
/** id */
|
|
readonly id: number;
|
|
/** 段位名称 */
|
|
readonly name: string;
|
|
/** 段位图标 */
|
|
readonly icon: string;
|
|
/** 星级 */
|
|
readonly level: number[];
|
|
/** 每日奖励 */
|
|
readonly reward: string;
|
|
/** 等级加值 */
|
|
readonly levelvalue: number;
|
|
/** 难度加值 */
|
|
readonly diffcult: number;
|
|
/** 装备掉落概率加值,万分比 */
|
|
readonly weapondrop: number;
|
|
/** ai武将装备品质
|
|
白,绿,蓝,紫,橙 */
|
|
readonly aiweapon: string;
|
|
/** ai广告使用几率 */
|
|
readonly aiusead: number;
|
|
/** 类型1权重,类型2权重,类型3权重
|
|
类型1:随机场上可铲地块
|
|
类型2:逐步扩张类型,优先已铲开的相邻地块
|
|
类型3:优先与路径相邻地块 */
|
|
readonly aiusechanzi: number[];
|
|
/** 类型1权重,类型2权重
|
|
类型1:等级优先,保留等级高的单位
|
|
类型2:单字优先,单字未达到最高等级时,优先保留最高等级文字相同文字,替换其他文字,从等级低开始替换 */
|
|
readonly aiusetext: number[];
|
|
}
|
|
/**
|
|
* Daily_Rank 配置数据
|
|
*/
|
|
interface ITableDaily_Rank {
|
|
/** id */
|
|
readonly id: number;
|
|
/** 排名区间 */
|
|
readonly rank: number[];
|
|
/** 段位奖励 */
|
|
readonly reward_rank: string;
|
|
}
|
|
/**
|
|
* Item 配置数据
|
|
*/
|
|
interface ITableItem {
|
|
/** id */
|
|
readonly id: number;
|
|
/** 名称 */
|
|
readonly name: string;
|
|
/** 描述 */
|
|
readonly desc: string;
|
|
/** 图标 */
|
|
readonly icon: string;
|
|
/** 类型
|
|
1、货币
|
|
2、武器碎片
|
|
3、宝石 */
|
|
readonly type: number;
|
|
/** 武器品质
|
|
0、白色
|
|
1、绿色
|
|
2、蓝色
|
|
3、紫色
|
|
4、橙色 */
|
|
readonly quality: number;
|
|
/** 参数 */
|
|
readonly para: string;
|
|
/** 出售价格 */
|
|
readonly price: number;
|
|
}
|
|
/**
|
|
* Weapon 配置数据
|
|
*/
|
|
interface ITableWeapon {
|
|
/** id */
|
|
readonly id: number;
|
|
/** 武器名称 */
|
|
readonly name: string;
|
|
/** 描述 */
|
|
readonly desc: string;
|
|
/** 图标 */
|
|
readonly icon: string;
|
|
/** 皮肤资源 */
|
|
readonly skin: string;
|
|
/** 类型
|
|
1、通用
|
|
2、金
|
|
3、木
|
|
4、水
|
|
5、火
|
|
6、土 */
|
|
readonly type: number;
|
|
/** 武器品质
|
|
0、白色
|
|
1、绿色
|
|
2、蓝色
|
|
3、紫色
|
|
4、橙色
|
|
5、红色 */
|
|
readonly quality: number;
|
|
/** 碎片id */
|
|
readonly itemid: number;
|
|
/** 合成消耗碎片数量 */
|
|
readonly synthesisnumber: number;
|
|
/** 合成道具 */
|
|
readonly synthesisitem: number[];
|
|
/** 属性加成:类型,参数
|
|
类型1:攻击万分比
|
|
类型2:暴击万分比
|
|
类型3:暴击伤害万分比
|
|
类型4:攻速万分比
|
|
类型5:伤害加成万分比 */
|
|
readonly attritubes: string;
|
|
/** 攻击力 */
|
|
readonly atk: number;
|
|
/** 技能id */
|
|
readonly act_skill: number;
|
|
}
|
|
/**
|
|
* Hero 配置数据
|
|
*/
|
|
interface ITableHero {
|
|
/** id */
|
|
readonly id: number;
|
|
/** 武器名称 */
|
|
readonly name: string;
|
|
/** 1、近战
|
|
2、远程 */
|
|
readonly type: number;
|
|
/** 英雄类型
|
|
1、金
|
|
2、木
|
|
3、水
|
|
4、火
|
|
5、土 */
|
|
readonly herotype: number;
|
|
/** 品质
|
|
1、绿色
|
|
2、蓝色
|
|
3、紫色
|
|
4、橙色 */
|
|
readonly quality: number;
|
|
/** 图标 */
|
|
readonly icon: string;
|
|
/** 资源 */
|
|
readonly res: string;
|
|
/** 数字 */
|
|
readonly number: number;
|
|
/** 等级 */
|
|
readonly level: number;
|
|
/** 攻击力
|
|
实际攻击力=攻击力+武器攻击力 */
|
|
readonly atk: number;
|
|
/** 射程 */
|
|
readonly atk_range: number;
|
|
/** 体积 */
|
|
readonly size: number;
|
|
/** 暴击率 */
|
|
readonly critical_chance: number;
|
|
/** 暴击伤害 */
|
|
readonly critical_dam: number;
|
|
/** 普攻id */
|
|
readonly atk_id: number[];
|
|
}
|
|
/**
|
|
* Headicon 配置数据
|
|
*/
|
|
interface ITableHeadicon {
|
|
/** id */
|
|
readonly id: number;
|
|
/** 名称 */
|
|
readonly name: string;
|
|
/** 描述 */
|
|
readonly desc: string;
|
|
/** 图标 */
|
|
readonly icon: string;
|
|
/** 解锁条件 */
|
|
readonly unlocktype: number;
|
|
/** 参数 */
|
|
readonly para: string;
|
|
}
|
|
/**
|
|
* Level 配置数据
|
|
*/
|
|
interface ITableLevel {
|
|
/** id */
|
|
readonly id: number;
|
|
/** 关卡名称 */
|
|
readonly name: string;
|
|
/** 描述 */
|
|
readonly desc: string;
|
|
/** 地图资源 */
|
|
readonly map: string;
|
|
/** 初始桃子数量 */
|
|
readonly startnumber: string;
|
|
/** 难度组 */
|
|
readonly diffcult: string;
|
|
/** 宝石id,权重|宝石id,权重...... */
|
|
readonly expdrop: string;
|
|
/** 关卡成功奖励 */
|
|
readonly reward: string;
|
|
/** 关卡失败奖励 */
|
|
readonly loserreward: string;
|
|
/** 怪物
|
|
波次,怪物id,数量,间隔时间 */
|
|
readonly monster: string;
|
|
/** boss */
|
|
readonly boss: string;
|
|
/** boss出现几率 */
|
|
readonly bosspro: string;
|
|
/** 解锁地块条件(等级需要计算段位加值)
|
|
属性类型(0为所有类型都可以),等级,权重|属性类型,等级,权重 */
|
|
readonly unlockland1: string;
|
|
/** 解锁地块条件(等级需要计算段位加值)
|
|
属性类型(0为所有类型都可以),等级,权重|属性类型,等级,权重 */
|
|
readonly unlockland2: string;
|
|
/** 解锁地块条件(等级需要计算段位加值)
|
|
属性类型(0为所有类型都可以),等级,权重|属性类型,等级,权重 */
|
|
readonly unlockland3: string;
|
|
/** 解锁地块条件(等级需要计算段位加值)
|
|
属性类型(0为所有类型都可以),等级,权重|属性类型,等级,权重 */
|
|
readonly unlockland4: string;
|
|
/** 解锁地块条件(等级需要计算段位加值)
|
|
属性类型(0为所有类型都可以),等级,权重|属性类型,等级,权重 */
|
|
readonly unlockland5: string;
|
|
/** 解锁地块条件(等级需要计算段位加值)
|
|
属性类型(0为所有类型都可以),等级,权重|属性类型,等级,权重 */
|
|
readonly unlockland6: string;
|
|
/** 解锁地块条件(等级需要计算段位加值)
|
|
属性类型(0为所有类型都可以),等级,权重|属性类型,等级,权重 */
|
|
readonly unlockland7: string;
|
|
/** 解锁地块条件(等级需要计算段位加值)
|
|
属性类型(0为所有类型都可以),等级,权重|属性类型,等级,权重 */
|
|
readonly unlockland8: string;
|
|
/** 解锁地块条件(等级需要计算段位加值)
|
|
属性类型(0为所有类型都可以),等级,权重|属性类型,等级,权重 */
|
|
readonly unlockland9: string;
|
|
/** 解锁地块条件(等级需要计算段位加值)
|
|
属性类型(0为所有类型都可以),等级,权重|属性类型,等级,权重 */
|
|
readonly unlockland10: string;
|
|
/** 解锁地块条件(等级需要计算段位加值)
|
|
属性类型(0为所有类型都可以),等级,权重|属性类型,等级,权重 */
|
|
readonly unlockland11: string;
|
|
/** 默认打开格子 */
|
|
readonly normalland: number[];
|
|
/** 待解锁格子 */
|
|
readonly tolockland: number[];
|
|
}
|
|
/**
|
|
* Text 配置数据
|
|
*/
|
|
interface ITableText {
|
|
/** id */
|
|
readonly id: number;
|
|
/** 1、金
|
|
2、木
|
|
3、水
|
|
4、火
|
|
5、土 */
|
|
readonly type: number;
|
|
/** 等级 */
|
|
readonly level: number;
|
|
/** 权重 */
|
|
readonly weight: number;
|
|
}
|
|
/**
|
|
* Skill 配置数据
|
|
*/
|
|
interface ITableSkill {
|
|
/** id */
|
|
readonly id: number;
|
|
/** 名称 */
|
|
readonly name: string;
|
|
/** 描述 */
|
|
readonly desc: string;
|
|
/** 图标 */
|
|
readonly icon: string;
|
|
/** 1、主动
|
|
2、被动(无需释放,默认生效,触发后进入冷却) */
|
|
readonly type: number;
|
|
/** 等级 */
|
|
readonly level: number;
|
|
/** cd */
|
|
readonly cd: number;
|
|
/** 优先级 */
|
|
readonly priority: number;
|
|
/** 动画名 */
|
|
readonly animation: string;
|
|
/** 额外表演动效名
|
|
出现时间,资源名 */
|
|
readonly showeffect: string;
|
|
/** 索敌目标
|
|
1、敌方
|
|
2、友军
|
|
3、自身 */
|
|
readonly target_stage: number;
|
|
/** 释放范围
|
|
不配置默认使用角色自身射程 */
|
|
readonly range: number;
|
|
/** 攻击类型:
|
|
1、单体
|
|
2、直线矩形范围
|
|
3、360°范围
|
|
4、抛物线投射
|
|
5、直线范围多段
|
|
6、目标扇形范围
|
|
7、全屏
|
|
8、召唤
|
|
9、全屏指定将
|
|
10、连续多个单体
|
|
11、随等级召唤
|
|
12、穿透散射箭
|
|
13、连发箭
|
|
14、360°范围多段伤害
|
|
15、目标圆形范围
|
|
16、扇形多段
|
|
17、不穿透散射箭
|
|
18、目标圆形范围多段
|
|
19、全屏直线弹道
|
|
20、目标圆形范围多段 */
|
|
readonly atk_type: string;
|
|
/** 普攻投射物 */
|
|
readonly fly: string;
|
|
/** 根据类型(atk_type字段配置)决定参数
|
|
1、伤害系数(万分比)
|
|
2、宽,伤害系数(万分比)
|
|
3、伤害系数(万分比)
|
|
4、伤害系数(万分比)
|
|
5、宽,段数间隔,总段数,伤害系数(万分比)
|
|
6、角度,伤害系数
|
|
7、最大目标数量,伤害系数
|
|
8、召唤怪物id(-1为当前波次小怪id),数量,间隔,出怪类型(1,营地出现;2,自身周围出现)
|
|
9、将id,数量,伤害系数
|
|
10、最大数量,间隔时间,伤害系数
|
|
11、召唤怪物id(-1为当前波次小怪id),数量
|
|
12、散射箭数量,角度,伤害系数
|
|
13、连发数量,间隔时间,伤害系数
|
|
14、伤害段数,伤害间隔,伤害系数
|
|
15、半径,伤害系数
|
|
16、伤害段数,伤害间隔,角度,伤害系数
|
|
17、散射箭数量,角度,伤害系数
|
|
18、伤害段数,伤害间隔,半径,伤害系数
|
|
19、数量,伤害系数
|
|
20、伤害段数,伤害间隔,半径,伤害系数 */
|
|
readonly atk_para: string;
|
|
/** 命中后效果:buff类型,参数
|
|
1、眩晕,参数:概率,眩晕时长
|
|
2、击退,参数:概率,击退距离
|
|
3、移速,参数:概率,移速加成,持续时间
|
|
4、血量上限,参数:概率,上限系数
|
|
5、添加桃子,参数:数量
|
|
6、提升攻速,参数:概率,攻速加成,持续时间
|
|
7、降低等级,参数:概率,降低等级幅度,持续时间
|
|
8、混乱,参数:概率,混乱时长
|
|
9、改变地块状态,参数:无
|
|
10、恢复血量,参数:回血比例(最大满血)
|
|
11、攻击距离增加,参数:距离加值,持续时间(-1为本场永久生效)
|
|
12、损毁基础字,参数:概率
|
|
13、冰冻,参数:概率,冰冻时间
|
|
14、点燃,参数:伤害间隔,伤害系数,持续时间 */
|
|
readonly atk_buff1: string;
|
|
/** 命中后效果:buff类型,参数
|
|
1、眩晕,参数:概率,眩晕时长
|
|
2、击退,参数:概率,击退距离
|
|
3、移速,参数:概率,移速加成,持续时间
|
|
4、血量上限,参数:概率,上限系数
|
|
5、添加桃子,参数:数量
|
|
6、提升攻速,参数:概率,攻速加成,持续时间
|
|
7、降低等级,参数:概率,降低等级幅度
|
|
8、混乱,参数:概率,混乱时长
|
|
9、改变地块状态,参数:无
|
|
10、恢复血量,参数:回血比例(最大满血) */
|
|
readonly atk_buff2: string;
|
|
/** 额外效果
|
|
1、哪吒效果:吒字飞出去,反向穿透冲锋,对沿途怪物造成伤害,参数:冲锋速度,持续时间,伤害系数
|
|
2、万箭齐发:对每个移动格子发射箭矢,造成伤害,参数:发射间隔,每格发射数量,伤害系数
|
|
3、额外给友军加速,加速系数,加速时间
|
|
4、额外给友军增加血量,加血比例
|
|
5、吞噬,最大数量,每个额外加成
|
|
6、法相天地,缩放比例,攻击力增强系数,攻击力增加时间,缩放比例,攻击力减少系数,攻击力减小时间
|
|
7、挑飞砸下造成圆形范围伤害,参数:圆形半径,伤害系数,眩晕时间
|
|
8、每距离多40伤害+10%,参数:距离系数,伤害加值,最大加值
|
|
9、干扰迷雾:参数:显示时间(秒)
|
|
10、基于自身为圆心的额外龙影攻击,参数:起始角度,数量,间隔时间(受冷却缩减影响),飞行速度,飞行时间,伤害系数
|
|
11、额外增加一次伤害,参数:伤害间隔,伤害系数,命中效果类型,对应参数 */
|
|
readonly skill: string;
|
|
/** 被动触发条件
|
|
类型,参数
|
|
类型1:造成伤害触发,参数:触发概率
|
|
类型2:默认生效,参数:无
|
|
类型3:攻击同一单位,参数:无
|
|
类型4:首次攻击某单位,参数:无
|
|
类型5:击杀,参数:触发概率
|
|
类型6:技能释放次数,参数:次数 */
|
|
readonly condition: string;
|
|
/** 被动触发结果
|
|
类型,参数
|
|
类型1:触发剑阵,参数:剑阵半径,伤害间隔,伤害系数,持续时间
|
|
类型2:提升攻速,参数:加成比例,最大叠加次数,持续时间
|
|
类型3:提升射程,参数:倍数
|
|
类型4:击退,参数:击退距离
|
|
类型5:添加桃子,参数:数量
|
|
类型6:眩晕,参数:眩晕时长
|
|
类型7:生成爆炸火球,朝多个方向,穿透攻击,参数:最大数量(角度=360/数量),伤害系数,飞行速度,飞行时间
|
|
类型8:上毒,参数:伤害间隔,伤害系数,持续时间
|
|
类型9:一道直线火龙伤害,参数:飞行速度,伤害系数,持续时间
|
|
类型10:修改普通攻击方式,参数:攻击类型atk_type字段,对应参数atk_para字段
|
|
类型11:释放直线剑气,参数:剑气数量,间隔,伤害系数
|
|
类型12:从目标身上开始产生闪电链,蔓延多个目标(不会重复蔓延),参数:蔓延范围,蔓延数量,伤害系数
|
|
13:从目标身上分裂冰锥,参数:索敌范围(半径),分裂数量,伤害系数
|
|
14:产生爆炸:参数:爆炸圆形半径,伤害系数 */
|
|
readonly result: string;
|
|
}
|
|
/**
|
|
* Battlebuff 配置数据
|
|
*/
|
|
interface ITableBattlebuff {
|
|
/** id */
|
|
readonly id: number;
|
|
/** 武器名称 */
|
|
readonly name: string;
|
|
/** 数量限制 */
|
|
readonly limit: number;
|
|
/** 描述 */
|
|
readonly desc: string;
|
|
/** 图标 */
|
|
readonly icon: string;
|
|
/** 武器品质
|
|
1、绿色(稀有)
|
|
2、蓝色(卓越)
|
|
3、紫色(史诗)
|
|
4、橙色(传说) */
|
|
readonly quality: number;
|
|
/** 作用目标
|
|
1、金系数字
|
|
2、木系数字
|
|
3、水系数字
|
|
4、火系数字
|
|
5、土系数字
|
|
99、所有数字 */
|
|
readonly target: number;
|
|
/** 类型:参数
|
|
1、等级区间,参数:最小等级,最大等级
|
|
2、场上最大等级数,参数:数量 */
|
|
readonly targetpar: string;
|
|
/** 功能类型 */
|
|
readonly functiontype: number;
|
|
/** 功能参数 */
|
|
readonly functionpar: string;
|
|
/** 随机权重 */
|
|
readonly weight: number;
|
|
/** 购买价格 */
|
|
readonly price: number;
|
|
}
|
|
/**
|
|
* Monster 配置数据
|
|
*/
|
|
interface ITableMonster {
|
|
/** id */
|
|
readonly id: number;
|
|
/** 怪物名称 */
|
|
readonly name: string;
|
|
/** 描述 */
|
|
readonly desc: string;
|
|
/** 图标 */
|
|
readonly icon: string;
|
|
/** 怪物资源 */
|
|
readonly res: string[];
|
|
/** 类型
|
|
1、小怪
|
|
2、BOSS
|
|
3、召唤怪物 */
|
|
readonly type: number;
|
|
/** 移动速度 */
|
|
readonly speed: number;
|
|
/** 攻击距离 */
|
|
readonly atkdistance: number;
|
|
/** 体积 */
|
|
readonly size: number;
|
|
/** 血量 */
|
|
readonly hp: number;
|
|
/** 击杀经验 */
|
|
readonly exp: number;
|
|
/** 击杀桃子数量 */
|
|
readonly peach: number;
|
|
/** 装备掉落几率(万分比) */
|
|
readonly weapondrop: number;
|
|
/** 技能id */
|
|
readonly skill: number;
|
|
}
|
|
/**
|
|
* Monster1 配置数据
|
|
*/
|
|
interface ITableMonster1 {
|
|
/** id */
|
|
readonly id: number;
|
|
/** 难度0 */
|
|
readonly diffcult0: number;
|
|
/** 难度1 */
|
|
readonly diffcult1: number;
|
|
/** 难度2 */
|
|
readonly diffcult2: number;
|
|
/** 难度3 */
|
|
readonly diffcult3: number;
|
|
/** 难度4 */
|
|
readonly diffcult4: number;
|
|
/** 难度5 */
|
|
readonly diffcult5: number;
|
|
/** 难度6 */
|
|
readonly diffcult6: number;
|
|
/** 难度7 */
|
|
readonly diffcult7: number;
|
|
/** 难度8 */
|
|
readonly diffcult8: number;
|
|
/** 难度9 */
|
|
readonly diffcult9: number;
|
|
/** 难度10 */
|
|
readonly diffcult10: number;
|
|
/** 难度11 */
|
|
readonly diffcult11: number;
|
|
/** 难度12 */
|
|
readonly diffcult12: number;
|
|
/** 难度13 */
|
|
readonly diffcult13: number;
|
|
/** 难度14 */
|
|
readonly diffcult14: number;
|
|
/** 难度15 */
|
|
readonly diffcult15: number;
|
|
/** 难度16 */
|
|
readonly diffcult16: number;
|
|
/** 难度17 */
|
|
readonly diffcult17: number;
|
|
/** 难度18 */
|
|
readonly diffcult18: number;
|
|
/** 难度19 */
|
|
readonly diffcult19: number;
|
|
}
|
|
}
|
|
export { };
|
|
|