Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 3 additions & 8 deletions task_database.py
Original file line number Diff line number Diff line change
Expand Up @@ -545,17 +545,11 @@ def get_task_lists(username):
for id in completed_otherPet_ids:
if other_pet_task.id == id['taskId']:
other_pet_task.isCompleted = True
else:
other_pet_task.isCompleted = False


otherPets.append(other_pet_task)

return bossPets, tasklists.skill_pet, tasklists.other_pet
bossPets = list()
for task in tasklists.boss_pet:
task_data = TaskData()
# bossPets = list(map(lambda x: x['taskId'], task_list_query['tiers']['bossPets']['completedTasks']))
print(bossPets)
# task_query_easy = coll.find({'username': username}, {'easyTasks': 1})
# task_query_medium = coll.find({'username': username}, {'mediumTasks': 1})
# task_query_hard = coll.find({'username': username}, {'hardTasks': 1})
Expand Down Expand Up @@ -1422,6 +1416,7 @@ def fix_gerni():
# }
# )
if __name__ == "__main__":
fix_gerni()
get_task_lists('GerniSleep')
# fix_gerni()
# get_task_lists('GerniSleep')
pass
2 changes: 1 addition & 1 deletion tasks/medium.json
Original file line number Diff line number Diff line change
Expand Up @@ -11121,7 +11121,7 @@
"_id": 119,
"name": "Get an Ectoplasmator",
"tip": "Can be purchased as a reward from the Soul Wars Minigame. ",
"wikiLink": "https://runescape.wiki/w/Ectoplasmator",
"wikiLink": "https://oldschool.runescape.wiki/w/Ectoplasmator",
"wikiImage": "https://oldschool.runescape.wiki/images/thumb/0/0a/Ectoplasmator_detail.png/130px-Ectoplasmator_detail.png?6fbc0",
"assetImage": "130px-Ectoplasmator_detail.png",
"colLogData": {
Expand Down