Commit Graph

60 Commits

Author SHA1 Message Date
omegablast2002@yahoo.com 9f89353b4b reverted the adding of trademarked names to card.dat, as sad as it is we have to follow the laws. 2013-05-09 00:39:51 +00:00
omegablast2002@yahoo.com e54d212418 thanks MarSprite for adding the missing set names to the card.dats missing them. 2013-05-08 01:57:06 +00:00
guzhenjie1@gmail.com 0cce9c27b7 Fixed Angelheart Vial, Rapacious One.
Changed following tokens' name in mtg and card.dat:
Bestial Menace (WWK)
name=Snake
name=Wolf
name=Elephant

Decree of Justice (SCG)
name=Angel
name=Soldier

Elephant Resurgence
name=Elephant T1

Fable of Wolf and Owl (EVE)
name=Wolf
name=Bird

Mitotic Slime (M11)
name=Ooze T1
name=Ooze T2

One Dozen Eyes (MRD)
name=Beast
name=Insect

Sarpadian Empires, Vol. VII (TSP)
name=Citizen
name=Camarid
name=Thrull
name=Goblin
name=Saproling

Sound the Call (CSP)
name=Wolf T1

Wand of the Elements (DST)
name=Elemental T1
name=Elemental T2

Waylay (USG)
name=Knight

Wurmcoil Engine (SOM)
name=Wurm T1
name=Wurm T2

Changed the code of Feral Lightning and Zektar Shrine Expedition:
Feral Lightning
auto=token(-84373)*3
 ==> 
auto=token(Elemental,Creature Elemental,3/1,red,haste,unearth)*3

Zektar Shrine Expedition
auto={C(0/0,-3,Quest)}{S}:token(-183403)
 ==> 
auto={C(0/0,-3,Quest)}{S}:token(Elemental,Creature Elemental,7/1,red,trample,haste,unearth)

Removed two token cards of them:
[card]
name=Elemental Token from Feral Lightning
type=Creature
subtype=Elemental
auto=@next end:moveTo(exile)
abilities=haste
text=Haste
power=3
toughness=1
color=red
[/card]
[card]
name=Elemental Token from Zendikar Shrine
type=Creature
subtype=Elemental
auto=@next end:moveTo(exile)
abilities=trample,haste
text=Trample,haste
power=7
toughness=1
color=red
[/card]
2011-03-03 13:23:39 +00:00
solo81@web.de 5d42bfa88f 1) Added a support for MANACOST CHANGING cards. (by Zethfox)
Two example codes:

[card]
name=Alabaster Leech
auto=lord(*[white]|myhand) white:+1
autoexile=all(*|myhand) resetcost
autograveyard=all(*|myhand) resetcost
autohand=all(*|myhand) resetcost
autolibrary=all(*|myhand) resetcost
text=White spells you cast cost {W} more to cast.
mana={W}
type=Creature
subtype=Leech
power=1
toughness=3
[/card]

[card]
name=Helm of Awakening
auto=lord(*|myhand) colorless:-1
auto=lord(*|opponenthand) colorless:-1
autoexile=all(*|myhand) resetcost
autograveyard=all(*|myhand) resetcost
autohand=all(*|myhand) resetcost
autolibrary=all(*|myhand) resetcost
text=Spells cost {1} less to cast.
mana={2}
type=Artifact
[/card]

autoexile=all(*|myhand) resetcost
autograveyard=all(*|myhand) resetcost
autohand=all(*|myhand) resetcost
autolibrary=all(*|myhand) resetcost

----> This code section is necessary, because manacost altering cards will keep their effect even when they have left the battlefield. RESETCOST erases all alterations which have no existing source on the battlefield anymore.


2) Added the new keyword TRANSFORM, which is similar to BECOMES. The main difference is that you can change single parameters of a permanent (color,type,...).

Example codes:

[card]
name=Memnarch
auto={1}{U}{U}:target(*) transforms(artifact)
auto={3}{U}:moveTo(myBattlefield) target(arifact)
text={1}{U}{U}: Target permanent becomes an artifact in addition to its other types. (This effect lasts indefinitely.) -- {3}{U}: Gain control of target artifact. (This effect lasts indefinitely.)
mana={7}
type=Legendary Artifact Creature
subtype=Wizard
power=4
toughness=5
[/card]

