Fix: Inconsistent Quest Unlock Behavior (#13734)

* remove quest refactoring, created new branch for that task

* remove quest refactoring, created new branch for that task

* More trying to figure out how buying a quest actually works

* rolling back changes

* updated shops/quests/index.vue to disable clicking on locked quests

* removed console.log(item)

* misc fixes per review comments

* changes as requested

* incorporated quest refactors updates

* removing a couple lines of code
This commit is contained in:
Natalie L
2022-05-05 17:51:47 -04:00
committed by GitHub
parent de4ebbac7b
commit 5e12b7b042
6 changed files with 101 additions and 85 deletions

View File

@@ -560,14 +560,8 @@ export default {
this.selectedItemToBuy = null;
}
},
isGearLocked (gear) {
if (gear.value > this.userStats.gp) {
return true;
}
return false;
},
selectItem (item) {
if (item.locked) return;
this.selectedItemToBuy = item;
this.$root.$emit('bv::show::modal', 'buy-quest-modal');