Corrected canWound logic
Previously, players were unable to kill characters if the cost of an action was to wound.
This commit is contained in:
@@ -278,7 +278,7 @@ public class PlayConditions {
|
||||
@Override
|
||||
public boolean visitPhysicalCard(PhysicalCard physicalCard) {
|
||||
if (filter.accepts(gameState, modifiersQuerying, physicalCard)
|
||||
&& modifiersQuerying.getVitality(gameState, physicalCard) > times
|
||||
&& modifiersQuerying.getVitality(gameState, physicalCard) >= times
|
||||
&& modifiersQuerying.canTakeWounds(gameState, (source != null)?Collections.singleton(source):Collections.<PhysicalCard>emptySet(), physicalCard, times))
|
||||
_woundableCount++;
|
||||
return _woundableCount >= count;
|
||||
|
||||
Reference in New Issue
Block a user