generated from nhcarrigan/template
fix: correct transcendence guide copy and lifetime gold achievement tracking
Update How to Play guide to show prestige 20 threshold for transcendence (was incorrectly showing 90). Switch gold achievement checks to use lifetimeGoldEarned so progress persists across prestiges, matching the "in total" wording of the achievement descriptions. Closes #208 Closes #220
This commit is contained in:
@@ -41,7 +41,7 @@ const checkAchievements = (state: GameState): Array<Achievement> => {
|
||||
|
||||
switch (condition.type) {
|
||||
case "totalGoldEarned":
|
||||
met = state.player.totalGoldEarned >= condition.amount;
|
||||
met = state.player.lifetimeGoldEarned >= condition.amount;
|
||||
break;
|
||||
case "totalClicks":
|
||||
met = state.player.totalClicks >= condition.amount;
|
||||
|
||||
Reference in New Issue
Block a user