Blackheart's Bay

Collect doubloons and pay the ghost pirate Blackheart to turn his guns on your enemies. If you see a cannonball flying your way… run!

Map Objectives

Collect Doubloons

Attack Treasure Chests and Mercenaries to collect Doubloons.

Turn in Doubloons

Hand your Doubloons over to Blackheart or you will drop them all when you die!

Bombard your Enemies

After receiving enough Doubloons from your Team, Blackheart will bombard your Enemy's forts!

Map Guide

  • Get doubloons from chests, skeleton camps, merc camps, and enemy heroes.
  • Turn in enough at Blackheart's ship and he shoots the enemy's structures.
  • The first turn-in costs 8 doubloons. Each one after that costs 2 more.
  • If you die, you drop half your doubloons (rounded down). Anyone can pick them up.
  • You can turn in part of the cost. Your team keeps what it paid until the next bombardment.

Doubloon Collection

Chests drop 5 doubloons: some while you hit them, the rest when they break. The big skeleton camp drops 3, small skeleton camps and merc camps drop 2. A dead hero drops half of what they carried (rounded down), and either team can pick it up.

Turn-In & Escalating Cost

Turn-ins add up. You can pay part of the cost, and your team keeps that progress. You only hand over what your team still needs, so you keep any extra doubloons. When the total hits the cost, the bombardment starts. The ship can't take doubloons while it is firing.

The cost starts at 8 and goes up by 2 after each of your team's bombardments: 8, 10, 12, and so on.

Cannon Target Selection

The ship fires 12 cannonballs at enemy Structures. It hits Forts before Keeps. The Core is only a target once nothing else is left to hit.

Chest Spawns

The first round has 1 chest. Rounds 2 to 4 have 2 chests, and every round after that has 3. The next round comes 3:00 after the last chest of the current round breaks. The chest timer pauses while Blackheart is firing.

Map Cheatsheet

EventDurationSecondsSource
First Chest Spawn1:3090slibBBAY_gv_mMBBCannonballsTreasureChestFirstTimerDur_C
Chest Respawn3:00180slibBBAY_gv_mMBBCannonballsTreasureChestTimerMid_C2

Dataminer Reference

Doubloon Collection

    }

    // Actions
    if (!runActions) {
        return true;
    }

    libBBAY_gv_mMBBDoubloonsCollected[lv_player] -= (lv_count / 2);
    libBBAY_gv_mMBBDoubloonsDropped[lv_player] += (lv_count / 2);
    libBBAY_gf_MMBBCannonballsSetHeroCannonballsCount(lv_player, lv_deadHero, (lv_count - (lv_count / 2)));
    libBBAY_gf_MMBBUpdateHeldDoubloonDisplay();
    if ((lv_count <= 0)) {
        return true;
    }

    lv_spawnLocation = libGame_gf_HeroKilledLocation();
    Wait(0.25, c_timeGame);

Turn-In & Escalating Cost

        }
    }
    return lv_total;
}

void libBBAY_gf_MMBBCannonballsSubmitReqIncrease (int lp_team) {
    // Automatic Variable Declarations
    // Implementation
    libBBAY_gv_mMBBCannonballsBallsSubmitMaxCurrent[lp_team] += libBBAY_gv_mMBBCannonballsBallsSubmitMaxInc_C;
}

