mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
* Fixed that ETB abilities of manifested cards did wrongly trigger (e.g. the Constellation ability of Doomwake Giant manifested by Reality Shift).
This commit is contained in:
parent
bc3dc9d548
commit
aaed6935bc
1 changed files with 1 additions and 3 deletions
|
@ -103,9 +103,7 @@ public class TriggeredAbilities extends ConcurrentHashMap<String, TriggeredAbili
|
||||||
exists = false;
|
exists = false;
|
||||||
if (object instanceof PermanentCard) {
|
if (object instanceof PermanentCard) {
|
||||||
PermanentCard permanent = (PermanentCard)object;
|
PermanentCard permanent = (PermanentCard)object;
|
||||||
if (permanent.isFaceDown()) {
|
if (permanent.canTransform() && event.getType() == GameEvent.EventType.TRANSFORMED) {
|
||||||
exists = ability.getWorksFaceDown();
|
|
||||||
} else if (permanent.canTransform() && event.getType() == GameEvent.EventType.TRANSFORMED) {
|
|
||||||
exists = permanent.getCard().getAbilities().contains(ability);
|
exists = permanent.getCard().getAbilities().contains(ability);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue