Skip to content

Commit

Permalink
nmpz: changed achevement name
Browse files Browse the repository at this point in the history
  • Loading branch information
sh-mug committed Oct 23, 2024
1 parent 6f96238 commit ee11c08
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions achievements/achievements.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4381,12 +4381,12 @@ const achievements: Achievement[] = [
value: 1000,
},
{
id: 'nmpz-country-30sec',
id: 'nmpz-country-no-hint',
difficulty: 'hard',
title: 'in 0.5 minutes',
title: 'But I can see no hints',
condition: 'NMPZでヒントなしで国を正解する',
category: 'nmpz',
counter: 'nmpz-country-30sec-answer',
counter: 'nmpz-country-no-hint-answer',
value: 1,
},
{
Expand Down
2 changes: 1 addition & 1 deletion nmpz/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ export default async ({ eventClient, webClient: slack }: SlackInterface) => {
if (result.state === "solved") {
await increment(result.correctAnswerer, "nmpz-country-answer");
if (result.hintIndex === 0) {
await increment(result.correctAnswerer, "nmpz-country-30sec-answer");
await increment(result.correctAnswerer, "nmpz-country-no-hint-answer");
}
if (result.quiz.answer === "タイ") {
await increment(result.correctAnswerer, "nmpz-country-thailand-answer");
Expand Down

0 comments on commit ee11c08

Please sign in to comment.