Page 1 of 3

Legacy-effect card development

PostPosted: 23 Aug 2013, 23:04
by Sonic
stassy wrote:Also just a global question about legacy text : Is it possible to add the symbols (tap, mana...) in this area..?
Yes, is the answer.

You lazy whatsit! You could have checked that in the manalink file yourself. :-P

Re: Typo thread

PostPosted: 24 Aug 2013, 04:58
by stassy
Image

You are the lazy one since no legacy cards have the tap/mana symbols [-X

Re: Typo thread

PostPosted: 24 Aug 2013, 23:23
by Sonic
stassy wrote:Image

You are the lazy one since no legacy cards have the tap/mana symbols [-X
Sorry, but I'm not sure what that has to do with whether the effect/legacy text fields accept the symbol codes, or not?

I tend to enter the data for the effects/legacy entries for a card based on its rules text - not whether a card will be known to produce a legacy card or not. Mainly because you never know if the coding will be changed at a later date and a card which doesn't currently produce a legacy card then will do.

Which legacy cards were you expecting to see the symbols used in?

Re: Typo thread

PostPosted: 26 Aug 2013, 10:31
by stassy
This one for example

ImageImage
Unless the legacy card text is completely redone it make no sense without symbols

Re: Typo thread

PostPosted: 26 Aug 2013, 21:02
by Sonic
stassy wrote:This one for example

ImageImage
Unless the legacy card text is completely redone it make no sense without symbols
How about this?

Ætherling is either unblockable, or gets +1/-1 or -1/+1 until end of turn.
If Ætherling was exiled, return it to the battlefield under its owner's control at the beginning of the next end step.

Re: Typo thread

PostPosted: 27 Aug 2013, 16:53
by stassy
Yup, that would be nice :supz:

Re: Typo thread

PostPosted: 27 Aug 2013, 21:59
by Korath
Seems like a good candidate for those |#1 |#2 etc. switches.

Re: Typo thread

PostPosted: 27 Aug 2013, 22:41
by Sonic
Korath wrote:Seems like a good candidate for those |#1 |#2 etc. switches.
It'll be a real pain testing every possible card which could be a candidate for the codes. Is there anyway I could easily establish whether a card does have an effect card set up for id 903?
I remember you mentioning the custom effects cards are.

Re: Typo thread

PostPosted: 27 Aug 2013, 23:00
by Korath
Almost all effects are; the only two that seem likely to be used more than once or twice are artifact animation (TitaniasLeg) and Aswan Jaguar (which we use to name a creature type).

Re: Typo thread

PostPosted: 27 Aug 2013, 23:39
by Sonic
Korath wrote:Almost all effects are; the only two that seem likely to be used more than once or twice are artifact animation (TitaniasLeg) and Aswan Jaguar (which we use to name a creature type).
Nope, it's not having it. All I get is:

#1Return Ætherling to the battlefield under its owner's control at the beginning of the next end step.#2Ætherling is unblockable this turn.#3Ætherling gets +1/-1 until end of turn.#4Ætherling gets -1/+1 until end of turn.

Found a bug, though. The card asks for {U} when selecting -1/+1, rather than {1}.
I'll check the reports, see if it's been mentioned before.

Re: Typo thread

PostPosted: 27 Aug 2013, 23:44
by Korath
They won't be parsed at all unless eot_toughness set higher than 0 on the legacy card.

Re: Typo thread

PostPosted: 27 Aug 2013, 23:55
by Sonic
Korath wrote:They won't be parsed at all unless eot_toughness set higher than 0 on the legacy card.
Oh well, back to 'and/or/either' then. :wink:

Re: Typo thread

PostPosted: 28 Aug 2013, 04:34
by Aswan jaguar
Korath said:
They won't be parsed at all unless eot_toughness set higher than 0 on the legacy card.
Are you going to investigate when you have time what needs to be inserted so toughness/power do change on the legacy card? or you know already how to set eot_toughness and the equivalent for power but you don't have the time to do it and need somebody to do it.

And if I understand correctly what you say if a card has no power/toughness alteration for both abilities (for instance {T} :gain flying, {T} :gain trample)then the separate legacy cards should appear but if I remember correctly when I tested I didn't get 2 different legacy cards.

Re: Typo thread

PostPosted: 28 Aug 2013, 23:24
by Korath
"+|n/+|n", "+0/+|n", "+|n/+0", "-|n/-0", and "+|n/-|n" (and only these exact variants - in particular, there's no "-|n/+|n" or "-|n/-|n") are replaced by the legacy card instance's counter_power for the |n before the slash and its counter_toughness for the |n after the slash. Any remaining "|n" in the text after these substitutions is replaced by the counter_toughness value, so "-12/-12" can be done only if both numbers are the same, and only if we either don't care that there's no "+" for positive values or if they're known to be below zero. Works for effect card ids 901, 902, 903, 905, and 907, which is essentially everything.

Cards that you want to use this, or the |#1 etc. syntax: start making a list. They should be pretty quick to install once we've got a better system in place than mailing changes to Gargaroz; and I've got most of next week off, so I should be able to make that happen. (Actually combining effect cards from separate activations is a little harder; keep those separate, please.)

Re: Typo thread

PostPosted: 29 Aug 2013, 01:08
by Sonic
How do you want to do this?

Would you like the current manalink.xls file to do the entries yourself, so you can bug check the coding at the same time?
Or would you like me to do the data entry?

No problem either way.