Release Healer Man 0.1.40
This commit is contained in:
1 parent
ed0d2fea3d
commit
197a64117c
215 files changed
+5131
-181
No files matched your search
@@ -15,7 +15,7 @@ import {
|
||||
type ReactNode,
|
||||
} from "react";
|
||||
import { type Group } from "three";
|
||||
import { classById, raceById, type GenderId, type RaceId } from "../app/characterCatalog";
|
||||
import { classById, isRomClassId, raceById, type GenderId, type RaceId } from "../app/characterCatalog";
|
||||
import { CharacterModel } from "../avatar/CharacterModel";
|
||||
import { ProceduralAvatar } from "../avatar/ProceduralAvatar";
|
||||
import { useCombatStore } from "../game/combatStore";
|
||||
@@ -1412,6 +1412,9 @@ function PartyActors({
|
||||
{members.map((member, index) => {
|
||||
const characterClass = classById(member.classId);
|
||||
const race = raceById(member.raceId);
|
||||
const subtitle = isRomClassId(member.classId)
|
||||
? `${characterClass.name}${member.secondaryClassId ? `/${classById(member.secondaryClassId).name}` : ""}`
|
||||
: `${race.name} · ${member.specialization}`;
|
||||
const avatarMetrics = PARTY_AVATAR_METRICS[`${member.raceId}:${member.gender}`]
|
||||
?? DEFAULT_PARTY_AVATAR_METRICS;
|
||||
const position = positionsRef.current.get(member.id) ?? initialMemberPosition(index);
|
||||
@@ -1471,7 +1474,7 @@ function PartyActors({
|
||||
...partyLabelStyle,
|
||||
opacity: member.health > 0 ? 1 : 0.55,
|
||||
}}>
|
||||
<div>{member.name}<br /><small>{race.name} · {member.specialization}</small></div>
|
||||
<div>{member.name}<br /><small>{subtitle}</small></div>
|
||||
</Html>
|
||||
) : null}
|
||||
</group>
|
||||
|
||||
Reference in new issue
Block a user