[card]
name=Dralnu's Crusade
auto=lord(goblin) 1/1
auto=lord(goblin) transforms(zombie,black)
text=Goblin creatures get +1/+1. -- All Goblins are black and are Zombies in addition to their other creature types.
mana={1}{B}{R}
type=Enchantment
[/card]

Important notes concerning TRANSFORM:
- IF YOU TARGET A CREATURE THE EFFECT IS PERMINENT.
- IF YOU TARGET THE SOURCE THE EFFECT IS UNTIL END OF TURN. 
- IF YOU USE LORD THE EFFECT LAST TIL PERMINENT SOURCE LEAVES PLAY.

These restrictions will probably be changed in the near future!


3) Added 57 successfully tested cards.
Card list ---> first comment


4) Changed the name of several tokens: "()" used to cuase crashes when used in the name-line.


5) Added the new keyword NONBATTLEZONE for leaves play trigger optimizing. It can be used to replace the phrase "EXILE,GRAVEYARD,HAND,LIBRARY".

I will add tests for test suite in one of the next revisions!!



####### TEST SUITE PROVEN ########
2010-08-17 00:23:48 +00:00
solo81@web.de 47b5b5f7df Added 84 successfully tested cards.
Most of the cards are based on the last adds by salmelo, while some few cards could have been added for half a year or more.

2 weeks of intensive testing are over, and I think all cards will do what they should but if you still find something discussable after testing them by yourself, plz post it here!

Card list -> First post.
2010-04-16 20:04:23 +00:00
Psyyringe 9aa8d37b50 Psyringe - further card cleanup:
- matched card names of flip cards and split cards in _cards.dat and mtg:todo.dat

- removed the now superfluous todo.dat files, the file mtg_todo.dat replaces these.
2010-02-03 19:01:16 +00:00
Psyyringe 9150a5b13c Psyringe - made all cards using the primitives system, added some sets. Important: This update changes the file where we store the card code, now all card code is in primitives/mtg.txt. We also have only one "todo" file now, it's mtg.todo. Note: mtg.todo had to be put out of the "primitives" folder for the being, since Wagic currently loads everthing in this folder, regardless of file extension. Once this is fixed, mtg.todo will be moved into the "primitives" folder.
More detailed instructions will follow shortly.
2010-02-01 07:40:39 +00:00
wagic.jeck aa5eb90299 Jeck - Fixes for set metadata. 2010-01-31 23:44:10 +00:00
solo81@web.de e48f9bd7f1 Added 102! successfully tested cards.
After weeks of hard work, I can proudly present you this huge package of cards, based only on already existing card code elements.

Some examples and important notes:

- Cards that get buried if you don't fulfill a condition
1. when they enter the battlefield (Hidden Horror[WEL]; Mercenary Knight, Thundering Wurm [both POR])
2. during your upkeep (Endless Wurm[USG]).

- Cards that allow to draw a card, then discard a card when entering the battlefield or damaging an opponent (Owl Familiar[POR], Looter il-Kor[TSP]).

IMPORTANT NOTE: Those cards work only correctly because the draw effect resolves before the discard effect. 
Instants and Sorceries with such effects or permanents that have an activation cost for drawing, then discarding a card won't work because the two effects don't trigger in the correct order.

- Land cycle from Visions and Planeshift (both very puzzling, but working perfectly!)


I also updated World enchantments (tested & working, see rules for them in Gatherer!)

Several card fixes.


