- "The One Ring, Isildur's Bane" will be taken off at the end of Regroup if it was put on during Regroup
This commit is contained in:
@@ -68,20 +68,37 @@ public class Card1_001 extends AbstractAttachable {
|
||||
action.appendEffect(new PreventCardEffect(woundEffect, self.getAttachedTo()));
|
||||
action.appendEffect(new AddBurdenEffect(self, 2));
|
||||
action.appendEffect(new PutOnTheOneRingEffect());
|
||||
action.appendEffect(new AddUntilStartOfPhaseActionProxyEffect(
|
||||
new AbstractActionProxy() {
|
||||
@Override
|
||||
public List<? extends Action> getRequiredAfterTriggers(LotroGame lotroGame, EffectResult effectResult) {
|
||||
if (effectResult.getType() == EffectResult.Type.START_OF_PHASE
|
||||
&& ((StartOfPhaseResult) effectResult).getPhase() == Phase.REGROUP) {
|
||||
ActivateCardAction action = new ActivateCardAction(self);
|
||||
action.appendEffect(new TakeOffTheOneRingEffect());
|
||||
return Collections.singletonList(action);
|
||||
if (game.getGameState().getCurrentPhase() == Phase.REGROUP) {
|
||||
action.appendEffect(new AddUntilEndOfPhaseActionProxyEffect(
|
||||
new AbstractActionProxy() {
|
||||
@Override
|
||||
public List<? extends Action> getRequiredAfterTriggers(LotroGame lotroGame, EffectResult effectResult) {
|
||||
if (effectResult.getType() == EffectResult.Type.END_OF_PHASE
|
||||
&& ((StartOfPhaseResult) effectResult).getPhase() == Phase.REGROUP) {
|
||||
ActivateCardAction action = new ActivateCardAction(self);
|
||||
action.appendEffect(new TakeOffTheOneRingEffect());
|
||||
return Collections.singletonList(action);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
, Phase.REGROUP));
|
||||
, Phase.REGROUP));
|
||||
} else {
|
||||
action.appendEffect(new AddUntilStartOfPhaseActionProxyEffect(
|
||||
new AbstractActionProxy() {
|
||||
@Override
|
||||
public List<? extends Action> getRequiredAfterTriggers(LotroGame lotroGame, EffectResult effectResult) {
|
||||
if (effectResult.getType() == EffectResult.Type.START_OF_PHASE
|
||||
&& ((StartOfPhaseResult) effectResult).getPhase() == Phase.REGROUP) {
|
||||
ActivateCardAction action = new ActivateCardAction(self);
|
||||
action.appendEffect(new TakeOffTheOneRingEffect());
|
||||
return Collections.singletonList(action);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
, Phase.REGROUP));
|
||||
}
|
||||
|
||||
actions.add(action);
|
||||
return actions;
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
- Permanents will no longer highlight in had if they have Response action on them
|
||||
- Fixed all the cards that were supposed to discard themselves on use, but did not (i.e. "Gondor Bowmen")
|
||||
- Drawing cards now correctly triggers "Verily I Come"
|
||||
- "The One Ring, Isildur's Bane" will be taken off at the end of Regroup if it was put on during Regroup
|
||||
|
||||
<b>14 Oct. 2011</b>
|
||||
- Uruviel and all other copying site allies should now correctly have modifiers off sites
|
||||
|
||||
Reference in New Issue
Block a user