mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
Fix Emissary of Soulfire (#5350)
This commit is contained in:
@@ -1657,7 +1657,12 @@ public class Card extends GameEntity implements Comparable<Card>, IHasSVars {
|
||||
|
||||
long timestamp = game.getNextTimestamp();
|
||||
counterTypeTimestamps.put(counterType, timestamp);
|
||||
addChangedCardKeywords(ImmutableList.of(counterType.toString()), null, false, timestamp, 0, updateView);
|
||||
|
||||
int num = 1;
|
||||
if (!Keyword.smartValueOf(counterType.toString().split(":")[0]).isMultipleRedundant()) {
|
||||
num = getCounters(counterType);
|
||||
}
|
||||
addChangedCardKeywords(Collections.nCopies(num, counterType.toString()), null, false, timestamp, 0, updateView);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@@ -336,4 +336,8 @@ public enum Keyword {
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
public boolean isMultipleRedundant() {
|
||||
return isMultipleRedundant;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user