Keyword Formatting Question

Login or register to post comments
Mon, 2017-12-11 06:24
ousire

Hey folks; me and a friend have been brewing up a new keyword for a set he's designing, but I'm having issues inputting it into the Set Editor; this is my first time making a custom keyword like this. The problem is that the keyword needs to function both as a cost for an ability, and as something that can be done by paying costs, so it'll be worded differently, and I can't get the set editor to recognize multiple versions. The keyword is called Illuminate, and it makes a player reveal a certain number of cards from their hand and keep them revealed. Our current reminder text is "To illuminate, reveal an unilluminated card from your hand. That card stays revealed and illuminated for as long as it stays in your hand."

So for example a creature could have:

"Illuminate 2: CARDNAME gets +1/+1 until end of turn."

But something else might have:

"[pay a cost]: Target player Illuminates 1."

The problem is that the program wont recognize both "Illuminate" and "Illuminates"; My current solution is to just have two copies of the keyword, one for each with the same rules and reminder text. It works but it feels a little inelegant. I'm just wondering if there's a way to maybe put two matches into one keyword or make a more variable match? And while I'm posting about the keyword, any feedback on the mechanic or rules/reminder text would be nice.

Mon, 2017-12-11 15:07
Cajun
Cajun's picture

{ if contains(card.text, match:"arget player illuminates") then "reminder text 1" else "reminder text 2" }

Fluffy's option also works and is how 'another player scries' works.

also keep in mind keywords aren't proper nouns, and are only capitalized at the beginnings of sentences/costs.

Cajun's Explorations
Planeswalker Template Overhaul
fluffyDeathbringer wrote:
I dunno, Cajun has a habit of doing Dubiously Working new rules stuff

Tue, 2017-12-12 06:57
ousire

'fraid this isn't working for me. I copied your code into the reminder text box but it's not behaving the way I anticipated. Here's a screenshot of what's going on:

When I type in 'Illuminate {number}", the reminder text appears. When I type in some variation of "target player illuminates", no reminder text appears at all. But, if I have both on the card, then it WILL modify the reminder text of "Illuminate", but the reminder text will not appear without first having the primary match of a capital letter "Illuminate"

Tue, 2017-12-12 07:20
Cajun
Cajun's picture

put your cursor in illuminates and hit the (...) button on the ribbon. MSE won't automatically match illuminate with Illuminate but will with that button

Cajun's Explorations
Planeswalker Template Overhaul
fluffyDeathbringer wrote:
I dunno, Cajun has a habit of doing Dubiously Working new rules stuff

Tue, 2017-12-12 18:10
ousire

The button remains grayed out when I try to click it. The only time it's active is when I have "Illuminate", and the only thing that happens there is it removes the reminder text, not adds it to "illuminates"

Tue, 2017-12-12 19:21
marioware2
Head Administrator
marioware2's picture

In the keyword menu, under "Mode", make sure yours is set to action.

Sun, 2017-12-24 05:31
Jéské Couriano
Jéské Couriano's picture

Marioware2 is correct.

If a keyword's mode is set to "action" then RT for the ability will appear at the end of the paragraph with the keyword. If the mode is set to "Expert", "Core", or "Old" then the RT will appear immediately after the instance of the keyword.

Second, you want it to match with the lowercase version of the keyword if it's an action word, like so: illuminate(s). Action keywords should be treated as regex.

Ceterum censeo Bolasinem esse delendam.
Accepting new types for S:tC!
Custom Keywords!

Thu, 2018-01-11 22:08
ousire

I'm afraid I still don't understand what exactly is going on. I'm reapproaching this now that Christmas break is over and I still cannot make the reminder text appear unless I have the exact words 'Illuminate" and a number following it. I've tried changing the match text, the mode, and the reminder texts, but no matter what I've done, I cannot get the reminder text to appear on a card for a secondary match without the primary match also being on the card, and the reminder text will only appear for the primary match.

If you guys could give me the full text or a screenshot or something of a keyword that does what you're saying, that would be super helpful because it seems like I'm missing something obvious here.

Thu, 2018-01-11 22:22
Cajun
Cajun's picture

make two keywords on the action mode, one for "Illuminate <number>" and one for "illuminates <number>" Double matching with a variable isn't something easily handled by MSE's keywords.

Cajun's Explorations
Planeswalker Template Overhaul
fluffyDeathbringer wrote:
I dunno, Cajun has a habit of doing Dubiously Working new rules stuff