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/AiMatchPlayerBuffCounts.ts

25 lines
635 B

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