"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.TimewarpedRedWhelp = void 0;
const attack_1 = require("../../../simulation/attack");
exports.TimewarpedRedWhelp = {
    cardIds: ["BG34_Giant_091", "BG34_Giant_091_G"],
    startOfCombatTiming: 'start-of-combat',
    startOfCombat: (minion, input) => {
        var _a;
        const mult = minion.cardId === "BG34_Giant_091_G" ? 2 : 1;
        const damage = (_a = minion.scriptDataNum1) !== null && _a !== void 0 ? _a : 2;
        const loops = 2 * mult;
        for (let i = 0; i < loops; i++) {
            (0, attack_1.dealDamageToRandomEnemy)(input.opponentBoard, input.opponentEntity, minion, damage, input.playerBoard, input.playerEntity, input.gameState);
        }
        return true;
    },
};
//# sourceMappingURL=timewarped-red-whelp.js.map