Commit Graph

79 Commits

Author SHA1 Message Date
Anthony Calosa
39ad95d4db revised tnum attribute
so it can be used inside makecardt, also
2016-09-08 05:13:52 +08:00
Anthony Calosa
fc88d9b248 Updated Mirrodin Block 2016-07-01 15:45:26 +08:00
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
guzhenjie1@gmail.com
532261d36c Fixed Thelon of Havenwood reported in forum by Niegen and Knight Token from Waylay:
1. Fodder Launch
2. Knight Token from Waylay
3. Sword of Kaldra
4. Thelon of Havenwood

Changed following cards which can produce multiple kinds of tokens to make them display token images correctly: 
1. Bestial Menace(WWK)
2. Decree of Justice(SCG)
3. Fable of Wolf and Owl(EVE)
4. One Dozen Eyes(MRD)
5. Sarpadian Empires, Vol. VII(TSP)
6. Wand of the Elements(DST)
7. Wurmcoil Engine(SOM)

Added the following token in their _cards.dat:  

1. DST (Wand of the Elements):
Blue Elemental Token(id=-4977511)
Red Elemental Token(id=-4977512)

2. EVE (Fable of Wolf and Owl):
Green Wolf Token(id=-15208711)
Blue Bird Token(id=-15208712)

3. MRD (One Dozen Eyes):
Beast Token(id=-4838511)
Insect Token(id=-4838512)

4. SCG (Decree of Justice):
Angel Token(id=-4514111)
Soldier Token(id=-4514112)

5. SOM (Wurmcoil Engine):
Wurm Token with Deathtouch(id=-20787511)
Wurm Token with Lifelink(id=-20787512)

6. TSP (Sarpadian Empires, Vol. VII):
Citizen Token(id=-11492111)
Camarid Token(id=-11492112)
Thrull Token(id=-11492113)
Goblin Token(id=-11492114)
Saproling Token(id=-11492115)

7. WWK (Bestial Menace):
Snake Token(id=-19784311)
Wolf Token(id=-19784312)
Elephant Token(id=-19784313)

You also need abrasax's image set and rename or add following tokens' pictures:
1. DST (Wand of the Elements):
Blue Elemental Token: Rename to 4977511t
Red Elemental Token: Rename to 4977512t

2. EVE (Fable of Wolf and Owl):
Green Wolf Token: Rename to 15208711t
Blue Bird Token: Rename to 15208712t

3. MRD (One Dozen Eyes):
Beast Token: Rename to 4838511t
Insect Token: Rename to 4838512t

4. SCG (Decree of Justice):
Angel Token: Rename to 4514111t
Soldier Token: Rename to 4514112t

5. SOM (Wurmcoil Engine):
Wurm Token with Deathtouch: Rename to 20787511t
Wurm Token with Lifelink: Rename to 20787512t

6. TSP (Sarpadian Empires, Vol. VII):
Citizen Token: Rename to 11492111t
Camarid Token: Rename to 11492112t
Thrull Token: Rename to 11492113t
Goblin Token: Rename to 11492114t
Saproling Token: Rename to 11492115t

7. WWK (Bestial Menace):
Snake Token: Rename to 19784311t
Wolf Token: Rename to 19784312t
Elephant Token: Rename to 19784313t
2011-01-06 12:33:26 +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
solo81@web.de
1e351fdcbd Some fixes from last revision. 2010-01-31 21:07:01 +00:00
solo81@web.de
de47b25866 Added 51 successfully tested cards based on rev1757. 2010-01-31 20:56:25 +00:00
solo81@web.de
bec268df16 Added 38 successfully tested cards.
This update contents:

1. Creatures which get a certain power- and/or toughness-bonus when attacking or blocking.

2. Creatures which leave the battlefield at end of combat after having attacked or blocked.

3. Clockwork-"family" from Mirrodin.
2010-01-28 19:16:39 +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.the.homebrew@gmail.com
3edc364d8e Erwan
- fix for issue 301 (creatures go to graveyard)
- This adds an important change to "movedTo", which now accepts a "full" target description in both "from" and "movedTo". The point is that a card does not move to "creature|graveyard" from "battlefield" but moves from "creature|battlefield" to "graveyard".
2010-01-21 14:12:11 +00:00
solo81@web.de
0efa84d56d Added several successfully tested cards based on rev1685. 2010-01-10 11:08:36 +00:00
solo81@web.de
83c054e5b8 Added huge amount of successfully tested cards, mainly based on revision 1685.
The new introduced "must" also works with "@movedTo..." events (Fire Snake (POR) for example)!
2010-01-07 20:59:01 +00:00
solo81@web.de
3737f7b978 Added huge amount of successfully tested cards.
Plz read my comment below for explanation!
2010-01-06 15:13:49 +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
Psyyringe
6956074877 Psyringe - fixed Mirri the Cursed (PLC). Temporarily fixed Reiver Demon (MRD). Thanks to Raphael_Carlo for the bug report.
Important: I just realized that the fix to Reiver Demon will probably lead to problems later on. The problem is this: Reiver Demon has an ability "When yu play this from your hand ...". This was coded as @moveto(this|mybattlefield) from(mayhand). Which doesn't work, because the card doesn't actually enter the battlefield from the hand, it enters from the stack. So, "@moveto(this|mybattlefield) from(maystack)" has the desired effect. However, IIUC, spells played from anywhere else (e.g. from the graveyard, if they allow that) should be placed on the stack to. Hence, the "fixed" trigger will also fire in this case, which is wrong.

