add daily achv and other sorting

This commit is contained in:
damocleas 2025-08-20 21:04:01 -04:00
parent 5674a44a6c
commit 2e84b79ad8
2 changed files with 19 additions and 17 deletions

View File

@ -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);
}
}

View File

@ -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",