If you have any questions, post them! ;)
2010-01-24 20:43:21 +00:00
wagic.superhiro 6830d850f2 Fixed Kor Skyfisher. 2010-01-17 11:34:14 +00:00
wagic.the.homebrew 96d2f6259b Erwan
-fix typo
2010-01-13 00:51:34 +00:00
solo81@web.de 0892516ef4 Added huge amount of successfully tested cards.
Updated wordings (10E).
2010-01-09 22:03:21 +00:00
wagic.jeck 50169eb5fb Jeck - Metadata edits.
* Set names redacted pending further research.
* Blocks assigned "safe", vaguely similar words.
2010-01-06 09:52:18 +00:00
wagic.jeck 3cdae99e46 Jeck - Rudimentary metadata for all current sets. 2010-01-06 00:06:43 +00:00
wagic.the.homebrew@gmail.com 69c5dee979 Erwan
- IMPORTANT: Legendary is not an ability anymore, creating cards with super types should be much more natural. You can now say "type=Snow Land", and stuff like that. No backward compatibility!!!
2010-01-03 03:11:30 +00:00
Psyyringe ea31a5cf1c Psyringe - fixed Seismic Shudder (ZEN), thanks to mickey_brown for the bug report. Fixed Dragon Roost (ONS) - a character was missed during copy/paste and broke the card. 2009-12-30 21:11:54 +00:00
solo81@web.de 5286b51d5c Small fixes
Removed some cards

