- All of the cost-to-effect actions, when cost was prevented, should now stop the "effect" part, i.e. Corsair Marauder

if the discarding of possession was prevented, will not reinforce token.
This commit is contained in:
marcins78@gmail.com
2012-09-20 13:42:34 +00:00
parent e232d5c558
commit 2b5f4a0ef0
3 changed files with 5 additions and 1 deletions

View File

@@ -54,6 +54,7 @@ public abstract class AbstractPreventableCardEffect extends AbstractEffect {
public void preventEffect(LotroGame game, PhysicalCard card) {
_preventedTargets.add(card);
_prevented = true;
}
public void incrementInstead() {

View File

@@ -9,6 +9,7 @@ import java.util.Collection;
public abstract class AbstractEffect implements Effect {
private Boolean _carriedOut;
private Boolean _successful;
protected boolean _prevented;
protected abstract FullEffectResult playEffectReturningResult(LotroGame game);
@@ -23,7 +24,7 @@ public abstract class AbstractEffect implements Effect {
public boolean wasCarriedOut() {
if (_carriedOut == null)
throw new IllegalStateException("Effect has to be played first");
return _carriedOut;
return _carriedOut && !_prevented;
}
@Override

View File

@@ -1,6 +1,8 @@
<pre style="font-size:80%">
<b>20 Sep. 2012</b>
- "Rallying Call" should now correctly prevent removal of threats by FP cards.
- All of the cost-to-effect actions, when cost was prevented, should now stop the "effect" part, i.e. Corsair Marauder
if the discarding of possession was prevented, will not reinforce token.
<b>12 Sep. 2012</b>
- "Morgul Regiment" and similar cards now trigger only during fierce assignment, only if the minion has Fierce.