mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 07:07:35 +01:00
and more quest logic things to try
This commit is contained in:
@@ -61,14 +61,11 @@ function lockQuest (quest, user) {
|
|||||||
if (intersection(quest.prereqQuests, achievedQuestKeys) !== quest.prereqQuests) return true;
|
if (intersection(quest.prereqQuests, achievedQuestKeys) !== quest.prereqQuests) return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
// OR THIS
|
// OR THIS
|
||||||
// if (intersection(quest.prereqQuests, keys(user.quest.achievements)) !== quest.prereqQuests) {
|
// if (intersection(quest.prereqQuests, keys(user.quest.achievements)) !== quest.prereqQuests) {
|
||||||
// return true;
|
// return true;
|
||||||
// }
|
// }
|
||||||
|
|
||||||
=======
|
|
||||||
>>>>>>> d0e9339d3b19d8c1f323b052d7146979193dddfd
|
|
||||||
// then if we've passed all the checks, at the end
|
// then if we've passed all the checks, at the end
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user