mirror of
https://github.com/magefree/mage.git
synced 2026-01-24 20:29:19 -08:00
Added some tests.
This commit is contained in:
parent
467a11b4cd
commit
38865e2495
3 changed files with 83 additions and 1 deletions
|
|
@ -143,6 +143,7 @@ class SidisiBroodTyrantTriggeredAbility extends ZoneChangeTriggeredAbility {
|
|||
if (stackObject == null) {
|
||||
stackObject = (StackObject) game.getLastKnownInformation(event.getSourceId(), Zone.STACK);
|
||||
}
|
||||
// If multiple cards go to graveyard from replacement effect (e.g. Dredge) each card is wrongly handled as a new event
|
||||
if (stackObject != null) {
|
||||
if (stackObject.getId().equals(lastStackObjectId)) {
|
||||
return false; // was already handled
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue