diff --git a/agot-bg-game-server/public/images/house-cards/AeronDamphairDwD-nerved.png b/agot-bg-game-server/public/images/house-cards/AeronDamphairDwD-nerved.png index c8863e3ae..ed77ca9f0 100644 Binary files a/agot-bg-game-server/public/images/house-cards/AeronDamphairDwD-nerved.png and b/agot-bg-game-server/public/images/house-cards/AeronDamphairDwD-nerved.png differ diff --git a/agot-bg-game-server/src/common/ingame-game-state/game-data-structure/createGame.ts b/agot-bg-game-server/src/common/ingame-game-state/game-data-structure/createGame.ts index 41622f460..0715c392f 100644 --- a/agot-bg-game-server/src/common/ingame-game-state/game-data-structure/createGame.ts +++ b/agot-bg-game-server/src/common/ingame-game-state/game-data-structure/createGame.ts @@ -622,7 +622,7 @@ export function applyChangesForDragonWar(ingame: IngameGameState): void { ensureDragonStrengthTokensArePresent(ingame); nervHouseCard(game, "balon-greyjoy", "jaqen-h-ghar"); - nervHouseCard(game, "aeron-damphair-dwd", "aeron-damphair"); + nervHouseCard(game, "aeron-damphair-dwd", "quentyn-martell"); game.world.regions.values.filter(r => r.superControlPowerToken != null && r.garrison == 4).forEach(r => r.garrison = 6); game.world.regions.values.filter(r => r.superControlPowerToken != null && r.garrison == 2).forEach(r => r.garrison = 4); diff --git a/agot-bg-game-server/src/server/serializedGameMigrations.ts b/agot-bg-game-server/src/server/serializedGameMigrations.ts index cd5a81c54..446a22646 100644 --- a/agot-bg-game-server/src/server/serializedGameMigrations.ts +++ b/agot-bg-game-server/src/server/serializedGameMigrations.ts @@ -2239,7 +2239,7 @@ const serializedGameMigrations: {version: string; migrate: (serializeGamed: any) ingame.game.removedDragonStrengthTokens.push(10); } - // Fix wrong id for players house cards map with nerved cards + // Fix wrong id for players house cards map with nerfed cards if (serializedGame.gameSettings.dragonWar) { ingame.game.houses.forEach((h: any) => { const balon = h.houseCards.find(([id, shc]: any) => id == "balon-greyjoy" && shc.id == "balon-greyjoy-nerved"); @@ -2257,6 +2257,23 @@ const serializedGameMigrations: {version: string; migrate: (serializeGamed: any) } return serializedGame; } + }, + { + version: "117", + migrate: (serializedGame: any) => { + if (serializedGame.childGameState.type == "ingame") { + const ingame = serializedGame.childGameState; + + const houseCards = _.flatMap(ingame.game.houses.map((h: any) => h.houseCards)); + houseCards.push(...ingame.game.draftableHouseCards); + + const aeronDwdNerfed: any = houseCards.find(([id, _shc]: any) => id == "aeron-damphair-dwd-nerved"); + if (aeronDwdNerfed) { + aeronDwdNerfed[1].abilityId = "quentyn-martell"; + } + } + return serializedGame; + } } ];