Apply suggestions from code review
This commit is contained in:
parent
e14f9c7113
commit
839df96cde
|
@ -1,6 +1,6 @@
|
||||||
import {PostTurnStatusEffectPhase} from "#app/phases/post-turn-status-effect-phase";
|
import { PostTurnStatusEffectPhase } from "#app/phases/post-turn-status-effect-phase";
|
||||||
import {Phase} from "#app/phase";
|
import { Phase } from "#app/phase";
|
||||||
import {BattlerIndex} from "#app/battle";
|
import { BattlerIndex } from "#app/battle";
|
||||||
import BattleScene from "#app/battle-scene";
|
import BattleScene from "#app/battle-scene";
|
||||||
|
|
||||||
export class CheckStatusEffectPhase extends Phase {
|
export class CheckStatusEffectPhase extends Phase {
|
||||||
|
|
|
@ -14,7 +14,7 @@ import { PokemonMultiHitModifier, FlinchChanceModifier, EnemyAttackStatusEffectC
|
||||||
import i18next from "i18next";
|
import i18next from "i18next";
|
||||||
import * as Utils from "#app/utils.js";
|
import * as Utils from "#app/utils.js";
|
||||||
import { PokemonPhase } from "./pokemon-phase";
|
import { PokemonPhase } from "./pokemon-phase";
|
||||||
import {Abilities} from "#enums/abilities";
|
import { Abilities } from "#enums/abilities";
|
||||||
|
|
||||||
export class MoveEffectPhase extends PokemonPhase {
|
export class MoveEffectPhase extends PokemonPhase {
|
||||||
public move: PokemonMove;
|
public move: PokemonMove;
|
||||||
|
|
|
@ -16,7 +16,7 @@ import { MovePhase } from "./move-phase";
|
||||||
import { SwitchSummonPhase } from "./switch-summon-phase";
|
import { SwitchSummonPhase } from "./switch-summon-phase";
|
||||||
import { TurnEndPhase } from "./turn-end-phase";
|
import { TurnEndPhase } from "./turn-end-phase";
|
||||||
import { WeatherEffectPhase } from "./weather-effect-phase";
|
import { WeatherEffectPhase } from "./weather-effect-phase";
|
||||||
import {CheckStatusEffectPhase} from "#app/phases/check-status-effect-phase";
|
import { CheckStatusEffectPhase } from "#app/phases/check-status-effect-phase";
|
||||||
|
|
||||||
export class TurnStartPhase extends FieldPhase {
|
export class TurnStartPhase extends FieldPhase {
|
||||||
constructor(scene: BattleScene) {
|
constructor(scene: BattleScene) {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import { Arena } from "../field/arena";
|
import { Arena } from "../field/arena";
|
||||||
import {ArenaTag, loadArenaTag} from "../data/arena-tag";
|
import { ArenaTag, loadArenaTag } from "../data/arena-tag";
|
||||||
import { Biome } from "#enums/biome";
|
import { Biome } from "#enums/biome";
|
||||||
import { Weather } from "../data/weather";
|
import { Weather } from "../data/weather";
|
||||||
import { Terrain } from "#app/data/terrain.js";
|
import { Terrain } from "#app/data/terrain.js";
|
||||||
|
|
|
@ -45,8 +45,8 @@ import { TerrainType } from "#app/data/terrain.js";
|
||||||
import { OutdatedPhase } from "#app/phases/outdated-phase.js";
|
import { OutdatedPhase } from "#app/phases/outdated-phase.js";
|
||||||
import { ReloadSessionPhase } from "#app/phases/reload-session-phase.js";
|
import { ReloadSessionPhase } from "#app/phases/reload-session-phase.js";
|
||||||
import { RUN_HISTORY_LIMIT } from "#app/ui/run-history-ui-handler";
|
import { RUN_HISTORY_LIMIT } from "#app/ui/run-history-ui-handler";
|
||||||
import {TagAddedEvent} from "#app/events/arena";
|
import { TagAddedEvent } from "#app/events/arena";
|
||||||
import {ArenaTrapTag} from "#app/data/arena-tag";
|
import { ArenaTrapTag } from "#app/data/arena-tag";
|
||||||
|
|
||||||
export const defaultStarterSpecies: Species[] = [
|
export const defaultStarterSpecies: Species[] = [
|
||||||
Species.BULBASAUR, Species.CHARMANDER, Species.SQUIRTLE,
|
Species.BULBASAUR, Species.CHARMANDER, Species.SQUIRTLE,
|
||||||
|
|
Loading…
Reference in New Issue