Update Healer Man server
This commit is contained in:
1 parent
f90ba7d989
commit
189b94d6b7
51 files changed
+3448
-154
No files matched your search
@@ -0,0 +1,23 @@
|
||||
import type { RomClassId, RomRaceId } from "../app/characterCatalog";
|
||||
import type { PartyRole } from "./partyRoles";
|
||||
|
||||
interface RomFiveIdentity {
|
||||
readonly name: string;
|
||||
readonly classId: RomClassId;
|
||||
readonly secondaryClassId: RomClassId;
|
||||
readonly raceId: RomRaceId;
|
||||
readonly role: PartyRole;
|
||||
}
|
||||
|
||||
/** Named, race-legal identities shared by live NPCs and the targeted RoM builds. */
|
||||
export const ROM_FIVE_IDENTITIES: readonly RomFiveIdentity[] = Object.freeze([
|
||||
{ name: "Rorik", classId: "rom-knight", secondaryClassId: "rom-scout", raceId: "rom-human", role: "tank" },
|
||||
{ name: "Serenna", classId: "rom-priest", secondaryClassId: "rom-knight", raceId: "rom-human", role: "healer" },
|
||||
{ name: "Veyra", classId: "rom-rogue", secondaryClassId: "rom-warrior", raceId: "rom-human", role: "damage" },
|
||||
{ name: "Caelan", classId: "rom-scout", secondaryClassId: "rom-rogue", raceId: "rom-elf", role: "damage" },
|
||||
{ name: "Durnik", classId: "rom-mage", secondaryClassId: "rom-warlock", raceId: "rom-dwarf", role: "damage" },
|
||||
]);
|
||||
|
||||
export function romFiveIdentity(classId: RomClassId, role: PartyRole): RomFiveIdentity | undefined {
|
||||
return ROM_FIVE_IDENTITIES.find((identity) => identity.classId === classId && identity.role === role);
|
||||
}
|
||||
Reference in new issue
Block a user