-
Notifications
You must be signed in to change notification settings - Fork 568
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2b1b70d
commit 5423cb8
Showing
13 changed files
with
89 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
app/sdk/achievements/loginBasedAchievements/newPlayerCardsLoginAchievement.coffee
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
Achievement = require 'app/sdk/achievements/achievement' | ||
moment = require 'moment' | ||
GiftCrateLookup = require 'app/sdk/giftCrates/giftCrateLookup' | ||
|
||
# This achievement exists so we can give new players a head start on their collection. | ||
class NewPlayerCardsLoginAchievement extends Achievement | ||
@id: "newPlayerCardsLoginAchievement" | ||
@title: "Welcome to Duelyst!" | ||
@description: "Open this crate to receive a complete card collection! If the client freezes, reload the page." | ||
@progressRequired: 1 | ||
@rewards: | ||
giftChests: [GiftCrateLookup.FullCollection] | ||
|
||
@enabled: true | ||
|
||
@progressForLoggingIn: (currentLoginMoment) -> | ||
return 1 | ||
|
||
@getLoginAchievementStartsMoment: () -> | ||
return moment.utc("2022-10-28T00:00-00:00") | ||
|
||
module.exports = NewPlayerCardsLoginAchievement |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
class CardSet | ||
|
||
@GauntletSpecial: -1 | ||
|
||
@Core: 1 | ||
@Shimzar: 2 | ||
@Bloodborn: 3 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.