* Supend - Fixed that the haste ability lasted also if a creature brought into play by supend if the creature leftz and returned the battlefield by another effect than suspend.

This commit is contained in:
LevelX2 2015-09-05 11:51:02 +02:00
parent 328c6bd461
commit 411ea27772
2 changed files with 7 additions and 10 deletions

View file

@ -409,14 +409,11 @@ class GainHasteEffect extends ContinuousEffectImpl {
suspendController = source.getControllerId();
}
Permanent permanent = game.getPermanent(source.getSourceId());
if (permanent != null) {
if (suspendController.equals(source.getControllerId())) {
permanent.addAbility(HasteAbility.getInstance(), source.getSourceId(), game);
return true;
} else {
this.discard();
}
if (permanent != null && suspendController.equals(source.getControllerId())) {
permanent.addAbility(HasteAbility.getInstance(), source.getSourceId(), game);
return true;
}
this.discard();
return false;
}