- 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:
@@ -54,6 +54,7 @@ public abstract class AbstractPreventableCardEffect extends AbstractEffect {
|
|||||||
|
|
||||||
public void preventEffect(LotroGame game, PhysicalCard card) {
|
public void preventEffect(LotroGame game, PhysicalCard card) {
|
||||||
_preventedTargets.add(card);
|
_preventedTargets.add(card);
|
||||||
|
_prevented = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void incrementInstead() {
|
public void incrementInstead() {
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ import java.util.Collection;
|
|||||||
public abstract class AbstractEffect implements Effect {
|
public abstract class AbstractEffect implements Effect {
|
||||||
private Boolean _carriedOut;
|
private Boolean _carriedOut;
|
||||||
private Boolean _successful;
|
private Boolean _successful;
|
||||||
|
protected boolean _prevented;
|
||||||
|
|
||||||
protected abstract FullEffectResult playEffectReturningResult(LotroGame game);
|
protected abstract FullEffectResult playEffectReturningResult(LotroGame game);
|
||||||
|
|
||||||
@@ -23,7 +24,7 @@ public abstract class AbstractEffect implements Effect {
|
|||||||
public boolean wasCarriedOut() {
|
public boolean wasCarriedOut() {
|
||||||
if (_carriedOut == null)
|
if (_carriedOut == null)
|
||||||
throw new IllegalStateException("Effect has to be played first");
|
throw new IllegalStateException("Effect has to be played first");
|
||||||
return _carriedOut;
|
return _carriedOut && !_prevented;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
<pre style="font-size:80%">
|
<pre style="font-size:80%">
|
||||||
<b>20 Sep. 2012</b>
|
<b>20 Sep. 2012</b>
|
||||||
- "Rallying Call" should now correctly prevent removal of threats by FP cards.
|
- "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>
|
<b>12 Sep. 2012</b>
|
||||||
- "Morgul Regiment" and similar cards now trigger only during fierce assignment, only if the minion has Fierce.
|
- "Morgul Regiment" and similar cards now trigger only during fierce assignment, only if the minion has Fierce.
|
||||||
|
|||||||
Reference in New Issue
Block a user