This means that we can't actually code "played from ..." entirely correct at the moment. Is there a solution for this?

According to the rules, only a copy of a spell enters the stack (never the spell itself), so could the "from()" part access where the card actually came from?

Do we need an @played trigger to differentiate between moving a card and actually playing it?
2010-01-01 13:33:22 +00:00
solo81@web.de
d1ee26d3a2 Added Magma Phoenix (M10) and Pyre Zombie (INV) 2009-12-18 16:52:35 +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
wagic.the.homebrew@gmail.com
a7493154fa Erwan
- fix issue 168 (kudzu)
- Fix issue 162 (copy VS shroud). This fix introduces a new keyword: NotATarget() instead of Target(). (Which was the best way for me to keep some kind of backward compatibility/ not alter the code too much / fix the bug)
2009-12-13 07:03:28 +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
48592cc405 Small fix from last revision. 2009-12-12 15:49:58 +00:00
leungclj
e65d1bda75 JON4TH4N - added a few more cards 2009-12-12 15:46:09 +00:00
Psyyringe
1085764e5d Psyringe - fixed several problems with recently committed MRD file (wrong ID, superfluous "color=Artifact" lines, stray line feed, doubled [card] tags). Wagic now shouldn't crash anymore upon loading it. 2009-12-12 14:06:04 +00:00
wagic.superhiro
2a150714b2 Added Equipment to Mirroding. Not tested, but they should work... please check. Is Nightmare Lash codable? 2009-12-12 13:14:33 +00:00
Psyyringe
e56c985f64 Psyringe - extending wololo's r1435 fix for Sculpting Steel (10E) to Sculpting Steel (MRD) 2009-12-10 14:04:48 +00:00
wagic.laurent
c13b178b5a Laurent - Small correction 5DN (Loxodon missing vigilance) MRD (Solemn Simulacrum missing the may). 2009-12-07 16:32:02 +00:00
solo81@web.de
f189ef5e3c Added cards with "cantregenerate". 2009-11-27 14:22:12 +00:00
solo81@web.de
171eaf0234 Added lots of cards with protection from non-color stuff. 2009-11-21 14:22:47 +00:00
solo81@web.de
69a380ce9c Added huge amount of cards with Threshold (ODY) 2009-11-19 10:38:24 +00:00
solo81@web.de
54e78ee604 Fixed Mind Shatter (MOR)
Fixed Sculpting Steel (10E,MRD)

Fixed Kris Mage (MRQ)
2009-11-19 08:55:43 +00:00
leungclj
b201e1827b JON4TH4N - fixes from user "snaxington" 2009-10-28 23:06:02 +00:00
wagic.laurent
399698d11a Laurent - Small correction (bis) to R1088 2009-10-16 15:20:33 +00:00
leungclj
61a27b19c9 JON4TH4N - addition to r1088 2009-10-16 15:19:05 +00:00
wagic.laurent
cd815a4b76 Laurent - added few cards with @damaged (CHK,MRD) small correction ICE 2009-10-16 15:13:54 +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
leungclj
177768a0a5 Psyringe - fix on id and rarity 2009-10-07 07:26:20 +00:00
leungclj
a15ebc26d2 J0N4TH4N - minor correction 2009-10-05 10:46:35 +00:00
leungclj
5216faa756 J0N4TH4N - added "ueot" to all "@movedTo". Currently "@movedTo" abilities requires "ueot" 2009-10-02 16:47:41 +00:00
leungclj
f04404d5df J0N4TH4N - removed cards that "draw and discard a card" 2009-09-30 19:05:34 +00:00
leungclj
c511739c10 J0N4TH4N - minor update 2009-09-28 19:56:18 +00:00
wagic.the.homebrew@gmail.com
6df665c340 Erwan
-check athat act of treason works correctly
-Fixed emblem of warmind
-removed incorrect cards ("When this enters the battlefield, target..." please see http://wololo.net/forum/viewtopic.php?f=6&t=669
2009-09-26 04:10:29 +00:00
leungclj
252f1bb100 J0N4TH4N - a lot of update, review welcome, none tested, all based on previous updates 2009-09-25 00:00:27 +00:00
leungclj
0c20a62f8c J0N4TH4N - (MRD) added Looming Hoverguard, tested both automatically and manually, works great, and yes, it does move to the top of library just in case you are wondering 2009-09-24 21:39:44 +00:00
leungclj
bd450df542 J0N4TH4N - few more updates 2009-09-24 17:22:18 +00:00
leungclj
e95b6ef7b8 J0N4TH4N - few updates
-don't understand why Aphetto Vulture won't work
2009-09-24 17:03:02 +00:00
solo81@web.de
124354125e Removed Wall of Blood (MRD) 2009-09-14 16:42:36 +00:00
solo81@web.de
1f20520420 Fixes, Clean Up, Reordering (MRD) 2009-09-14 16:41:13 +00:00