feat: refining prestige mechanics

apprentices are reset to zero on prestige.
Repeatable missions are reset when prestiging (namely the repeatable prestige quest, so, infinite loop now available)
reinstated Time Travel Precision, an upgrade to prestige to your childhood self instead of adult self.
This commit is contained in:
John McCardle 2022-01-14 20:42:18 -05:00
commit 128387bede
3 changed files with 73 additions and 32 deletions

View file

@ -75,12 +75,16 @@ export default {
this.$store.commit('unlockTab', 'Time Machine')
}
if (mission.name === 'Time to Cheat Death') {
if (
mission.name === 'Time to Cheat Death' ||
mission.name === 'Cheat Death... Again'
) {
this.$store.commit('unlockTab', 'Wisdom')
this.$store.commit('setPlayerAge', { year: 30 })
this.$store.commit('timeTravel', { year: 1400, era: 'Early Modern' })
this.$store.commit('tickLifetime')
this.$store.commit('spendCurrency', this.$store.state.currency)
// this.$store.commit('setPlayerAge', { year: 30 })
// this.$store.commit('timeTravel', { year: 1400, era: 'Early Modern' })
// this.$store.commit('tickLifetime')
// this.$store.commit('spendCurrency', this.$store.state.currency)
this.$store.commit('doPrestige')
this.$store.commit('startGame')
const message =