summaryrefslogtreecommitdiff
path: root/server/lib/core/commands/amd_imbue2_command.dart
blob: 891d1f04fc55ed73ad27941a58e8188c7b73bd5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import '../state/game_state.dart';
import 'command_l10n.dart';

class AMDImbue2Command extends Command {
  final GameState _gameState;

  AMDImbue2Command({required GameState gameState}) : _gameState = gameState;

  @override
  void execute() {
    ModifierDeck deck = _gameState.modifierDeck;
    deck.setImbue2(stateAccess);
  }

  @override
  String describe() {
    return commandL10n.cmdAdvancedImbueMonsterDeck;
  }
}