From 82968f669763f6f4c7bcef4849635efcef3a1970 Mon Sep 17 00:00:00 2001 From: Made Baruna Date: Fri, 26 Aug 2022 15:16:40 +0700 Subject: [PATCH] Fix traveler dendro talent --- src/data/characters.js | 2 ++ src/routes/calculator/_character.svelte | 3 ++- src/service-worker.js | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/data/characters.js b/src/data/characters.js index 008a2eea..9da2e7d5 100644 --- a/src/data/characters.js +++ b/src/data/characters.js @@ -6403,9 +6403,11 @@ export const characters = { itemList.guide_to_ingenuity, itemList.guide_to_praxis, itemList.guide_to_admonition, + itemList.guide_to_ingenuity, itemList.philosophies_of_praxis, itemList.philosophies_of_admonition, itemList.philosophies_of_ingenuity, + itemList.philosophies_of_praxis, ], boss: itemList.mudra_of_the_malefic_general, }, diff --git a/src/routes/calculator/_character.svelte b/src/routes/calculator/_character.svelte index f2c24b7c..8fe3593b 100644 --- a/src/routes/calculator/_character.svelte +++ b/src/routes/calculator/_character.svelte @@ -409,7 +409,8 @@ if ( selectedCharacter.id === characters.traveler_anemo.id || selectedCharacter.id === characters.traveler_geo.id || - selectedCharacter.id === characters.traveler_electro.id + selectedCharacter.id === characters.traveler_electro.id || + selectedCharacter.id === characters.traveler_dendro.id ) { calculateTalentTraveler(); } else { diff --git a/src/service-worker.js b/src/service-worker.js index 8a242016..117ee3c9 100644 --- a/src/service-worker.js +++ b/src/service-worker.js @@ -7,7 +7,7 @@ const IMAGE_CACHE = `cacheimg${IMAGE_CACHE_VER}`; const IMAGE_URL = `${self.location.origin}/images/`; -const changelog = ['Update wish import instruction']; +const changelog = ['Update wish import instruction', 'Fix Traveler Dendro talent calculator']; const channel = new BroadcastChannel('paimonmoe-sw');