mirror of
https://github.com/correl/mage.git
synced 2024-11-15 19:19:33 +00:00
* Melek, Izzet Paragon - Fixed that it also triggered for spells cast from other libraries.
This commit is contained in:
parent
0c9e67377f
commit
ef1a487dd5
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ class MelekIzzetParagonTriggeredAbility extends TriggeredAbilityImpl {
|
||||||
if (event.getZone() == Zone.LIBRARY) {
|
if (event.getZone() == Zone.LIBRARY) {
|
||||||
Spell spell = game.getStack().getSpell(event.getTargetId());
|
Spell spell = game.getStack().getSpell(event.getTargetId());
|
||||||
if (spell != null
|
if (spell != null
|
||||||
&& spell.getControllerId().equals(super.getControllerId())
|
&& spell.getOwnerId().equals(super.getControllerId())
|
||||||
&& (spell.getCardType().contains(CardType.INSTANT)
|
&& (spell.getCardType().contains(CardType.INSTANT)
|
||||||
|| spell.getCardType().contains(CardType.SORCERY))) {
|
|| spell.getCardType().contains(CardType.SORCERY))) {
|
||||||
for (Effect effect : this.getEffects()) {
|
for (Effect effect : this.getEffects()) {
|
||||||
|
|
Loading…
Reference in a new issue