Commit Graph

81 Commits

Author SHA1 Message Date
Anthony Calosa
6cfbdf2f30 Updated Ice Age Block 2016-07-01 18:12:21 +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
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.the.homebrew@gmail.com
e3d98f23f9 Erwan
- fix issue 308
- daily build
2010-01-31 06:24:28 +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
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
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
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
2ea7de5a3a Erwan
- removed Channel and Shield of the ages, which technically solves issues 174 and 178...
2010-01-05 12:56:43 +00:00
solo81@web.de
79a98e1c8f Small corrections 2010-01-03 02:51:41 +00:00
solo81@web.de
c045f4e01b Added several successfully tested cards (ICE). 2010-01-02 15:53:55 +00:00
solo81@web.de
79b248a152 Added many cards with "cantbeblockedby". 2009-12-29 18:17:06 +00:00
Psyyringe
5c3b3f1d03 Psyringe - added quantifiable target restrictions. Whenever you use square brackets [] to specify attributes of a target, you can use the operators <=, >= and = to specify quantities for power, toughness, and/or converted manacost. See added cards for examples.
Limitations:
- Operators for "greater than", "less than", "unequal" have not been implemented, but if a card actually needs them, you can use a preceding minus sign to negate a comparison. Example: -power=3 means "power not equal to 3", -toughness<=3 means "toughness>3".
- You can't use spaces when specifying such restrictions. Write "power<=3" instead of "power <= 3"
- You now need to use a space before the "<" and ">" commands that count the matches for lord(), foreach(), all() and aslongas(). So far we always did use spaces in front of them without actually needing to, now we need to.
- manacost restrictions don't take "X" costs into account. Example: Mistmeadow Skulkin (FUT) has protection from manacost>=3. Blaze has a converted manacost of 1, but when you cast it with an X of 2, then it actually has a converted manacost of 3 while on the stack, and Mistmeadow Skulkin would be protected from it, but currently it isn't.

Please review the code, I'll add a few remarks/questions of my own.
2009-12-26 01:50:33 +00:00
solo81@web.de
13b3ffecfb Added some cards with myUpkeepOnly. All have been successfully tested ingame!
There is one important thing about coding such cards in direct combination with "limit:x". You have to put "limit:x" always before "myUpkeepOnly", see Firemane Angel as an example.

