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
10 changes: 5 additions & 5 deletions configuration/achievements/skyblock/challenge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -895,12 +895,12 @@ achievements:
trigger: "skyblock.time_to_start_fishing_trigger"
goal: 1

- id: "skyblock.wow_that_s_useful"
- id: "skyblock.wow_thats_useful"
name: "Wow, that's useful!"
description: "Use the /wiki, /wikithis, or /wikihand command to view the Official Hypixel Wiki."
type: CHALLENGE
points: 5
trigger: "skyblock.wow_that_s_useful_trigger"
trigger: "skyblock.wow_thats_useful_trigger"
goal: 1

- id: "skyblock.at_the_speed_of_light"
Expand Down Expand Up @@ -1412,8 +1412,8 @@ achievements:
description: "Find 20 fairy souls."
type: CHALLENGE
points: 10
trigger: "skyblock.soul_hunter_trigger"
goal: 1
trigger: "skyblock.fairy_soul_found"
goal: 20

- id: "skyblock.a_challenging_climb"
name: "A Challenging Climb"
Expand Down Expand Up @@ -1524,7 +1524,7 @@ achievements:
description: "Find a fairy soul."
type: CHALLENGE
points: 5
trigger: "skyblock.lost_soul_trigger"
trigger: "skyblock.fairy_soul_found"
goal: 1

- id: "skyblock.your_big_break"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ public void run(InventoryPreClickEvent e, HypixelPlayer p) {
player.addAndUpdateItem(item);
p.closeInventory();
player.sendMessage("§aYou claimed §cNew Year Cake§a!");
player.getAchievementHandler().completeAchievement("skyblock.happy_new_year");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public void registerUsage(MinestomCommand command) {

player.sendMessage(line1);
player.sendMessage(line2);

player.getAchievementHandler().completeAchievement("skyblock.wow_thats_useful");
});
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ public void onEnd(SkyBlockPlayer player, Map<String, Object> customData, Mission
player.getSkyblockDataHandler().get(net.swofty.type.skyblockgeneric.data.SkyBlockDataHandler.Data.COINS, DatapointDouble.class).setValue(
player.getSkyblockDataHandler().get(net.swofty.type.skyblockgeneric.data.SkyBlockDataHandler.Data.COINS, DatapointDouble.class).getValue() + 1000
);
player.getAchievementHandler().completeAchievement("skyblock.quest_complete");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ public void collect(SkyBlockPlayer player) {
player.getSkyblockDataHandler()
.get(SkyBlockDataHandler.Data.FAIRY_SOULS, DatapointFairySouls.class)
.setValue(fairySouls);
player.getAchievementHandler().addProgressByTrigger("skyblock.fairy_soul_found", 1);
return;
}

Expand Down