Added Skyshroud Ranger (TMP)
2009-12-19 14:40:58 +00:00
leungclj e1a1281088 JON4TH4N - nothing important 2009-12-16 18:07:54 +00:00
wagic.laurent a2205c013a Laurent - Fix issue 253 (ZEN) few additions/corrections related to the addition made in R1485 (myUpkeepOnly). I did not add all of them, some that might work are still in the todo.dat with a tag "#Require Testing".
Removed Minotaur Explorer (ODY)
2009-12-16 10:42:16 +00:00
leungclj 5fc790ff7e JON4TH4N - (ZEN) added 1 card 2009-12-15 13:30:33 +00:00
leungclj f84cd15c4b JON4TH4N - added a few more cards + test script 2009-12-12 17:26:26 +00:00
Psyyringe b4e9541cb8 Psyringe:
- added Warren Instigator (ZEN) and test script. Thanks to Niegen for finding it.
- temporarily removed angry_mob6.txt from the test suite and added it to the "bugs" section, since the script occasionally fails and we haven't found the reason yet. See issue 240.
- added test script for Fog Bank
- added recently uploaded equipment scripts to test suite (not sure why the weren't added upon uploading them, looks like an oversight)
- fixed another bug in recently uploaded MRD file, it contained Vulshok Morningstar (a DST card with a wrong 9ED id and was inserted at the wrong position in the alphabetical order).
2009-12-12 17:10:08 +00:00
solo81@web.de 3f1aa0fad8 Fixed Adventuring Gear (ZEN) 2009-12-10 19:40:23 +00:00
leungclj c779c626b2 JON4TH4N - (ZEN) equipment added, please look at the todo, and perhaps expand on "mytgt" or "this" 2009-12-10 17:50:45 +00:00
Psyyringe 3264220b6d Psyringe - added some cards with the nofizzle ability.
Question: I also tried to code Root Sliver (LGN) with the line "auto=lord(sliver|stack) nofizzle", but this didn't work, Slivers could still be countered. Did I choose a wrong approach, or is there a limitation of the lord ability with regard to spells on thee stack?
2009-12-04 04:55:54 +00:00
leungclj e3f44344fb JON4TH4N - (ZEN) added 1 card 2009-12-03 21:23:39 +00:00
leungclj 1f071abe74 JON4TH4N - minor change 2009-12-03 20:32:11 +00:00
leungclj 6061601c77 JON4TH4N - (ZEN) tanglesap fixed and tested and work but my test told me there was error regarding number of cards in play.... please check. 2009-12-03 17:32:40 +00:00
leungclj 7f1a1a244f JON4TH4N - requesting new template to test 2009-12-03 07:53:24 +00:00
wagic.the.homebrew 22875def74 Erwan
- Small card fixes
2009-11-25 04:18:20 +00:00
Psyyringe 5558cae58b Psyringe - added 3 test scripts for (non-reproducible) bug reports. Also fixed a stray space after the name of a ZEN card. Due to this space the card would never be found when read in from a deck file, the card name in the deck file could never match the card name in _cards.dat. 2009-11-18 01:26:52 +00:00
wagic.the.homebrew@gmail.com a7034bbcb4 Erwan
-Fix mark of mutiny
2009-11-03 09:37:44 +00:00
wagic.laurent b09f879140 Laurent - Removed reign of terror (MIR), corrected Merfolk Seastalker (ZEN), Beacon Hawk (DIS) 2009-10-31 08:17:45 +00:00
leungclj 9e608d10b1 JON4TH4N - fixed (ZEN) Hideous End and similar card, there is a bug on targetcontroller, test included 2009-10-30 17:54:48 +00:00
solo81@web.de 3919b1cf1d Fixed Kazuul Warlord (ZEN) 2009-10-30 15:46:04 +00:00
leungclj 6279cc894c JON4TH4N - fixes from user "gdspsp" http://wololo.net/forum/viewtopic.php?f=4&t=739&start=20#p6388 2009-10-28 02:01:33 +00:00
wagic.the.homebrew@gmail.com dd7c307c7a Erwan
-Fix issue 107 as well as another issue with doesnotuntap mentioned by leungcl
-Changed wording for Paralyzing Graps (to match oracle), please verify
2009-10-25 14:01:25 +00:00
leungclj d04ce83c1b JON4TH4N - (ZEN) fixes Baloth Woodcrasher, it won't loss its +4/+4 ueot. I also did similar change to other cards, not sure if this has fix them, but sure it functions just the same, and less chance to have error. Please review, please. 2009-10-25 11:14:30 +00:00
leungclj c00a93e0a6 JON4TH4N - (ZEN) fixes 2009-10-24 10:42:21 +00:00
solo81@web.de 1a3053d5d2 (ZEN):
- Some card corrections
- Readded Hedron Crab with altered auto-line (see comment)
2009-10-22 10:15:19 +00:00
leungclj 1c62c0450a JON4TH4N - (ZEN) removed my favorite Zen card.... 2009-10-22 07:26:07 +00:00
leungclj 879c8914aa JON4TH4N - (ZEN) fixed Nimbus Wings 2009-10-21 20:52:57 +00:00
leungclj 74401289a4 JON4TH4N - (ZEN) fixed Slaughter Cry 2009-10-21 14:38:17 +00:00
solo81@web.de f928bd9443 - Fixed Ondu Clerics Cost (ZEN)
(ALA):
- Wording update
- Bug fixes
2009-10-21 11:59:37 +00:00
wagic.laurent af41e28180 Laurent - small set additions/corrections 2009-10-19 21:12:16 +00:00
wagic.laurent 6d440b0423 Laurent - Added a few cards to DIS,small correction on ZEN, ONS, addition/removal in ICE
DIS additions:cards with Hellbent and some cards with @damaged. Note that "opponent" is not a valid target and "player|opponentinplay" will not work. So for some addition we assume that the creature will never deal damage to its owner (e.g trygon in DIS). Hellbent works fine in the situation described.
2009-10-16 09:24:24 +00:00
wagic.laurent adba482340 -Laurent Added @damaged, cards to 10E and LEG, small correction to ALA, ARB, CHK, EVE and ZEN
- Added @damaged works fine (tested with thieving magpie), please test your additions if you plan to add some cards with this keyword and report if buggy. As the other trigger, you cannot have a target unless there is a may ability.
- Added 2 cards to 10E - Reminisce and Thieving Magpie both tested and working.
- Added 2 cards to LEG - Jovial Evil and Spiritual Sanctuary (not tested yet) but should work.
2009-10-15 09:30:09 +00:00
wagic.laurent 21a324796b Laurent - Additions, correction on LRW,ZEN, ONS, STH, MOR.
@tapped(this) works fine...
2009-10-04 10:10:10 +00:00
leungclj 87ca35f752 J0N4TH4N - (ZEN) removed Gigantiform 2009-10-04 09:14:26 +00:00
leungclj 5216faa756 J0N4TH4N - added "ueot" to all "@movedTo". Currently "@movedTo" abilities requires "ueot" 2009-10-02 16:47:41 +00:00