-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Achievements * no click attack challenge making things annoying
- Loading branch information
Showing
6 changed files
with
73 additions
and
1 deletion.
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
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 @@ | ||
As the player earns achievements they will receive bonuses to [[Pokémon Dollars]], [[Dungeon Tokens]], and Experience from all sources. Click Attack and [[Flutes]] are also boosted by achievement bonus. The **Achievement Tracker** is unlocked after catching 110 unique Pokémon. |
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,57 @@ | ||
<h3>Categories</h3> | ||
<table class="table table-bordered table-striped table-hover no-data-tables"> | ||
<thead> | ||
<tr> | ||
<th>Category</th> | ||
<th>Max Bonus</th> | ||
<th>Number of Achievements</th> | ||
</tr> | ||
</thead> | ||
<!-- | ||
ko with: (() => { | ||
const categories = AchievementHandler.getAchievementCategories().filter(c => (GameConstants.Region[c.name] || 0) <= GameConstants.MAX_AVAILABLE_REGION); | ||
const globalIndex = categories.findIndex(c => c.name == 'global'); | ||
categories.unshift(categories.splice(globalIndex, 1)[0]); | ||
return categories; | ||
})() | ||
--> | ||
<tbody data-bind="foreach: $data"> | ||
<tr> | ||
<td data-bind="text: GameConstants.camelCaseToString(name)"></td> | ||
<td data-bind="text: `${achievementBonus}%`"></td> | ||
<td data-bind="text: AchievementHandler.achievementList.filter(a => a.category == $data && a.achievable()).length.toLocaleString()"></td> | ||
</tr> | ||
</tbody> | ||
<tfoot> | ||
<tr class="fw-bold"> | ||
<td class="text-end">Total</td> | ||
<td data-bind="text: `${$data.reduce((sum, c) => sum += c.achievementBonus, 0).toLocaleString()}%`"></td> | ||
<td data-bind="text: AchievementHandler.achievementList.filter(a => a.achievable()).length.toLocaleString()"></td> | ||
</tr> | ||
</tfoot> | ||
<!-- /ko --> | ||
</table> | ||
|
||
<h3 class="mt-4">Achievement List</h3> | ||
<table class="table table-bordered table-striped table-hover"> | ||
<thead> | ||
<tr> | ||
<th>#</th> | ||
<th>Name</th> | ||
<th>Description</th> | ||
<th>Type</th> | ||
<th>Category</th> | ||
<th>Bonus</th> | ||
</tr> | ||
</thead> | ||
<tbody data-bind="foreach: AchievementHandler.achievementList.filter(a => a.achievable())"> | ||
<tr class="align-middle"> | ||
<td data-bind="text: $index() + 1"></td> | ||
<td data-bind="text: name"></td> | ||
<td data-bind="text: description"></td> | ||
<td data-bind="text: GameConstants.AchievementType[property.achievementType]"></td> | ||
<td data-bind="text: GameConstants.camelCaseToString(category.name)"></td> | ||
<td data-bind="text: `+ ${getBonus()}%`"></td> | ||
</tr> | ||
</tbody> | ||
</table> |
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