Code lift and review of old cards.
This commit is contained in:
@@ -54,7 +54,7 @@ public class Card1_015 extends AbstractAttachableFPPossession {
|
|||||||
new SelfDiscardEffect(self));
|
new SelfDiscardEffect(self));
|
||||||
action.appendEffect(
|
action.appendEffect(
|
||||||
new AddUntilEndOfPhaseActionProxyEffect(
|
new AddUntilEndOfPhaseActionProxyEffect(
|
||||||
new PreventAllWoundsActionProxy(self, self.getAttachedTo()), Phase.SKIRMISH));
|
new PreventAllWoundsActionProxy(self, self.getAttachedTo())));
|
||||||
return Collections.singletonList(action);
|
return Collections.singletonList(action);
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
@@ -77,8 +77,7 @@ public class Card1_029 extends AbstractOldEvent {
|
|||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}, Phase.SKIRMISH
|
}));
|
||||||
));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ public class Card17_103 extends AbstractEvent {
|
|||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}, Phase.SKIRMISH));
|
}));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
return action;
|
return action;
|
||||||
|
|||||||
@@ -63,7 +63,7 @@ public class Card20_029 extends AbstractEvent {
|
|||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}, Phase.SKIRMISH));
|
}));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
return action;
|
return action;
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ public class Card20_082 extends AbstractEvent {
|
|||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}, Phase.SKIRMISH));
|
}));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
return action;
|
return action;
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ public class Card20_168 extends AbstractEvent {
|
|||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}, Phase.SKIRMISH));
|
}));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
return action;
|
return action;
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ public class Card4_047 extends AbstractPermanent {
|
|||||||
});
|
});
|
||||||
action.appendEffect(
|
action.appendEffect(
|
||||||
new AddUntilEndOfPhaseActionProxyEffect(
|
new AddUntilEndOfPhaseActionProxyEffect(
|
||||||
new PreventAllWoundsActionProxy(self, character), Phase.SKIRMISH));
|
new PreventAllWoundsActionProxy(self, character)));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
return Collections.singletonList(action);
|
return Collections.singletonList(action);
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ public class Card4_096 extends AbstractOldEvent {
|
|||||||
protected void cardSelected(LotroGame game, PhysicalCard card) {
|
protected void cardSelected(LotroGame game, PhysicalCard card) {
|
||||||
action.appendEffect(
|
action.appendEffect(
|
||||||
new AddUntilEndOfPhaseActionProxyEffect(
|
new AddUntilEndOfPhaseActionProxyEffect(
|
||||||
new PreventAllWoundsActionProxy(self, card), Phase.SKIRMISH));
|
new PreventAllWoundsActionProxy(self, card)));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
return action;
|
return action;
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ public class Card4_097 extends AbstractOldEvent {
|
|||||||
action.appendEffect(
|
action.appendEffect(
|
||||||
new PreventableEffect(action,
|
new PreventableEffect(action,
|
||||||
new AddUntilEndOfPhaseActionProxyEffect(
|
new AddUntilEndOfPhaseActionProxyEffect(
|
||||||
new PreventAllWoundsActionProxy(self, Filters.gandalf), Phase.SKIRMISH) {
|
new PreventAllWoundsActionProxy(self, Filters.gandalf)) {
|
||||||
@Override
|
@Override
|
||||||
public String getText(LotroGame game) {
|
public String getText(LotroGame game) {
|
||||||
return "Prevent all wounds to Gandalf";
|
return "Prevent all wounds to Gandalf";
|
||||||
|
|||||||
@@ -69,7 +69,7 @@ public class Card4_128 extends AbstractOldEvent {
|
|||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}, Phase.SKIRMISH));
|
}));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
return action;
|
return action;
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ public class Card4_307 extends AbstractEvent {
|
|||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}, Phase.SKIRMISH));
|
}));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
return action;
|
return action;
|
||||||
|
|||||||
@@ -73,7 +73,7 @@ public class Card6_044 extends AbstractEvent {
|
|||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}, Phase.REGROUP));
|
}));
|
||||||
return action;
|
return action;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ public class Card7_076 extends AbstractEvent {
|
|||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}, Phase.REGROUP));
|
}));
|
||||||
return action;
|
return action;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ public class Card7_083 extends AbstractEvent {
|
|||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}, Phase.SKIRMISH));
|
}));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ public class Card7_091 extends AbstractCompanion {
|
|||||||
new ChooseAndExertCharactersEffect(action, playerId, 1, 1, Filters.gandalf));
|
new ChooseAndExertCharactersEffect(action, playerId, 1, 1, Filters.gandalf));
|
||||||
action.appendEffect(
|
action.appendEffect(
|
||||||
new AddUntilEndOfPhaseActionProxyEffect(
|
new AddUntilEndOfPhaseActionProxyEffect(
|
||||||
new PreventAllWoundsActionProxy(self, self), Phase.SKIRMISH));
|
new PreventAllWoundsActionProxy(self, self)));
|
||||||
actions.add(action);
|
actions.add(action);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -72,7 +72,7 @@ public class Card8_068 extends AbstractEvent {
|
|||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}, Phase.SKIRMISH));
|
}));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ public class Card8_073 extends AbstractEvent {
|
|||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}, Phase.SKIRMISH));
|
}));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
return action;
|
return action;
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ public class Card8_082 extends AbstractEvent {
|
|||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}, Phase.SKIRMISH));
|
}));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
return action;
|
return action;
|
||||||
|
|||||||
Reference in New Issue
Block a user