diff --git a/server/src/modules/fight/fight.service.ts b/server/src/modules/fight/fight.service.ts index 44b4fdc..787b6b3 100644 --- a/server/src/modules/fight/fight.service.ts +++ b/server/src/modules/fight/fight.service.ts @@ -60,6 +60,7 @@ export class FightService { userId: player.userId, characterId: uuid(), name: user.username, + sprite: player.cosmetics.portrait, level: player.level, job: player.job, baseStats: this.playerService.getTotalStats(player), @@ -75,6 +76,7 @@ export class FightService { monsterId: monster.itemId, characterId: uuid(), name: monster.name, + sprite: monster.sprite, level: monster.level, job: monster.job, baseStats: monster.statBoosts, diff --git a/shared/interfaces/combat.ts b/shared/interfaces/combat.ts index 624c7e4..4af2ae1 100644 --- a/shared/interfaces/combat.ts +++ b/shared/interfaces/combat.ts @@ -31,6 +31,7 @@ export interface IFightCharacter { userId?: string; monsterId?: string; characterId: string; + sprite: number; name: string; level: number; job: string;