mirror of
https://github.com/correl/mage.git
synced 2024-11-15 19:19:33 +00:00
* Foul Renewal - Fixed that the value was added instead of subtracted to taget's power/toughness.
This commit is contained in:
parent
cc5ad572c3
commit
100ca7c3fa
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue