From 461a56e38337693f5704ee5cf31165a8d5578ab6 Mon Sep 17 00:00:00 2001 From: "marcin.sciesinski" Date: Tue, 14 Nov 2017 10:12:47 -0800 Subject: [PATCH] - Fixed errors with cards that have per turn limit. --- .../gemp-lotr-async/src/main/web/includes/changeLog.html | 6 ++++++ .../com/gempukku/lotro/logic/modifiers/ModifiersLogic.java | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gemp-lotr/gemp-lotr-async/src/main/web/includes/changeLog.html b/gemp-lotr/gemp-lotr-async/src/main/web/includes/changeLog.html index f0d4f4512..934c391be 100644 --- a/gemp-lotr/gemp-lotr-async/src/main/web/includes/changeLog.html +++ b/gemp-lotr/gemp-lotr-async/src/main/web/includes/changeLog.html @@ -1,4 +1,10 @@
+14 Nov. 2017
+- Fixed errors with cards that have per turn limit.
+- "Battle of Azanulbizar" no longer crashes the game, when a Dwarf follower is present.
+- "Emeralds of Girion" no longer highlights, if you can't exert an elf.
+- "If He Loses" now correctly costs 2 twilight.
+
 13 Nov. 2017
 - "Riders in Black" now correctly adds strength bonus.
 - Fixed Elrond's subtitle to "Elven Lord".
diff --git a/gemp-lotr/gemp-lotr-logic/src/main/java/com/gempukku/lotro/logic/modifiers/ModifiersLogic.java b/gemp-lotr/gemp-lotr-logic/src/main/java/com/gempukku/lotro/logic/modifiers/ModifiersLogic.java
index f703b8b3f..a549bef6e 100644
--- a/gemp-lotr/gemp-lotr-logic/src/main/java/com/gempukku/lotro/logic/modifiers/ModifiersLogic.java
+++ b/gemp-lotr/gemp-lotr-logic/src/main/java/com/gempukku/lotro/logic/modifiers/ModifiersLogic.java
@@ -74,7 +74,7 @@ public class ModifiersLogic implements ModifiersEnvironment, ModifiersQuerying {
 
     @Override
     public LimitCounter getUntilEndOfTurnLimitCounter(PhysicalCard card, String prefix) {
-        LimitCounter limitCounter = _turnLimitCounters.get(card.getCardId());
+        LimitCounter limitCounter = _turnLimitCounters.get(prefix + card.getCardId());
         if (limitCounter == null) {
             limitCounter = new DefaultLimitCounter();
             _turnLimitCounters.put(prefix + card.getCardId(), limitCounter);