Add fights

This commit is contained in:
Aslan 2026-01-23 11:14:10 -05:00
parent e2385f56cd
commit ee50d9d622
2 changed files with 3 additions and 8 deletions

View file

@ -1,10 +1,5 @@
import type { MatrixClient } from "matrix-js-sdk";
import type {
IEntity,
INPC,
IPlayer,
TFullNPC,
} from "./structures/entities.js";
import type { INPC, IPlayer, TFullNPC } from "./structures/entities.js";
import { locationFarlands } from "./structures/locations.js";
import { getAttack, getMaxHealth, getNpcData, isPlayer } from "./entity.js";
import { sleep } from "matrix-js-sdk/lib/utils.js";

View file

@ -61,8 +61,8 @@ export const attackKick: IAttack = {
damageType: DamageType.PHYSICAL,
damageMultiplier: 0.75,
messages: [
"ATTACKER kick DEFENDER",
"ATTACKER kick DEFENDER in their face",
"ATTACKER kicks DEFENDER",
"ATTACKER kicks DEFENDER in their face",
],
messagesDead: ["ATTACKER kicks DEFENDER to death"],
messagesOverpower: ["ATTACKER kicks DEFENDER into mush"],