void libBBAY_gf_MMBBCannonballsSetHeroCannonballsCount (int lp_player, unit lp_heroUnit, int lp_count) {
    // Variable Declarations
    int lv_numCannonballs;
    int lv_itPlayer;
    unit lv_unitGroupUnit;
    int lv_tempCount;

Cannon Target Selection

    if ((UnitIsAlive(lv_townHall) == false)) {
        UnitGroupRemove(lv_buildings, UnitGroupUnit(libNtve_gf_UnitsInRegionWithAllianceToPlayerMatchingCondition(UnitTypeFromString("RagnarosBigRag"), "", "", c_playerAny, c_unitAllianceAny, libGame_gv_townTownData[lv_town].lv_townRegion, UnitFilter(0, (1 << (c_targetFilterAITargetableStructure - 32)), (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1));
        return UnitGroupRandomUnit(lv_buildings, c_unitCountAlive);
    }

    auto8F992C5C_g = lv_buildings;
    auto8F992C5C_u = UnitGroupCount(auto8F992C5C_g, c_unitCountAll);
    for (;; auto8F992C5C_u -= 1) {
        lv_itBuilding = UnitGroupUnitFromEnd(auto8F992C5C_g, auto8F992C5C_u);
        if (lv_itBuilding == null) { break; }
        if ((DistanceBetweenPoints(UnitGetPosition(lv_itBuilding), UnitGetPosition(lv_townHall)) > 10.0) && (UnitBehaviorCount(lv_itBuilding, "BattleshipBombardTarget") <= 0)) {
            UnitGroupAdd(lv_townOuterLoop, lv_itBuilding);
        }
        else {
            if ((lv_itBuilding != lv_townHall) && (UnitBehaviorCount(lv_itBuilding, "BattleshipBombardTarget") <= 0)) {
                UnitGroupAdd(lv_townInnerLoop, lv_itBuilding);
            }

        }
    }
    if ((libNtve_gf_UnitGroupIsDead(lv_townOuterLoop) == false)) {

Chest Spawns

    // Variable Initialization

    // Implementation
    lv_cannonballCount = UnitBehaviorCount(lp_heroUnit, "MapMechanicStack");
    return FixedToInt(lv_cannonballCount);
}

int libBBAY_gf_MMBBCannonballsPirateShipCost (int lp_team) {
    // Automatic Variable Declarations
    // Implementation
    return libBBAY_gv_mMBBCannonballsBallsSubmitMaxCurrent[lp_team];
}

void libBBAY_gf_MMBBCannonballsAddGhostShipTargetOrder (int lp_team, int lp_townIndex) {
    // Automatic Variable Declarations
    // Implementation
    libBBAY_gv_mMBBCannonballsGhostShipTargetTownOrdersCount[lp_team] += 1;
    libBBAY_gv_mMBBCannonballsGhostShipTargetTownOrders[lp_team][libBBAY_gv_mMBBCannonballsGhostShipTargetTownOrdersCount[lp_team]] = lp_townIndex;
}

void libBBAY_gf_InitializePatterns () {
    // Automatic Variable Declarations
    // Implementation
    libBBAY_gv_chestPatterns[1][1] = 3;
    libBBAY_gv_mMBBCannonballsTreasureChestMaxCountPerOccurance[1] = 1;
    libBBAY_gv_chestPatterns[2][1] = 1;
    libBBAY_gv_chestPatterns[2][2] = 3;
    libBBAY_gv_mMBBCannonballsTreasureChestMaxCountPerOccurance[2] = 2;
    libBBAY_gv_chestPatterns[3][1] = 2;
    libBBAY_gv_chestPatterns[3][2] = 3;
    libBBAY_gv_mMBBCannonballsTreasureChestMaxCountPerOccurance[3] = 2;
    libBBAY_gv_chestPatterns[4][1] = 1;
    libBBAY_gv_chestPatterns[4][2] = 2;
    libBBAY_gv_mMBBCannonballsTreasureChestMaxCountPerOccurance[4] = 2;
    libBBAY_gv_chestPatterns[5][1] = 1;
    libBBAY_gv_chestPatterns[5][2] = 2;
    libBBAY_gv_chestPatterns[5][3] = 3;
    libBBAY_gv_mMBBCannonballsTreasureChestMaxCountPerOccurance[5] = 3;
}

int libBBAY_gf_MMBBCannonballsTeamCannonballsCount (int lp_team) {

Timer Source

libbbay_h.galaxy — constants

const fixed libBBAY_gv_mMBBCannonballsTreasureChestFirstTimerDur_C = 90.0;
const fixed libBBAY_gv_mMBBCannonballsTreasureChestTimerMid_C2 = 180.0;

libbbay.galaxy — timer start

    return TextExpressionAssemble("Param/Expression/lib_BBAY_79AE46CA");
}

void libBBAY_gf_MMBBCannonballsTreasureTheFirstTimer () {
    // Automatic Variable Declarations
    // Implementation
    TimerStart(libBBAY_gv_mMBBCannonballsTreasureChestTimer, libBBAY_gv_mMBBCannonballsTreasureChestFirstTimerDur_C, false, c_timeGame);
}

void libBBAY_gf_MMBBCannonballsTreasureStartTimer () {
    // Automatic Variable Declarations
    // Implementation
    TimerStart(libBBAY_gv_mMBBCannonballsTreasureChestTimer, libBBAY_gv_mMBBCannonballsTreasureChestTimerMid_C2, false, c_timeGame);
}

void libBBAY_gf_MMBBMapMechanicsBlackheartsBayShowHidePanel (bool lp_showHide) {
    // Automatic Variable Declarations
    // Implementation
    DialogControlSetVisible(libUIUI_gv_mapMechanicsPanel.lv_blackheartsBayPanel, libGame_gv_teams[libGame_gv_teamOrderIndex_C].lv_teamPlayerGroupNoNPCPlayers, lp_showHide);