- Fixed filterListByType dealing with the "Triggered..." argument.

This commit is contained in:
Sloth
2012-03-07 11:53:30 +00:00
parent d2fd5098fd
commit 9f5d9a7a86

View File

@@ -1739,18 +1739,6 @@ public class AbilityFactory {
c = hostCard;
}
// The Wretched
else if (defined.equals("TriggeredBlocker.blocking")) {
final SpellAbility root = sa.getRootSpellAbility();
final Object crd = root.getTriggeringObject("Blocker");
// if (AllZoneUtil.getCardState((Card) crd).isBlocking()) {
// ;
// }
// {
c = AllZoneUtil.getCardState((Card) crd);
// }
}
else if (defined.equals("OriginalHost")) {
c = sa.getOriginalHost();
}
@@ -2513,6 +2501,8 @@ public class AbilityFactory {
type = type.replace("TriggeredAttacker", "Card");
} else if (type.contains("TriggeredBlocker")) {
type = type.replace("TriggeredBlocker", "Card");
} else {
type = type.replace("Triggered", "Card");
}
} else if (type.contains("Targeted")) {