mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
Fecundity was converted to triggers. The hard-coded stuff was never removed or commented. Now, it is removed.
This commit is contained in:
@@ -2064,22 +2064,7 @@ public class GameAction {
|
||||
// Destroy needs to be called with Last Known Information
|
||||
c.destroy();
|
||||
|
||||
//destroy card effects:
|
||||
CardList list = AllZoneUtil.getCardsInPlay();
|
||||
list = list.filter(new CardListFilter() {
|
||||
public boolean addCard(Card c) {
|
||||
ArrayList<String> keywords = c.getKeyword();
|
||||
for(String kw:keywords) {
|
||||
if(kw.startsWith("Whenever ") && kw.contains(" put into")
|
||||
&& kw.contains("graveyard from the battlefield,")) return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
});
|
||||
|
||||
checkWheneverKeyword(c, "PermanentIntoGraveyard",null);
|
||||
for(int i = 0; i < list.size(); i++)
|
||||
GameActionUtil.executeDestroyCardEffects(list.get(i), c);
|
||||
|
||||
if(persist) {
|
||||
final Card persistCard = newCard;
|
||||
|
||||
Reference in New Issue
Block a user