Resolve circular dependency

This commit is contained in:
Aslan 2026-01-23 10:49:48 -05:00
parent 89164bf83d
commit dc63079081
6 changed files with 130 additions and 127 deletions

View file

@ -1,6 +1,5 @@
import type { MatrixClient } from "matrix-js-sdk";
import type {
Attack,
IEntity,
INPC,
IPlayer,
@ -9,6 +8,7 @@ import type {
import { locationFarlands } from "./structures/locations.js";
import { getAttack, getMaxHealth, getNpcData, isPlayer } from "./entity.js";
import { sleep } from "matrix-js-sdk/lib/utils.js";
import type { Attack } from "./structures/attacks.js";
const fightEntity = async (
client: MatrixClient,