- Fixed errors with cards that have per turn limit.

This commit is contained in:
marcin.sciesinski
2017-11-14 10:12:47 -08:00
parent 1cc8103769
commit 461a56e383
2 changed files with 7 additions and 1 deletions

View File

@@ -1,4 +1,10 @@
<pre style="font-size:80%">
<b>14 Nov. 2017</b>
- 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.
<b>13 Nov. 2017</b>
- "Riders in Black" now correctly adds strength bonus.
- Fixed Elrond's subtitle to "Elven Lord".

View File

@@ -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);