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.
 
 
 
 
AdLike2048/assets/script/battle/ai/match/AiMatchProfile.ts

23 lines
1013 B

/** 本局 AI 对手匹配档案(开战前产出,局内只读) */
export interface AiMatchProfile {
/** 玩家当前段位 id(快照,供调试/展示) */
readonly playerRankId: number;
/** 玩家当前总星(快照) */
readonly playerStars: number;
/** 对手段位 id(字池/策略配表行) */
readonly opponentRankId: number;
/** 对手总星(Const 11 偏移后 clamp) */
readonly opponentStars: number;
/** 相对玩家的星偏移 d 属于 [-5,+4] */
readonly starOffset: number;
/** AI 带入主动 buff 数量 */
readonly activeBuffCount: number;
/** AI 带入被动 buff 数量 */
readonly passiveBuffCount: number;
/** 主动 buff id 列表(需求 4.4,不重复) */
readonly activeBuffIds: readonly number[];
/** 被动 buff id 列表(需求 4.4,不重复) */
readonly passiveBuffIds: readonly number[];
/** 本局随机种子(匹配 + 局内决策共用) */
readonly seed: number;
}