Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Th17 - New Th, Troop, Spell, Hero, & Equipment #248

Merged
merged 37 commits into from
Jan 2, 2025
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
f42dba5
updated static updater to use the "dynamic" way of getting fingerprin…
MagicTheDev Nov 26, 2024
be9fb17
added new troop ids
MagicTheDev Nov 26, 2024
e874403
added new spell ids
MagicTheDev Nov 26, 2024
8dace18
update enums w/ new troop, spell, hero, & equipment
MagicTheDev Nov 26, 2024
b39d6ad
new static files
MagicTheDev Nov 26, 2024
ef5a1d2
Generalize cls definitions to be supported by every client api call. …
doluk Dec 8, 2024
5c5b5a5
Point cls to newly introduced object_cls
doluk Dec 8, 2024
1ec875e
Typedef fix
doluk Dec 8, 2024
f4b5a24
Fix Typing
doluk Dec 8, 2024
2798e80
new static files
MagicTheDev Dec 22, 2024
462ae4b
new static files parsing
MagicTheDev Dec 22, 2024
140d4de
update json loaders to accomodate the new json based static files, wh…
MagicTheDev Dec 22, 2024
f3d924d
change to order of unlocking
MagicTheDev Dec 22, 2024
3bf3c9b
add lavaloon puppet
MagicTheDev Dec 22, 2024
c426c01
version change
MagicTheDev Dec 22, 2024
d9e9b86
cleanup
MagicTheDev Dec 23, 2024
17288a8
new version
MagicTheDev Dec 23, 2024
b6e5f41
added get_equipment
MagicTheDev Dec 23, 2024
d4b94d7
added get_equipment
MagicTheDev Dec 23, 2024
f6ef01d
fix hv & bb baby dragon swap
MagicTheDev Dec 23, 2024
059c156
fix super troops
MagicTheDev Dec 23, 2024
1f7884a
training cost no longer exists, and training time is constant
MagicTheDev Dec 23, 2024
567ad8e
training cost no longer exists, and training time is constant
MagicTheDev Dec 23, 2024
f125334
fix get_equipment, continued
MagicTheDev Dec 23, 2024
dd5615b
Update enums.py
MagicTheDev Dec 23, 2024
fe5fa42
Merge pull request #251 from mathsman5133/current_war_index_error
MagicTheDev Jan 1, 2025
e53c709
fix imports
MagicTheDev Jan 1, 2025
e0d1ea8
remove import
MagicTheDev Jan 1, 2025
8360556
remove walrus operator
MagicTheDev Jan 1, 2025
d90b10f
remove space
MagicTheDev Jan 1, 2025
ba0324c
Merge branch 'master' into th17
MagicTheDev Jan 1, 2025
3ea5b92
update changelog
MagicTheDev Jan 1, 2025
acad7e9
Merge remote-tracking branch 'origin/th17' into th17
MagicTheDev Jan 1, 2025
67c2cc7
update changelog
MagicTheDev Jan 2, 2025
eaad195
update changelog
MagicTheDev Jan 2, 2025
31d5e23
update changelog
MagicTheDev Jan 2, 2025
c5b7c19
update changelog
MagicTheDev Jan 2, 2025
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
8 changes: 6 additions & 2 deletions coc/enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ def in_game_name(self) -> str:
"Dragon Rider",
"Electro Titan",
"Root Rider",
"Thrower"
]


Expand Down Expand Up @@ -247,6 +248,7 @@ def in_game_name(self) -> str:
"Clone Spell",
"Invisibility Spell",
"Recall Spell",
"Revive Spell"
]


Expand All @@ -262,7 +264,7 @@ def in_game_name(self) -> str:

SPELL_ORDER = ELIXIR_SPELL_ORDER + DARK_ELIXIR_SPELL_ORDER

HOME_BASE_HERO_ORDER = ["Barbarian King", "Archer Queen", "Grand Warden", "Royal Champion"]
HOME_BASE_HERO_ORDER = ["Barbarian King", "Archer Queen", "Grand Warden", "Royal Champion", "Minion Prince"]
doluk marked this conversation as resolved.
Show resolved Hide resolved
BUILDER_BASE_HERO_ORDER = ["Battle Machine", "Battle Copter"]
HERO_ORDER = HOME_BASE_HERO_ORDER + BUILDER_BASE_HERO_ORDER

Expand Down Expand Up @@ -301,7 +303,9 @@ def in_game_name(self) -> str:
"Fireball",
"Spiky Ball",
"Rocket Spear",
"Magic Mirror"
"Magic Mirror",
"Henchmen Puppet",
"Dark Orb"
doluk marked this conversation as resolved.
Show resolved Hide resolved
]

ACHIEVEMENT_ORDER = [
Expand Down
Loading
Loading