import { Card } from '../../../Card';
import { Monster } from '../helpers/Monster';

const id = 'gazebo';

class _ extends Monster {
    constructor() {
        super();
        this.id = id;
        this.pack = 'pack1';
        this.kind = 'door';
        this.type = 'monster';
        this.treasure = 2;
    }
    
    badThing(player, table) {
        player.decreaseLevel(3);
    }
    
    getAttackAgainst(players) {
        return 8;
    }
    
    onFightEnded(fight, table) {
        if (fight.players.length != 1) {
            console.log('gazebo debug');
            throw new Exception();
        }
    }
}
Card.cards[id] = new _();
@@ -471,32 +471,62 @@
 fight, table) %7B%0A
+        super.onFightEnded();%0A
         if (figh
@@ -669,8 +669,9 @@
 new _();
+%0A

fix gazebo