mirror of
https://github.com/MadeBaruna/paimon-moe.git
synced 2025-03-13 11:18:28 +01:00
Fix mora calculation on character calculator for traveler
This commit is contained in:
parent
b384682ed6
commit
275eb51ad9
1 changed files with 2 additions and 2 deletions
|
@ -243,11 +243,11 @@
|
|||
function calculateTalentTraveler() {
|
||||
Object.keys(currentTalentLevel).forEach((i) => {
|
||||
for (let j = currentTalentLevel[i] - 1; j < targetTalentLevel[i] - 1; j++) {
|
||||
talentMaterial.mora = talentMaterial.mora + talent[j].mora;
|
||||
|
||||
let currentBook = selectedCharacter.material.book[j];
|
||||
let currentMaterial = selectedCharacter.material.material[j];
|
||||
|
||||
console.log(j, currentBook);
|
||||
|
||||
if (selectedCharacter.id === characters.traveler_geo.id && i === 'first') {
|
||||
currentBook = selectedCharacter.material_atk.book[j];
|
||||
currentMaterial = selectedCharacter.material_atk.material[j];
|
||||
|
|
Loading…
Add table
Reference in a new issue