forked from External/mage
refactored flashback to remove unnecessary timing rule argument
This commit is contained in:
parent
05e80e3a02
commit
d93475a5bb
145 changed files with 192 additions and 234 deletions
|
|
@ -271,7 +271,7 @@ public abstract class CardImpl extends MageObjectImpl implements Card {
|
|||
&& mainCardState != null
|
||||
&& !mainCardState.hasLostAllAbilities()
|
||||
&& mainCardState.getAbilities().containsClass(FlashbackAbility.class)) {
|
||||
FlashbackAbility flash = new FlashbackAbility(this.getManaCost(), this.isInstant(game) ? TimingRule.INSTANT : TimingRule.SORCERY);
|
||||
FlashbackAbility flash = new FlashbackAbility(this, this.getManaCost());
|
||||
flash.setSourceId(this.getId());
|
||||
flash.setControllerId(this.getOwnerId());
|
||||
flash.setSpellAbilityType(this.getSpellAbility().getSpellAbilityType());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue