feat(共鸣系统): 新增

This commit is contained in:
zhangxk
2023-10-09 15:11:54 +08:00
parent cd87b9e74c
commit 53a0b0f340
18 changed files with 1195 additions and 14 deletions

View File

@@ -1,5 +1,6 @@
// 一些通用的interface定义
import { ResonanceConnection, ResonanceEplace, ResonanceTalent } from "../db/Resonance";
import { RougelikeCardPara } from "../db/RougelikeCard";
import { RougelikeCharaPara } from "../db/RougelikeChara";
import { RougelikeCollectionType } from "../db/RougelikeCollection";
@@ -206,4 +207,19 @@ export interface CommonReward {
export interface SlotCard {
index: number; //卡槽标记
cardCode: string; //安装的特性卡唯一code
}
export interface ReturnResonanceParam {
positon: number; // 上阵位置,从1开始(6为鸣主配系统参数表)已解锁未上阵仅有positon
hid?: number; // 武将id
seqId?: number; // 武将表自增 id
lv?: number; //武将等级
exp?: number;
jobStage?: number; // 职阶
talent?: ResonanceTalent[]; // 天赋
usedTalentPoint?: number;
totalTalentPoint?: number;
connections?: ResonanceConnection[]; // 羁绊
ePlace?: ResonanceEplace[];
ce?: number; //战力
}