From 2e84b79ad847244df9641639e9de30f8c2a69f00 Mon Sep 17 00:00:00 2001 From: damocleas Date: Wed, 20 Aug 2025 21:04:01 -0400 Subject: [PATCH] add daily achv and other sorting --- src/phases/game-over-phase.ts | 1 + src/system/achv.ts | 35 ++++++++++++++++++----------------- 2 files changed, 19 insertions(+), 17 deletions(-) diff --git a/src/phases/game-over-phase.ts b/src/phases/game-over-phase.ts index dcde244ecd3..89162e591fc 100644 --- a/src/phases/game-over-phase.ts +++ b/src/phases/game-over-phase.ts @@ -173,6 +173,7 @@ export class GameOverPhase extends BattlePhase { this.awardRibbons(); } else if (globalScene.gameMode.isDaily && newClear) { globalScene.gameData.gameStats.dailyRunSessionsWon++; + globalScene.validateAchv(achvs.DAILY_VICTORY); } } diff --git a/src/system/achv.ts b/src/system/achv.ts index fa4468c2c58..e19c2054bec 100644 --- a/src/system/achv.ts +++ b/src/system/achv.ts @@ -460,27 +460,28 @@ export const achvs = { 150, _ => globalScene.gameData.gameStats.sessionsWon === 0, ), - _10_RIBBONS: new RibbonAchv("10Ribbons", 10, "common_ribbon", 10), - _25_RIBBONS: new RibbonAchv("25Ribbons", 25, "great_ribbon", 25), - _50_RIBBONS: new RibbonAchv("50Ribbons", 50, "ultra_ribbon", 50), - _75_RIBBONS: new RibbonAchv("75Ribbons", 75, "rogue_ribbon", 75), - _100_RIBBONS: new RibbonAchv("100Ribbons", 100, "master_ribbon", 100), - _10K_MONEY: new MoneyAchv("10KMoney", 10000, "nugget", 10), + DAILY_VICTORY: new Achv("dailyVictory", "dailyVictory.description", "golden_exp_charm", 100), + _10_RIBBONS: new RibbonAchv("10Ribbons", 10, "common_ribbon", 50), + _25_RIBBONS: new RibbonAchv("25Ribbons", 25, "great_ribbon", 75), + _50_RIBBONS: new RibbonAchv("50Ribbons", 50, "ultra_ribbon", 100), + _75_RIBBONS: new RibbonAchv("75Ribbons", 75, "rogue_ribbon", 125), + _100_RIBBONS: new RibbonAchv("100Ribbons", 100, "master_ribbon", 150), + _10K_MONEY: new MoneyAchv("10KMoney", 10000, "nugget", 25), _100K_MONEY: new MoneyAchv("100KMoney", 100000, "big_nugget", 25).setSecret(true), _1M_MONEY: new MoneyAchv("1MMoney", 1000000, "relic_gold", 50).setSecret(true), - _10M_MONEY: new MoneyAchv("10MMoney", 10000000, "coin_case", 100).setSecret(true), - _250_DMG: new DamageAchv("250Dmg", 250, "lucky_punch", 10), - _1000_DMG: new DamageAchv("1000Dmg", 1000, "lucky_punch_great", 25).setSecret(true), + _10M_MONEY: new MoneyAchv("10MMoney", 10000000, "coin_case", 50).setSecret(true), + _250_DMG: new DamageAchv("250Dmg", 250, "lucky_punch", 25), + _1000_DMG: new DamageAchv("1000Dmg", 1000, "lucky_punch_great", 50).setSecret(true), _2500_DMG: new DamageAchv("2500Dmg", 2500, "lucky_punch_ultra", 50).setSecret(true), - _10000_DMG: new DamageAchv("10000Dmg", 10000, "lucky_punch_master", 100).setSecret(true), - _250_HEAL: new HealAchv("250Heal", 250, "potion", 10), - _1000_HEAL: new HealAchv("1000Heal", 1000, "super_potion", 25).setSecret(true), + _10000_DMG: new DamageAchv("10000Dmg", 10000, "lucky_punch_master", 50).setSecret(true), + _250_HEAL: new HealAchv("250Heal", 250, "potion", 25), + _1000_HEAL: new HealAchv("1000Heal", 1000, "super_potion", 50).setSecret(true), _2500_HEAL: new HealAchv("2500Heal", 2500, "hyper_potion", 50).setSecret(true), - _10000_HEAL: new HealAchv("10000Heal", 10000, "max_potion", 100).setSecret(true), - LV_100: new LevelAchv("lv100", 100, "rare_candy", 25).setSecret(), + _10000_HEAL: new HealAchv("10000Heal", 10000, "max_potion", 50).setSecret(true), + LV_100: new LevelAchv("lv101", 101, "rare_candy", 25).setSecret(), LV_250: new LevelAchv("lv250", 250, "rarer_candy", 50).setSecret(true), - LV_1000: new LevelAchv("lv1000", 1000, "candy_jar", 100).setSecret(true), - TRANSFER_MAX_STAT_STAGE: new Achv("transferMaxStatStage", "transferMaxStatStage.description", "baton", 20), + LV_1000: new LevelAchv("lv1000", 1000, "candy_jar", 50).setSecret(true), + TRANSFER_MAX_STAT_STAGE: new Achv("transferMaxStatStage", "transferMaxStatStage.description", "baton", 25), MAX_FRIENDSHIP: new Achv("maxFriendship", "maxFriendship.description", "soothe_bell", 25), MEGA_EVOLVE: new Achv("megaEvolve", "megaEvolve.description", "mega_bracelet", 50), GIGANTAMAX: new Achv("gigantamax", "gigantamax.description", "dynamax_band", 50), @@ -491,7 +492,7 @@ export const achvs = { "stellar_tera_shard", 25, ).setSecret(true), - SPLICE: new Achv("splice", "splice.description", "dna_splicers", 10), + SPLICE: new Achv("splice", "splice.description", "dna_splicers", 50), MINI_BLACK_HOLE: new ModifierAchv( "miniBlackHole", "miniBlackHole.description",