Removing overrides.

This commit is contained in:
marcins78@gmail.com
2012-11-18 00:13:13 +00:00
parent d4e0907bfb
commit 007fcb39fc
5 changed files with 7 additions and 30 deletions

View File

@@ -57,12 +57,8 @@ public class Card1_124 extends AbstractOldEvent {
return "Exert Ring-bearer";
}
});
possibleEffects.add(new AddBurdenEffect(self, 1) {
@Override
public String getText(LotroGame game) {
return "Add a burden";
}
});
possibleEffects.add(
new AddBurdenEffect(self, 1));
action.appendEffect(
new ChoiceEffect(action, fpPlayer, possibleEffects));

View File

@@ -61,12 +61,8 @@ public class Card1_162 extends AbstractPermanent {
return "Exert the Ring-bearer";
}
});
possibleEffects.add(new AddBurdenEffect(self, 1) {
@Override
public String getText(LotroGame game) {
return "Add a burden";
}
});
possibleEffects.add(
new AddBurdenEffect(self, 1));
action.appendEffect(
new ChoiceEffect(action, game.getGameState().getCurrentPlayerId(), possibleEffects));

View File

@@ -60,12 +60,7 @@ public class Card1_244 extends AbstractAttachable {
RequiredTriggerAction action = new RequiredTriggerAction(self);
List<Effect> possibleEffects = new LinkedList<Effect>();
possibleEffects.add(
new AddBurdenEffect(self, 1) {
@Override
public String getText(LotroGame game) {
return "Add a burden";
}
});
new AddBurdenEffect(self, 1));
possibleEffects.add(
new ChooseAndDiscardCardsFromHandEffect(action, game.getGameState().getCurrentPlayerId(), false, 3) {
@Override

View File

@@ -51,12 +51,7 @@ public class Card1_214 extends AbstractResponseOldEvent {
}
});
possibleEffects.add(
new AddBurdenEffect(self, 1) {
@Override
public String getText(LotroGame game) {
return "Add a burden";
}
});
new AddBurdenEffect(self, 1));
action.appendEffect(
new ChoiceEffect(action, game.getGameState().getCurrentPlayerId(), possibleEffects));
return Collections.singletonList(action);

View File

@@ -47,12 +47,7 @@ public class Card6_088 extends AbstractMinion {
}
});
possibleEffects.add(
new AddBurdenEffect(self, 1) {
@Override
public String getText(LotroGame game) {
return "Add a burden";
}
});
new AddBurdenEffect(self, 1));
action.appendEffect(
new ChoiceEffect(action, game.getGameState().getCurrentPlayerId(), possibleEffects));
return Collections.singletonList(action);