[M21] Implement more cards (#6730)

* EnthrallingHold

* ArchfiendsVessel

* ConspicuousSnoop

* HoodedBlightfang

* commit set updates

* fix text

* fix Archfiend's Vessel cast from graveyard trigger and Enthralling Hold text
This commit is contained in:
htrajan 2020-06-26 17:55:43 -07:00 committed by GitHub
parent 8906f3be7b
commit 6fa1ad3aaa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 465 additions and 104 deletions

View file

@ -76,9 +76,9 @@ public class AttacksCreatureYouControlTriggeredAbility extends TriggeredAbilityI
public String getRule() {
String an;
String who = filter.getMessage();
if (who.startsWith("another")) {
if (who.startsWith("another") || who.startsWith("a ")) {
an = "";
} else if (who.startsWith("a")) {
} else if (who.length() > 0 && "aeiou".contains(who.charAt(0) + "")) {
an = "an ";
} else {
an = "a ";