leothehuman / magic-judge-telegram-bot

1 stars 3 forks source link

/q return extra results #1

Open leothehuman opened 7 years ago

leothehuman commented 7 years ago

/q returns extra results when you mention the card name, that contains other card names inside it. Can be fixed by making sure that the card names are not contained in the other card names in the text.

leothehuman commented 7 years ago

/q Chandra ablaze "Blaze": Blaze {X}{R} Sorcery Blaze deals X damage to target creature or player. "Chandra Ablaze": Chandra Ablaze {4}{R}{R} Planeswalker — Chandra +1: Discard a card. If a red card is discarded this way, Chandra Ablaze deals 4 damage to target creature or player. −2: Each player discards his or her hand, then draws three cards. −7: Cast any number of red instant and/or sorcery cards from your graveyard without paying their mana costs. 5

leothehuman commented 7 years ago

"/q Searing blaze" should not output blaze, but "/q Searing blaze and blaze" should.