"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.RecklessCliffdiver = void 0;
exports.RecklessCliffdiver = {
    cardIds: ["BG31_142", "BG31_142_G"],
    onBattlecryTriggered: (minion, input) => {
        const mult = minion.cardId === "BG31_142_G" ? 2 : 1;
        minion.attack += mult * input.hero.globalInfo.BattlecriesTriggeredThisGame;
    },
    onSpawned: (minion, input) => {
        const mult = minion.cardId === "BG31_142_G" ? 2 : 1;
        if (input.applyAttackAuras) {
            minion.attack += mult * input.hero.globalInfo.BattlecriesTriggeredThisGame;
        }
    },
    onDespawned: (minion, input) => {
        const mult = minion.cardId === "BG31_142_G" ? 2 : 1;
        if (input.applyAttackAuras) {
            minion.attack = Math.max(0, minion.attack - 2 * mult);
        }
    },
};
//# sourceMappingURL=reckless-cliffdiver.js.map