mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 21:12:04 -08:00
* Gitrog Monster - Fixed that triggered ability was not handled correctly after a control change (fixes #3251).
This commit is contained in:
parent
795218b030
commit
afb7de2fbb
3 changed files with 80 additions and 7 deletions
|
|
@ -37,7 +37,6 @@ import java.util.Map;
|
|||
import java.util.UUID;
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
import mage.MageObject;
|
||||
import mage.cards.Card;
|
||||
import mage.constants.Zone;
|
||||
import mage.designations.Designation;
|
||||
import mage.game.Game;
|
||||
|
|
@ -119,8 +118,6 @@ public class TriggeredAbilities extends ConcurrentHashMap<String, TriggeredAbili
|
|||
} else if (object instanceof Spell) {
|
||||
// needed so that cast triggered abilities have to correct controller (e.g. Ulamog, the Infinite Gyre).
|
||||
ability.setControllerId(((Spell) object).getControllerId());
|
||||
} else if (object instanceof Card) {
|
||||
ability.setControllerId(((Card) object).getOwnerId());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue