mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 18:28:00 +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 original = targetSA.getHostCard();
|
||||||
final Card c = copyCard(original, true);
|
final Card c = copyCard(original, true);
|
||||||
|
|
||||||
|
if (sourceSA.hasParam("NonLegendary")) {
|
||||||
|
c.removeType(CardType.Supertype.Legendary);
|
||||||
|
}
|
||||||
|
|
||||||
// change the color of the copy (eg: Fork)
|
// change the color of the copy (eg: Fork)
|
||||||
if (null != sourceSA && sourceSA.hasParam("CopyIsColor")) {
|
if (null != sourceSA && sourceSA.hasParam("CopyIsColor")) {
|
||||||
String tmp = "";
|
String tmp = "";
|
||||||
|
|||||||
Reference in New Issue
Block a user