Re: Words that Cards.txt recognizes
See new topic located at Keywords recognized by Forge.
High Quality Resources for Collectible Card Games and Home of the CCGHQ Team
https://www.slightlymagic.net/forum/
https://www.slightlymagic.net/forum/viewtopic.php?f=26&t=701
Actually all pump abilities got rolled into abPump, so just remove this line, abTgtPTPump, KPump, PTPump, PTKPump and TgtKPump; add abPump[Tgt].TgtKPump {cost}:{keyword} will become abTgtKPump
Haha, that's actually the magic of itRob Cashwalker wrote:I read the wagic translation table, and I don't see very much similarity. I can say for sure, that some of the actions are shorter and the targeting restriction is easily applied to just about everything. But if I didn't have a reference, I wouldn't know what half of them did.... Take the P/T Pump ability.... "auto=p/t" OK, so is this a one time effect or a global continuous effect? Is it an ability of a permanent or the effect of a spell? Target any creature or only self?
text=enchanted creature gets +1/+0
type=aura
target=creature
auto=1/0
text={R}:enchanted creature gets +1/+0 until end of turn
type=aura
target=creature
auto={R}:1/0
text=target creature gets +1/+0 until end of turn
type=sorcery
target=creature
auto=1/0
name=Super Goblin
text={R}:Super Goblin gets +3/+3 until end of turn
type=creature
auto={R}:3/3
The idea is that if you write it the most simple way you can think about, it will most likely do what you expect it to do. That's less control for the card creator's point of view but it "feels" easier (at least that was the initial goal...)name=Super Goblin Shaman
text={R}:Target goblin gets +3/+3 until end of turn
type=creature
auto={R}:3/3 target(goblin)
I agree it would be good to provide that kind of uniformity, but the reason I didn't do it that way is simple - Java doesn't have goto. So if I tried to use the card type alone, it would turn into an even bigger if-elseif-else party than CardFactory already is. Another issue would be when Wizards does weird stuff with the card types that might trigger the wrong section of code.One note: I think you're mistaken in believing that the effects of a spell or an activated ability should be different keywords. Until end of turn (one shot) and continuous are a different problem, but activated abilities VS spells is a false problem.
This also means that when we add a keyword in Wagic, it immediately works for activated abilities as well as instants/sorceries, whereas I'm assuming you have to add a different keyword for spells VS abilities in Forge.
