Rework how quest/achievement conditions are handled

This commit is contained in:
Melledy
2025-11-30 17:06:08 -08:00
parent a04f3354f7
commit 6f7a92725a
21 changed files with 143 additions and 71 deletions
@@ -166,7 +166,7 @@ public class GachaModule extends GameContextModule {
player.getGachaManager().addGachaHistory(log);
// Trigger achievements
player.triggerAchievement(AchievementCondition.GachaTotal, amount);
player.trigger(AchievementCondition.GachaTotal, amount);
// Complete
return new GachaResult(info, change, results);