Commit Graph

91 Commits

Author SHA1 Message Date
Anthony Calosa
f61542ea6b Updated Urza's Block 2016-07-01 09:54:24 +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
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
694efe96b7 Psyringe - even more card cleanup. Added some cards that were mysteriously missing (thanks to bcdiscman for spotting this!). 2010-02-04 20:21:44 +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
c64c184903 Small fixes to last revision. 2010-01-29 18:14:08 +00:00
solo81@web.de
8ca821c284 Added 36 Cards.
All cards have been tested successfully.

This update contains 2 card groups:

1) Creatures which get a certain power- and or toughness bonus when blocking and/or being blocked. This includes

2) Creatures with "bushido". Works 100%!
2010-01-29 17:59:34 +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
b5db708aac Small fixes from rev1740 2010-01-25 11:58:27 +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
solo81@web.de
2df6a71c87 Added several successfully tested cards. 2010-01-17 22:00:19 +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
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
e748a40302 Psyringe - fixed 3 cards:
Crosswinds (USG) - wrong manacost, also copy/pasted to the wrong position in the file
Akroma's Blessing (ONS) - cycling was in an auto= rule instead of an autohand= rule
Riptide Crab (INV) - was missing vigilance

Thanks to Raphael_Carlo for the bug reports
2010-01-02 12:00:23 +00:00
Psyyringe
b8a2051f95 Psyringe - removed Cabal Ritual, it's a TOR card (and already present there). Thanks to baldersmashed for the bug report. 2009-12-31 20:03:17 +00:00
solo81@web.de
79b248a152 Added many cards with "cantbeblockedby". 2009-12-29 18:17:06 +00:00
solo81@web.de
e361eecdd2 Fixed Fog Bank (USG).
Fixed Vampiric Spirit (P02).
2009-12-29 12:26:23 +00:00
solo81@web.de
0655f5da95 Added some cards with power/toughness restriction 2009-12-26 12:44:18 +00:00
Psyyringe
d7495e80be Psyringe - Removed erroneous "opponentbattlefield" limitation from Pit Trap. Updated the card's rules text. 2009-12-17 11:51:43 +00:00
leungclj
24894daf3d JON4TH4N - added a few things 2009-12-14 22:03:11 +00:00
leungclj
dedff9ff39 JON4TH4N - fixed a few things 2009-12-13 22:12:02 +00:00
leungclj
ec4aa092ec JON4TH4N - fixed last revision, removed undead gladiator for now, my test script wont produce correct result, unless the "myupkeeponly" is not working properly 2009-12-13 13:24:57 +00:00
leungclj
6753454871 JON4TH4N - (ONS) added cycling cards, test script coming up 2009-12-13 13:04:47 +00:00
Psyyringe
001ebc5976 Psyringe - typo fix for Rejuvenate (USG): authand -> autohand 2009-12-12 18:28:16 +00:00
solo81@web.de
5ffe95a3a9 Added cards with Cycling (USG) 2009-12-12 13:05:05 +00:00
solo81@web.de
04458e3c11 Added some cards (ALA,PLS) 2009-12-09 20:37:30 +00:00
Psyyringe
6da34f642f Psyringe - fixed issue 230. Also softcoded Braingeyser (RV) and Stroke of Genius (USG) and removed interfering obsolete hardcode for Braingeyser. Please review, this is my first attempt of moving hardcode to softcode. 2009-12-05 08:31:09 +00:00
solo81@web.de
4d7468f854 Added a lot of damage prevention cards. This is related to rev1367. 2009-12-02 20:45:21 +00:00
Psyyringe
2817925f0d Psyringe - Added Goblin Lackey (USG) and 4 scripts to test its functionality. Also improved the test script for the Spirit Link bug (issue 173) a bit. 2009-11-27 07:09:06 +00:00
wagic.the.homebrew@gmail.com
ac50198962 Erwan
-random cleanup
-fix issue 180 (for AI issues) by exchanging the two lines
2009-11-21 14:01:02 +00:00
solo81@web.de
67fe3a71de Fixed issue 190 by fusing Bravados auto lines. 2009-11-21 13:24:31 +00:00
solo81@web.de
e8fbdd7b66 small corrections, added some cards with {0} activation cost 2009-11-15 11:58:42 +00:00
Psyyringe
072c3d15d5 Psyringe - added some cards with zero activation cost: Blinking Spirit (ICE), Hyalopterous Lemure (ICE), Hopping Automaton (USG), Flowstone Hellion (STH), Viscid Lemures (TSP), Jodah's Avenger (PLC). Added couple of scripts to the test suite to make sure that the creatures work, and keep working. 2009-11-15 04:55:40 +00:00
Psyyringe
b9b9180898 Psyringe - minor fix for Gamble (USG). The sequence of actions was wrong - you first search for a card, put it into your hand, and THEN discard a card at random. This means you may end up discarding the card you just searched for. Previously that wasn't possible, so the card was more powerful than it should be, especially when played from an otherwise empty hand.
Test script "gamble.txt" added to test suite.
2009-11-11 22:51:52 +00:00
Psyyringe
7ea4258a21 Psyringe - fixed a bug with Aura Mutation (INV) - it only targeted auras, but should target all enchantments. Test suite script for Aura Mutation has been added and activated. Please check, this is the first time I'm doing changes to a _cards.dat file.
Also fixed a typo in Argothian Swine (USG) (missing capitalization) which caused the card not to be translated.
2009-11-08 00:32:40 +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
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
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
solo81@web.de
2d6de01793 (TSP):
-Bug fixes
-Wording update
-Removed some cards
-Added some cards (tested,working)
2009-10-11 12:12:08 +00:00
leungclj
998de6c247 J0N4TH4N - small update 2009-10-01 15:18:29 +00:00
leungclj
649d7003a7 J0N4TH4N - added a lot of deathtouch cards 2009-09-29 09:53:36 +00:00
leungclj
111a6c986c J0N4TH4N - revert Bravado 2009-09-29 08:20:28 +00:00
leungclj
b698393dd8 J0N4TH4N - (USG) fix Bravado 2009-09-28 13:08:42 +00:00