* Foul Renewal - Fixed that the value was added instead of subtracted to taget's power/toughness.

This commit is contained in:
LevelX2 2015-03-28 10:09:46 +01:00
parent cc5ad572c3
commit 100ca7c3fa

View file

@ -94,7 +94,7 @@ class FoulRenewalEffect extends OneShotEffect {
if (controller != null) { if (controller != null) {
Card card = game.getCard(targetPointer.getFirst(game, source)); Card card = game.getCard(targetPointer.getFirst(game, source));
if (card != null) { if (card != null) {
int xValue = card.getToughness().getValue(); int xValue = card.getToughness().getValue() * -1;
controller.moveCardToHandWithInfo(card, source.getSourceId(), game, Zone.GRAVEYARD); controller.moveCardToHandWithInfo(card, source.getSourceId(), game, Zone.GRAVEYARD);
if (xValue != 0) { if (xValue != 0) {
ContinuousEffect effect = new BoostTargetEffect(xValue,xValue, Duration.EndOfTurn); ContinuousEffect effect = new BoostTargetEffect(xValue,xValue, Duration.EndOfTurn);