"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ScarletSkull = void 0;
const reference_data_1 = require("@firestone-hs/reference-data");
const utils_1 = require("../../../utils");
exports.ScarletSkull = {
    cardIds: ["BG25_022", "BG25_022_G"],
    deathrattleEffect: (deadEntity, input) => {
        const { boardWithDeadEntity, boardWithDeadEntityHero, otherBoardHero, gameState } = input;
        const scarletMultiplier = deadEntity.cardId === "BG25_022_G" ? 2 : 1;
        const scarletTarget = (0, utils_1.grantRandomStats)(deadEntity, boardWithDeadEntity, boardWithDeadEntityHero, scarletMultiplier * 1, scarletMultiplier * 2, reference_data_1.Race.UNDEAD, false, gameState);
        if (!!scarletTarget) {
            gameState.spectator.registerPowerTarget(deadEntity, scarletTarget, boardWithDeadEntity, boardWithDeadEntityHero, otherBoardHero);
        }
    },
};
//# sourceMappingURL=scarlet-skull.js.map