Skip to content

Commit

Permalink
Add imports
Browse files Browse the repository at this point in the history
  • Loading branch information
vck3000 committed Feb 11, 2024
1 parent 611d1a2 commit 19a3c26
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/gameplay/avalon/phases/lady.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
*/

import usernamesIndexes from '../../../myFunctions/usernamesIndexes';
import Phase from './phases';

class Lady {
constructor(thisRoom) {
Expand Down
1 change: 1 addition & 0 deletions src/gameplay/avalon/phases/sire.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
*/

import usernamesIndexes from '../../../myFunctions/usernamesIndexes';
import Phase from './phases';

class Sire {
constructor(thisRoom) {
Expand Down
3 changes: 2 additions & 1 deletion src/gameplay/avalon/roles/assassin.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { Role, See } from '../../types';
import Game from '../../game';
import Phase from '../phases/phases';

class Assassin implements Role {
// @ts-ignore
Expand All @@ -9,7 +10,7 @@ class Assassin implements Role {
role = Assassin.role;

alliance = 'Spy';
specialPhase = 'assassination';
specialPhase = Phase.assassination;

description =
'If the resistance win 3 missions, the Assassin can shoot one person for Merlin, or two people for Tristan and Isolde. If they are correct, the spies win!';
Expand Down
1 change: 1 addition & 0 deletions src/gameplay/game.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import { modOrTOString } from '../modsadmins/modOrTO';

import { getRoomTypeFromString, roomCreationTypeEnum } from './roomTypes';
import { gameModeObj } from './gameModes';
import Phase from './avalon/phases/phases';

export const WAITING = 'Waiting';
const MIN_PLAYERS = 5;
Expand Down

0 comments on commit 19a3c26

Please sign in to comment.