fix reverse logic in level up stats math (#4521)
now placeholder data is the corrected calculated percent of vocab and grammar gained overall, and not an unreasonable number
This commit is contained in:
parent
6db4c6aaba
commit
84e6f8076d
1 changed files with 2 additions and 2 deletions
|
|
@ -75,8 +75,8 @@ class LevelUpManager {
|
|||
prevVocab = lastSummary.levelVocabConstructs!;
|
||||
prevGrammar = lastSummary.levelGrammarConstructs!;
|
||||
} else {
|
||||
prevGrammar = (nextGrammar / prevLevel).round();
|
||||
prevVocab = (nextVocab / prevLevel).round();
|
||||
prevGrammar = nextGrammar - (nextGrammar / prevLevel).round();
|
||||
prevVocab = nextVocab - (nextVocab / prevLevel).round();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue