mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
Transmute keyword added. Dimir Infiltrator, Drift of Phantasms added. Tolaria West added, but transmute doesn't work - waiting for cycling/transmute keyword lands code.
Dimir Infiltrator broken HQ picture link corrected.
This commit is contained in:
@@ -17714,6 +17714,20 @@ return land.size() > 1 && CardFactoryUtil.AI_isMainPhase();
|
||||
}
|
||||
}//Cycling
|
||||
|
||||
if (hasKeyword(card, "Transmute") != -1)
|
||||
{
|
||||
int n = hasKeyword(card, "Transmute");
|
||||
if (n != -1)
|
||||
{
|
||||
String parse = card.getKeyword().get(n).toString();
|
||||
card.removeIntrinsicKeyword(parse);
|
||||
|
||||
String k[] = parse.split(":");
|
||||
final String manacost = k[1];
|
||||
|
||||
card.addSpellAbility(CardFactoryUtil.ability_transmute(card, manacost));
|
||||
}
|
||||
}//transmute
|
||||
|
||||
return card;
|
||||
}//getCard2
|
||||
|
||||
Reference in New Issue
Block a user