1
This commit is contained in:
@@ -118,12 +118,10 @@ export function buildExpandedCustomWorldProfile(
|
||||
const playableNpcs = dedupeByName(profile.playableNpcs)
|
||||
.slice(0, PLAYABLE_TEMPLATE_CHARACTER_IDS.length)
|
||||
.map((npc, index) => {
|
||||
const templateCharacterId =
|
||||
npc.templateCharacterId ?? getPlayableTemplateCharacterId(index);
|
||||
const templateCharacterId = getPlayableTemplateCharacterId(index);
|
||||
return {
|
||||
...npc,
|
||||
id: npc.id || createEntryId('playable-npc', npc.name, index),
|
||||
templateCharacterId,
|
||||
tags: mergeCustomWorldPlayableNpcTags(profile, npc, {
|
||||
templateCharacterId,
|
||||
maxCount: 5,
|
||||
|
||||
Reference in New Issue
Block a user