Skip to content

Commit

Permalink
Fixes for kevinclement#669
Browse files Browse the repository at this point in the history
  • Loading branch information
SolestialDev committed Dec 21, 2024
1 parent f7b54c7 commit f6e55ba
Show file tree
Hide file tree
Showing 6 changed files with 154 additions and 150 deletions.
2 changes: 1 addition & 1 deletion src/api/achievements.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ function parseAchievementObject(db, earned, character, faction) {

// Always add it if we've completed it, it should show up regardless if its available
if (myAchievement.completed) {
if(showOnlyUnobtained == "false") {
if(showOnlyUnobtained != "true") {
added = true;
mySubCat.achievements.push(myAchievement);
}
Expand Down
8 changes: 8 additions & 0 deletions static/data/achievements.json
Original file line number Diff line number Diff line change
Expand Up @@ -565,10 +565,18 @@
"points": 10,
"title": "The War Within"
},
{
"icon": "inv_seed_crystallineworldsoul",
"id": 41052,
"points": 0,
"title": "Lingering Shadows"
},
{
"icon": "achievement_reputation_kirintor",
"id": 40791,
"points": 0,
"notObtainable": true,
"notReleased": true,
"title": "Fate of the Kirin Tor"
}
],
Expand Down
16 changes: 16 additions & 0 deletions static/data/battlepets.json
Original file line number Diff line number Diff line change
Expand Up @@ -599,6 +599,14 @@
"icon": "inv_babymolepet_dark",
"name": "Snuffling",
"spellid": 449473
},
{
"ID": 3547,
"creatureId": 204354,
"icon": "inv_viperrock2_green",
"itemId": 205153,
"name": "Jade Cragviper",
"spellid": 408265
}
],
"name": "The Ringing Deeps"
Expand Down Expand Up @@ -665,6 +673,14 @@
"icon": "inv_bloodticklarvaepurple",
"name": "Vile Bloodtick",
"spellid": 446115
},
{
"ID": 3550,
"creatureId": 204361,
"icon": "inv_mothunderlight_red",
"itemId": 205157,
"name": "Undermoth",
"spellid": 408314
}
],
"name": "Azj-Kahet"
Expand Down
57 changes: 29 additions & 28 deletions static/data/mounts.json
Original file line number Diff line number Diff line change
Expand Up @@ -169,25 +169,6 @@
],
"name": "Trading Post: December"
},
{
"items": [
{
"ID": 2199,
"icon": "inv_nightsaberhordemount_black",
"itemId": 223459,
"name": "Blackrock Warsaber",
"spellid": 449132
},
{
"ID": 2203,
"icon": "inv_alliancewolfmount2_purple",
"itemId": 223471,
"name": "Kaldorei War Wolf",
"spellid": 449142
}
],
"name": "Twitch Drops"
},
{
"items": [
{
Expand All @@ -211,6 +192,13 @@
"name": "Hateforged Blazecycle",
"spellid": 428067
},
{
"ID": 571,
"icon": "ability_mount_ironchimera",
"itemId": 107951,
"name": "Iron Skyreaver",
"spellid": 153489
},
{
"ID": 1579,
"icon": "inv_sharkraymount_4",
Expand Down Expand Up @@ -490,7 +478,7 @@
{
"ID": 1943,
"icon": "inv_motorcyclefelreavermount_fel",
"itemId": "229348",
"itemId": 229348,
"name": "Incognitro, the Indecipherable Felcycle",
"spellid": 428013
}
Expand Down Expand Up @@ -9576,14 +9564,6 @@
"name": "Dread Raven",
"spellid": 155741
},
{
"ID": 571,
"icon": "ability_mount_ironchimera",
"itemId": 107951,
"name": "Iron Skyreaver",
"notObtainable": true,
"spellid": 153489
},
{
"ID": 593,
"icon": "ability_mount_clockworkhorse",
Expand Down Expand Up @@ -10174,6 +10154,27 @@
}
],
"name": "Annual Subscription"
},
{
"items": [
{
"ID": 2199,
"icon": "inv_nightsaberhordemount_black",
"itemId": 223459,
"name": "Blackrock Warsaber",
"notObtainable": true,
"spellid": 449132
},
{
"ID": 2203,
"icon": "inv_alliancewolfmount2_purple",
"itemId": 223471,
"name": "Kaldorei War Wolf",
"notObtainable": true,
"spellid": 449142
}
],
"name": "Twitch Drops"
}
]
},
Expand Down
119 changes: 46 additions & 73 deletions static/data/pets.json
Original file line number Diff line number Diff line change
Expand Up @@ -267,28 +267,14 @@
{
"ID": 4682,
"creatureId": 232502,
"icon": "inv_foxpetdetective",
"icon": "6075526",
"itemId": 231294,
"name": "Reven",
"spellid": 468186
}
],
"name": "Charity Bundle"
},
{
"id": "a969d4a1",
"items": [
{
"ID": 4629,
"creatureId": 198987,
"icon": "inv_babymurlo3frost",
"itemId": 229366,
"name": "Brrrgl",
"spellid": 464798
}
],
"name": "Blizzard Gear Store"
},
{
"items": [
{
Expand Down Expand Up @@ -425,6 +411,14 @@
"itemId": 225934,
"name": "Lil' Bonechewer",
"spellid": 446493
},
{
"ID": 4490,
"creatureId": 222574,
"icon": "inv_spiderpet_brown",
"itemId": 222970,
"name": "Fuzzy",
"spellid": 446435
}
],
"name": "Achievement"
Expand Down Expand Up @@ -580,14 +574,6 @@
"itemId": 221819,
"name": "Shadowbog Hopper",
"spellid": 446031
},
{
"ID": 4726,
"creatureId": 235124,
"icon": "ability_mount_bluewindrider",
"itemId": 234379,
"name": "Crackleroar",
"spellid": 1213821
}
],
"name": "Treasure"
Expand Down Expand Up @@ -802,6 +788,19 @@
],
"name": "Dungeon Drop"
},
{
"items": [
{
"ID": 4726,
"creatureId": 235124,
"icon": "ability_mount_bluewindrider",
"itemId": 234379,
"name": "Crackleroar",
"spellid": 1213821
}
],
"name": "Siren Isle"
},
{
"items": [
{
Expand Down Expand Up @@ -915,16 +914,6 @@
"notReleased": true,
"spellid": 446119
},
{
"ID": 4490,
"creatureId": 222574,
"icon": "inv_spiderpet_brown",
"itemId": 222970,
"name": "Fuzzy",
"notObtainable": true,
"notReleased": true,
"spellid": 446435
},
{
"ID": 4493,
"creatureId": 222080,
Expand Down Expand Up @@ -2326,26 +2315,6 @@
"notReleased": true,
"spellid": 408254
},
{
"ID": 3547,
"creatureId": 204354,
"icon": "inv_viperrock2_green",
"itemId": 205153,
"name": "Jade Cragviper",
"notObtainable": true,
"notReleased": true,
"spellid": 408265
},
{
"ID": 3550,
"creatureId": 204361,
"icon": "inv_mothunderlight_red",
"itemId": 205157,
"name": "Undermoth",
"notObtainable": true,
"notReleased": true,
"spellid": 408314
},
{
"ID": 3554,
"creatureId": 204368,
Expand Down Expand Up @@ -8912,8 +8881,6 @@
"icon": "6027035",
"itemId": 232531,
"name": "Grunch",
"notObtainable": true,
"notReleased": true,
"spellid": 471121
}
],
Expand Down Expand Up @@ -11208,24 +11175,6 @@
},
{
"items": [
{
"ID": 245,
"creatureId": 36908,
"icon": "inv_misc_pet_02",
"itemId": 49662,
"name": "Gryphon Hatchling",
"notObtainable": true,
"spellid": 69535
},
{
"ID": 246,
"creatureId": 36909,
"icon": "inv_misc_pet_04",
"itemId": 49663,
"name": "Wind Rider Cub",
"notObtainable": true,
"spellid": 69536
},
{
"ID": 256,
"creatureId": 40703,
Expand Down Expand Up @@ -12146,13 +12095,37 @@
},
{
"items": [
{
"ID": 245,
"creatureId": 36908,
"icon": "inv_misc_pet_02",
"itemId": 49662,
"name": "Gryphon Hatchling",
"spellid": 69535
},
{
"ID": 246,
"creatureId": 36909,
"icon": "inv_misc_pet_04",
"itemId": 49663,
"name": "Wind Rider Cub",
"spellid": 69536
},
{
"ID": 4630,
"creatureId": 230834,
"icon": "5834819",
"itemId": 229368,
"name": "Gill'el",
"spellid": 464808
},
{
"ID": 4629,
"creatureId": 198987,
"icon": "inv_babymurlo3frost",
"itemId": 229366,
"name": "Brrrgl",
"spellid": 464798
}
],
"name": "Blizzard Gear Store"
Expand Down
Loading

0 comments on commit f6e55ba

Please sign in to comment.