"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.SkeletalStrafer = void 0;
const stats_1 = require("../../../simulation/stats");
exports.SkeletalStrafer = {
    cardIds: ["BG35_334", "BG35_334_G"],
    baseAvengeValue: () => 2,
    avenge: (minion, _input) => {
        var _a, _b;
        const isG = minion.cardId === "BG35_334_G";
        const dAtk = isG ? 2 : 1;
        const dHp = isG ? 2 : 1;
        const baseAtk = isG ? 2 : 1;
        const baseHp = isG ? 2 : 1;
        minion.scriptDataNum1 = ((_a = minion.scriptDataNum1) !== null && _a !== void 0 ? _a : baseAtk) + dAtk;
        minion.scriptDataNum2 = ((_b = minion.scriptDataNum2) !== null && _b !== void 0 ? _b : baseHp) + dHp;
    },
    endOfTurn: (minion, input) => {
        var _a, _b;
        const isG = minion.cardId === "BG35_334_G";
        const atk = (_a = minion.scriptDataNum1) !== null && _a !== void 0 ? _a : (isG ? 2 : 1);
        const hp = (_b = minion.scriptDataNum2) !== null && _b !== void 0 ? _b : (isG ? 2 : 1);
        for (const e of input.board) {
            (0, stats_1.modifyStats)(e, minion, atk, hp, input.board, input.hero, input.gameState);
        }
        return true;
    },
};
//# sourceMappingURL=skeletal-strafer.js.map