Skip to content

Commit

Permalink
Version 2.5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
fmoraes74 committed Sep 16, 2023
1 parent d2b7156 commit afb0722
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 4 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
# 2.5.4
## New
- Updated for Hearthstone 27.2.2
## Fixes
- Fixed turn timer, card turn number, etc... not updating after previous change
- Fixed Tier 7 pre lobby showing as disabled
- Added missing Caverns of Time icon.
## Bob's Buddy
- Fixed an issue with a player having multiple Recurring Nightmares.
- Fixed various card issues related to cards updated in Hearthstone 27.2.2.

# 2.5.3
## New
**Bob's Buddy**
Expand Down
4 changes: 2 additions & 2 deletions HSTracker.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -3946,7 +3946,7 @@
);
LIBRARY_SEARCH_PATHS = "$(PROJECT_DIR)/downloaded-frameworks/mono/runtimes/osx-x64/native";
MACOSX_DEPLOYMENT_TARGET = 10.14;
MARKETING_VERSION = 2.5.3;
MARKETING_VERSION = 2.5.4;
OTHER_CFLAGS = "$(inherited)";
OTHER_CODE_SIGN_FLAGS = "--deep";
OTHER_LDFLAGS = "$(inherited)";
Expand Down Expand Up @@ -3991,7 +3991,7 @@
);
LIBRARY_SEARCH_PATHS = "$(PROJECT_DIR)/downloaded-frameworks/mono/runtimes/osx-x64/native";
MACOSX_DEPLOYMENT_TARGET = 10.14;
MARKETING_VERSION = 2.5.3;
MARKETING_VERSION = 2.5.4;
OTHER_CODE_SIGN_FLAGS = "--deep";
OTHER_LDFLAGS = "$(inherited)";
PRODUCT_BUNDLE_IDENTIFIER = net.hearthsim.hstracker;
Expand Down
2 changes: 1 addition & 1 deletion HSTracker/HearthMirror-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
9217a3effd6e3a2fb35f43cbcb82fbdea477baa4
9a2b42db04c0044c245f3adba39d66e4c3bf9153
1 change: 1 addition & 0 deletions HSTracker/Logging/Enums/GameTag.swift
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,7 @@ enum GameTag: Int, WrappableEnum, CaseIterable, Codable {
sidequest = 1192,
mega_windfury = 1207,
creator_dbid = 1284,
bacon_dummy_player = 1349,
allow_move_minion = 1356,
next_opponent_player_id = 1360,
invoke_counter = 1366,
Expand Down
6 changes: 5 additions & 1 deletion HSTracker/Logging/Parsers/PowerGameStateParser.swift
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ class PowerGameStateParser: LogEventParser {
var entity = eventHandler.entities.values
.first { $0.name == rawEntity }

if let entity = entity {
if let entity = entity {
tagChangeHandler.tagChange(eventHandler: eventHandler, rawTag: tag,
id: entity.id, rawValue: value)
} else {
Expand Down Expand Up @@ -167,6 +167,10 @@ class PowerGameStateParser: LogEventParser {
_tag == .current_player && tagValue == 0 {
entity = eventHandler.entities.values
.first { $0.has(tag: .current_player) }
} else if _tag == .hero_entity {
if let bob = players.first(where: { x in x.has(tag: .bacon_dummy_player) }) {
entity = bob
}
}

if let entity = entity, let tmpEntity = tmpEntity {
Expand Down

0 comments on commit afb0722

Please sign in to comment.