@haelp/teto
Version:
A typescript-based controllable TETR.IO client.
49 lines • 1.41 kB
TypeScript
import { Mino, type SpinType } from "../..";
export declare const garbageData: {
readonly single: 0;
readonly double: 1;
readonly triple: 2;
readonly quad: 4;
readonly penta: 5;
readonly tspinMini: 0;
readonly tspin: 0;
readonly tspinMiniSingle: 0;
readonly tspinSingle: 2;
readonly tspinMiniDouble: 1;
readonly tspinMiniTriple: 2;
readonly tspinDouble: 4;
readonly tspinTriple: 6;
readonly tspinQuad: 10;
readonly tspinPenta: 12;
readonly backtobackBonus: 1;
readonly backtobackBonusLog: 0.8;
readonly comboMinifier: 1;
readonly comboMinifierLog: 1.25;
readonly comboBonus: 0.25;
readonly allClear: 10;
readonly comboTable: {
readonly none: readonly [0];
readonly "classic guideline": readonly [0, 1, 1, 2, 2, 3, 3, 4, 4, 4, 5];
readonly "modern guideline": readonly [0, 1, 1, 2, 2, 2, 3, 3, 3, 3, 3, 3, 4];
};
};
export declare const garbageCalcV2: (data: {
lines: number;
spin?: SpinType;
piece: Mino;
b2b: number;
combo: number;
enemies: number;
}, config: {
spinBonuses: string;
comboTable: keyof (typeof garbageData)["comboTable"] | "multiplier";
garbageTargetBonus: "none" | "normal" | string;
b2b: {
chaining: boolean;
charging: boolean;
};
}) => {
garbage: number;
bonus: number;
};
//# sourceMappingURL=index.d.ts.map