- Fixed Island of Wak Wak.

This commit is contained in:
Achilles 2017-03-04 10:29:18 -06:00
parent 545b21881b
commit ca0371eade

View file

@ -95,8 +95,8 @@ class IslandOfWakWakEffect extends OneShotEffect {
public boolean apply(Game game, Ability source) { public boolean apply(Game game, Ability source) {
Permanent targetCreature = game.getPermanent(source.getFirstTarget()); Permanent targetCreature = game.getPermanent(source.getFirstTarget());
if (targetCreature != null) { if (targetCreature != null) {
MageInt toughness = targetCreature.getToughness(); int toughness = targetCreature.getToughness().getBaseValue();
game.addEffect(new SetPowerToughnessTargetEffect(0, toughness.getValue(), Duration.EndOfTurn), source); game.addEffect(new SetPowerToughnessTargetEffect(0, toughness, Duration.EndOfTurn), source);
return true; return true;
} }
return false; return false;