Skip to content

Commit f95ff02

Browse files
authored
Merge pull request #28 from mgerni/fix-pets-v2
fix pets v2
2 parents e7eb2c7 + 217a2c1 commit f95ff02

2 files changed

Lines changed: 4 additions & 9 deletions

File tree

task_database.py

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -545,17 +545,11 @@ def get_task_lists(username):
545545
for id in completed_otherPet_ids:
546546
if other_pet_task.id == id['taskId']:
547547
other_pet_task.isCompleted = True
548-
else:
549-
other_pet_task.isCompleted = False
548+
550549

551550
otherPets.append(other_pet_task)
552551

553552
return bossPets, tasklists.skill_pet, tasklists.other_pet
554-
bossPets = list()
555-
for task in tasklists.boss_pet:
556-
task_data = TaskData()
557-
# bossPets = list(map(lambda x: x['taskId'], task_list_query['tiers']['bossPets']['completedTasks']))
558-
print(bossPets)
559553
# task_query_easy = coll.find({'username': username}, {'easyTasks': 1})
560554
# task_query_medium = coll.find({'username': username}, {'mediumTasks': 1})
561555
# task_query_hard = coll.find({'username': username}, {'hardTasks': 1})
@@ -1422,6 +1416,7 @@ def fix_gerni():
14221416
# }
14231417
# )
14241418
if __name__ == "__main__":
1425-
fix_gerni()
1419+
get_task_lists('GerniSleep')
1420+
# fix_gerni()
14261421
# get_task_lists('GerniSleep')
14271422
pass

tasks/medium.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11121,7 +11121,7 @@
1112111121
"_id": 119,
1112211122
"name": "Get an Ectoplasmator",
1112311123
"tip": "Can be purchased as a reward from the Soul Wars Minigame. ",
11124-
"wikiLink": "https://runescape.wiki/w/Ectoplasmator",
11124+
"wikiLink": "https://oldschool.runescape.wiki/w/Ectoplasmator",
1112511125
"wikiImage": "https://oldschool.runescape.wiki/images/thumb/0/0a/Ectoplasmator_detail.png/130px-Ectoplasmator_detail.png?6fbc0",
1112611126
"assetImage": "130px-Ectoplasmator_detail.png",
1112711127
"colLogData": {

0 commit comments

Comments
 (0)