mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 12:52:06 -08:00
* 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:
parent
328c6bd461
commit
411ea27772
2 changed files with 7 additions and 10 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue