mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +00:00
fix Swords to Plowshares SubAbility not giving life.
This commit is contained in:
@@ -814,6 +814,10 @@ public class AbilityFactory {
|
|||||||
list = new CardList(saTargeting.getTarget().getTargetCards().toArray());
|
list = new CardList(saTargeting.getTarget().getTargetCards().toArray());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
//TODO - this may needs edits to handle SpellAbility defineds?
|
||||||
|
list = new CardList(findParentsTargetedCard(ability).getTarget().getTargetCards().toArray());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else if (calcX[0].startsWith("Triggered")) {
|
else if (calcX[0].startsWith("Triggered")) {
|
||||||
list = new CardList();
|
list = new CardList();
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
package forge.card.abilityFactory;
|
package forge.card.abilityFactory;
|
||||||
|
|
||||||
import java.io.ObjectInputStream.GetField;
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.Random;
|
import java.util.Random;
|
||||||
|
|||||||
Reference in New Issue
Block a user