Resolve circular dependency
This commit is contained in:
parent
89164bf83d
commit
dc63079081
6 changed files with 130 additions and 127 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue