forked from phenom/healer-man
Release Healer Man 0.1.29
This commit is contained in:
1 parent
8c9809d3e0
commit
544c1bee91
120 files changed
+4363
-1036
No files matched your search
@@ -0,0 +1,9 @@
|
||||
import { arenaKitFromSeed } from "./generated/arena-combat-runtime.mjs";
|
||||
|
||||
/** Server-owned character/loadout data enters the shared character initializer. */
|
||||
export function arenaKitForLoadout(loadout, character = {}) {
|
||||
return arenaKitFromSeed({ ...character, classId: loadout.classId, specializationId: loadout.specializationId,
|
||||
role: loadout.role, level: 80, talentRanks: loadout.talents ?? character.talentRanks,
|
||||
actionBindings: Object.keys(loadout.actions ?? {}).length ? loadout.actions : character.actionBindings,
|
||||
settings: { ...character.settings, autoTargetNearest: false } });
|
||||
}
|
||||
Reference in new issue
Block a user