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.
24 lines
635 B
24 lines
635 B
import { aiOp } from '../runtime/AiLog';
|
|
|
|
/** 匹配用:玩家当前携带主被动数量 */
|
|
export interface PlayerBuffCountsForMatch {
|
|
/** 主动数量 */
|
|
active: number;
|
|
/** 被动数量 */
|
|
passive: number;
|
|
}
|
|
|
|
/**
|
|
* 局内三选一后匹配阶段无局外携带,固定 0。
|
|
*/
|
|
export class AiMatchPlayerBuffCounts {
|
|
/**
|
|
* @param logLabel 日志前缀;空则不打
|
|
*/
|
|
static read(logLabel = '玩家携带'): PlayerBuffCountsForMatch {
|
|
if (logLabel) {
|
|
aiOp(`${logLabel} 局外商店已下线,匹配携带=0`);
|
|
}
|
|
return { active: 0, passive: 0 };
|
|
}
|
|
}
|
|
|