An auto line with "...myUpkeepOnly limit:x" does not work! So, the only working combination is "...limit:x myUpkeepOnly".
2009-12-17 20:44:57 +00:00
solo81@web.de
82c2d56692 Several card additions, card fixes, etc. 2009-12-11 16:55:49 +00:00
wagic.laurent
226c132946 Laurent - Code Clean-Up removed some Hardcode replace with softcode, mostly RV. Tested most of them (except exile from ALL but that should be the same as Swords to plowshares)...
Did not manage to remove/softcode The Rack.
2009-12-07 16:16:01 +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
solo81@web.de
f189ef5e3c Added cards with "cantregenerate". 2009-11-27 14:22:12 +00:00
wagic.the.homebrew@gmail.com
f924546dcc Erwan
- Code cleanup
- fix issue 142 . This will lead to other issues for some cards. These issues can be fixed by using targetcontroller/controller...etc
- Added a few cards
2009-11-21 09:40:14 +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
wagic.laurent
245cfc625c Laurent - Bug corrections ICE: Enervate, removed: Forbidden Lore, Krovikan Fetish (@next upkeep works same as @each upkeep not really a bug since only this card as such effect). ODY Squirrel mob (wrong p/T). 10E tentatively fixed Twitch (not sure about it yet) POR: Fixed devastation, changed Vampiric Touch (to better reflect the card wording) 2009-11-07 18:25:38 +00:00
solo81@web.de
b4dc38f4d9 Some card fixes. 2009-11-06 12:28:32 +00:00
wagic.laurent
dfa7fbb5f8 Laurent - few card buggy card identified during playtest (random deck as usual) fixed. 2009-10-27 11:05:12 +00:00
leungclj
97043870ed JON4TH4N - few fixes and tested, working now 2009-10-24 13:32:56 +00:00
solo81@web.de
fac8ccd477 (IA):
- Wording update
- Bug fixes
- Removed some cards
2009-10-16 17:39:33 +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
df6ef02a85 Psyringe - Correction on a few sets 2009-10-05 12:20:16 +00:00
leungclj
c511739c10 J0N4TH4N - minor update 2009-09-28 19:56:18 +00:00
wagic.the.homebrew@gmail.com
e464b8616a Erwan
- removing creatures with banding. Banding is not supported in Wagic anymore, sorry :(
2009-09-27 08:22:18 +00:00
wagic.the.homebrew@gmail.com
515c5ef0db Erwan
-new trigger: @tapped(...
-Parser now supports X for P/T. WARNING: this does not work for activated abilities. And currently this works only for P/T but will be added progressively to other things
2009-09-27 03:41:28 +00:00
leungclj
074b7fc391 J0N4TH4N - minor fix 2009-09-17 16:21:44 +00:00
wagic.the.homebrew@gmail.com
f9a2d8283a Erwan
- A few card fixes
2009-09-08 13:07:19 +00:00
wagic.laurent
d30ca1db2e Laurent - Some additions, all tested and working. you can see in the todo.dat some tested and not working ... I don't understand why wrath of marit lage (ICE) does not work ??? 2009-08-10 05:21:57 +00:00
wagic.laurent
717fbd2f4f Laurent - Few addition, all tested and worked (exception Disciple of Vault (MRD) & Mercadia's downfall (MRQ) not tested yet...) 2009-07-31 22:00:43 +00:00
wagic.the.homebrew@gmail.com
76d386be06 Erwan
- fixed a bug with bottle gnomes (would give life to opponent even if you steal control)
- huge update for abilities life,draw,damage,deplete,discard in the parser. This breaks some cards (so we need to fix them) but allows more flexibility in the future. See my post on the forum
2009-07-25 14:57:27 +00:00
wagic.the.homebrew
75d801c632 Erwan
- Added all counter cards I could find that would work
2009-07-22 02:25:31 +00:00
leungclj
16280c7ecb Jonathan - added few cards 2009-07-13 08:55:25 +00:00
leungclj
f3a6fcbf1b Jonathan - added few cards 2009-07-13 07:30:45 +00:00
wagic.laurent
01316167fc Laurent - Update to the foreach parser with "add" to be used for instant and sorcery (e.g. spoil of evil) also removed/added corresponding cards (spoil of evil, song of the damned and ancestor chosen).
Also added the ability "INDESTRUCTIBLE" did not test it yet + not sure about the ruling ...
2009-06-30 21:29:59 +00:00
leungclj
12b85ed5af Jonathan - (ALL) replaced all ' &quot; ' with ' " ' 2009-06-30 04:07:21 +00:00
wagic.laurent
6097b1282b Laurent - Added draw/token to the foreach parser (allow to sligthly reduce the number of lines in MTGAbility.cpp and also add few cards to different cards.dat.)
NOTE that all these additions to the foreach parser are only available for the "inplay" area... "countcards" will need to be updated in order to have thing such as graveyard or hand to be taken into consideration (but when it will be done cards such as Spontaneous Generation - MRQ, could be added)
Also updated (tentatively) the "cantbeblockedby" in the parser it still does not work...ARG... but I can feel that I'm not far away from the solution...
We need also to go through some of the cards.dat to be sure we are not missing any possible addition ...
2009-06-29 11:11:41 +00:00
wagic.laurent
a959cbf926 Laurent - Corrected some bugs in ICE (nature's lore) and POR (creature with cantblock abilities introduced in R458) 2009-06-10 15:05:50 +00:00
wagic.the.homebrew@gmail.com
a703d69bda Erwan
- removed blinking spirit from ICE
- changed display order in MTGGuiPlay (auras should be under creatures most of the time...)
2009-06-10 14:00:26 +00:00
wagic.the.homebrew@gmail.com
9ec582e02e Erwan
- a Few bug fix.
- I need to investigate for fledgling imp :(
2009-06-09 13:17:23 +00:00