mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-14 17:58:01 +00:00
add NonLegendary param to copySpellHost (for Double Major)
This commit is contained in:
@@ -133,6 +133,10 @@ public class CardFactory {
|
||||
final Card original = targetSA.getHostCard();
|
||||
final Card c = copyCard(original, true);
|
||||
|
||||
if (sourceSA.hasParam("NonLegendary")) {
|
||||
c.removeType(CardType.Supertype.Legendary);
|
||||
}
|
||||
|
||||
// change the color of the copy (eg: Fork)
|
||||
if (null != sourceSA && sourceSA.hasParam("CopyIsColor")) {
|
||||
String tmp = "";
|
||||
|
||||
Reference in New Issue
Block a user