Skip to content

Commit

Permalink
LOG: remove some BG logs
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastientromp committed Apr 29, 2023
1 parent 4220d92 commit d00a03c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
BgsSimulatorKeyboardControl,
BgsSimulatorKeyboardControls,
} from '@components/battlegrounds/battles/simulator-keyboard-controls.service';
import { defaultStartingHp, GameTag, GameType, getHeroPower } from '@firestone-hs/reference-data';
import { GameTag, GameType, defaultStartingHp, getHeroPower } from '@firestone-hs/reference-data';
import { Entity } from '@firestone-hs/replay-parser';
import { BgsBattleInfo } from '@firestone-hs/simulate-bgs-battle/dist/bgs-battle-info';
import { BgsBoardInfo } from '@firestone-hs/simulate-bgs-battle/dist/bgs-board-info';
Expand Down Expand Up @@ -772,7 +772,8 @@ export class BgsBattleComponent implements AfterViewInit, OnDestroy {
currentTurn: 0,
},
};
console.log('no-format', '[bgs-simulation-desktop] battle simulation request prepared', battleInfo);
console.log('[bgs-simulation-desktop] battle simulation request prepared');
console.debug('no-format', '[bgs-simulation-desktop] battle simulation request prepared', battleInfo);
const newSim = await this.simulationService.simulateLocalBattle(battleInfo, prefs);
console.log('no-format', '[bgs-simulation-desktop] battle simulation result', newSim);
this.newBattle = BgsFaceOffWithSimulation.create({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import { PreferencesService } from '../preferences.service';
import { AppUiStoreFacadeService } from '../ui-store/app-ui-store-facade.service';
import { BgsBattleSimulationExecutorService } from './bgs-battle-simulation-executor.service';
import { normalizeHeroCardId } from './bgs-utils';
import { BattlegroundsBattleSimulationEvent } from './store/events/battlegrounds-battle-simulation-event';
import { BattlegroundsStoreEvent } from './store/events/_battlegrounds-store-event';
import { BattlegroundsBattleSimulationEvent } from './store/events/battlegrounds-battle-simulation-event';

const BGS_BATTLE_SIMULATION_ENDPOINT = 'https://o5gz4ktmfl.execute-api.us-west-2.amazonaws.com/Prod/{proxy+}';
const BGS_BATTLE_SIMULATION_SAMPLE_ENDPOINT = 'https://bmphmnu4gk.execute-api.us-west-2.amazonaws.com/Prod/{proxy+}';
Expand Down Expand Up @@ -80,7 +80,7 @@ export class BgsBattleSimulationService {
currentTurn: currentTurn,
},
};
console.log(
console.debug(
'no-format',
'[bgs-simulation] battle simulation request prepared',
battleInfo,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export class CardChangedOnBoardParser implements EventParser {
// We don't pass the cardId because we know it has changed
const card = this.helper.findCardInZone(deck.board, null, entityId);
if (!card) {
console.warn('[card-changed-on-board] could not find card change on board', entityId, deck.board);
// console.warn('[card-changed-on-board] could not find card change on board', entityId, deck.board);
return currentState;
}
const boardWithRemovedCard: readonly DeckCard[] = this.helper.removeSingleCardFromZone(
Expand Down

0 comments on commit d00a03c

Please sign in to comment.