Forge "cards.txt" translation table
by frwololo
Moderators: frwololo, CCGHQ Admins
Forge "cards.txt" translation table
by frwololo » 28 Jan 2010, 04:18
This gives a list of abilities recognized by Forge, and how they can be translated into Wagic
See viewtopic.php?f=26&t=701&p=28102#p28102 for the list of keywords recognized by forge
See http://wololo.net/miki/index.php/Wagic/CardCode for the card code syntax of Wagic
type=enchantment
subtype=aura
type=enchantment
subtype=aura
type=enchantment
subtype=aura
abilities=flash,hosrmanship
...
auto=protection from(creature)
auto=protection from(demon,dragon)
...
auto={cost}:moveTo(myHand) target(rebel|myLibrary)
can be borderline written:
auto=protection from(aura)
auto=aslongas(island|opponentBattlefield) -cantattack
See viewtopic.php?f=26&t=701&p=28102#p28102 for the list of keywords recognized by forge
See http://wololo.net/miki/index.php/Wagic/CardCode for the card code syntax of Wagic
color=redChris H. wrote:Keywords recognized as of MTG Forge 01-26-2010 are:
{cardName} is {color}
auto={cost},{S}:Draw:1{cost}, Sacrifice {card name}: Draw a card.
auto={cost},{T}:add {mana}auto={cost},{tap}: add {mana}
auto={cost},{T}:p/t
auto={cost},{T}:damage:n target({target})
Not supportedAt the beginning of your upkeep, {card name} deals {num} damage to you unless you pay:{cost}
At the beginning of your upkeep, destroy {card name} unless you pay:{cost}
At the beginning of your upkeep, sacrifice {card name} unless you pay:{cost}
Not supportedCascade
Changeling
auto=tapComes into play tapped.
Not supportedCumulative upkeep:{cost}
autohand={cost}:cyclingCycling:{cost}
abilities=deathtouchDeathtouch
abilities=defenderDefender
Not supportedDevour:{magnitude}
abilities=double strikeDouble Strike
auto=draw:1Draw a card.
not supportedEcho:{cost}
target=creatureEnchant creature
type=enchantment
subtype=aura
target=landEnchant land
type=enchantment
subtype=aura
target=land|myBattlefieldEnchant land you control
type=enchantment
subtype=aura
abilities=exalted
abilities=flash,hosrmanship
...
unsupportedFlanking
@movedTo(land|myBattlefield):{action}Landfall
auto=aslongas(land[legendary]|opponentBattlefield) unblockableLegendary landwalk
abilities=lifelink
unsupportedModular
unsupportedMorph:{cost}
abilities=...Mountainwalk
Nonbasic landwalk
Persist
Plainswalk
auto=protection from(*[red])Protection from {color}
Protection from artifacts
Protection from creatures
Protection from Demons
Protection from Dragons
Protection from enchantments
Protection from Goblins
auto=protection from(creature)
auto=protection from(demon,dragon)
...
abilities=reachReach
auto={cost}:regenerateRegenerateMe:{cost}
unsupportedRemove three spore counters from this card: Put a 1/1 green Saproling creature token into play.
unsupportedScry
auto={cost}:moveTo(myHand) target(mercenary|myLibrary)SearchMerc:{cost}
SearchRebel:{cost}
auto={cost}:moveTo(myHand) target(rebel|myLibrary)
abilities=...Shadow
Shroud
unsupportedSoulshift
auto={cost},{T}:damage:n target([target])
auto={cost},{T}:destroy target([target])
auto={cost},{T}:draw:n
auto={cost},{T}:life:n [controller|opponent|targetController]
auto={cost},{T}:p/t target([target])
auto=moveTo(myHand) target(creature|myGraveyard)
abilities=swampwalkSwampwalk
auto={T}:Add {mana}tap: add 1
tap: add B
tap: add G
tap: add R
tap: add U
tap: add W
abilities=mustattackThis card attacks each turn if able.
abilities=nofizzleThis card can't be countered.
unsupportedThis card can't be the target of Aura spells.
can be borderline written:
auto=protection from(aura)
abilities=opponentshroudThis card can't be the target of spells or abilities your opponents control.
abilities=doesnotuntapThis card doesn't untap during your untap step.
abilities=reachThis creature can block as though it had flying.
abilities=reachshadowThis creature can block creatures with shadow as though they didn't have shadow.
abilities=cloudThis creature can block only creatures with flying.
abilities=cantattackThis creature can't attack
abilities=cantblock,cantattackThis creature can't attack or block
abilities=cantattackThis creature can't attack unless defending player controls an Island
auto=aslongas(island|opponentBattlefield) -cantattack
auto=cantBeBlockedBy(*[-flying])This creature can't be blocked except by creatures with flying
abilities=cantblockThis creature cannot block
abilities=trampleTrample
unsuportedTransmute
autohand={cost},{S(elf|myHand}):cyclingTypeCycling
auto=unblockableUnblockable
auto={cost}:untapUntap:{cost}
unsupportedUpkeep:{cost}
??VanillaEquipment
unsupported
abilities=vigilance
auto=Draw:1 controllerWhen this card comes into play, draw a card.
unsupportedWhen this card is put into a graveyard from anywhere, reveal this card and shuffle it into its owner's library instead.
auto=@movedTo(this|graveyard):moveTo(ownerHand)When this card is put into a graveyard from the battlefield, return this card to its owner's hand
abilities=islandHomeWhen you control no Islands, sacrifice this creature
unsupportedWhenever a creature dealt damage by this card this turn is put into a graveyard, put a +1/+1 counter on this card.
abilities=witherWither
Re: Forge "cards.txt" translation table
by Chris H. » 28 Jan 2010, 12:21
`frwololo wrote:??VanillaEquipment
If I remember correctly, this keyword gives a power/toughness boost in the first two fields, the equip cost in the third field and can also give up to a maximum of three of the other non-scripted keywords in the last three fields. A "none" in the keyword field signifies less than three keywords are given to the creature.
Two examples from cards.txt:
- Peregrine Mask
1
Artifact Equipment
Equipped creature has defender, flying, and first strike.
VanillaEquipment:0:0:2:Defender:Flying:First Strike
Leonin Scimitar
1
Artifact Equipment
Equipped creature gets +1/+1.
VanillaEquipment:1:1:1:none:none:none
-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: Forge "cards.txt" translation table
by jeffwadsworth » 28 Dec 2010, 22:03
I just noticed this list...wow, perhaps I should lurk a bit more. Thanks.
- jeffwadsworth
- Super Tester Elite
- Posts: 1172
- Joined: 20 Oct 2010, 04:47
- Location: USA
- Has thanked: 287 times
- Been thanked: 70 times
3 posts
• Page 1 of 1
Return to Wagic (MTG For Android/PSP/Windows/Linux)
Who is online
Users browsing this forum: No registered users and 2 guests