73 Commits

Author SHA1 Message Date
Vittorio Alfieri
6be219f586 Added/fixed primitives, replaced all occurrences of "AEther" with "Aether" in each ".txt" and ".dat" file according to the new naming convention (pull request #1072 by @remigiusz-suwalski). 2021-09-22 14:33:54 +02:00
Vittorio Alfieri
7a6c4b2c15 Added ATH and DDN sets, refactored all sets to add a new tag for better sorting in set filter and award section, improved Android downloader. 2021-01-09 02:26:38 +01:00
Anthony Calosa
46e268e4e3 Updated Onslaught Block 2016-07-01 15:33:09 +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
solo81@web.de
ab0de05033 Fixed several cards reported in the bug section.
Changed the name of all new trigger tests.

Removed some obsolete information in some card_dats.
2010-10-21 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
388276e3a0 Psyringe - some more card cleanup 2010-02-02 22:51:37 +00:00
Psyyringe
0e746f6a0b Psyringe - some cleanup: fixed misspelled cards and cards that appeared tn mtg.txt as well as mtg_todo.dat.
Also re-enabled the cards which had their names changed to make them work. (Example: the card code for "Vorosh, the Hunter" only works if thecomma is removed from the card's name.) These cards are a maintenance hazard since they a) require changes to _cards.dat if their names are corrected later, b) disrupt translation, and c) cause problems for external tools like MTG Studio which have the correct names in their database. However, only a few cards are affected by this, and I didn't want to remove them because Dr. Solomat has invested quite some effort top make them work. I added comments to these cards in mtg.txt as well as in the respective _cards.dat files to reduce the risk of further maintenance problems for these cards. In any case changing a card's name to make it work should be considered as a makeshift solution at best, please try to prevent it when possible.
2010-02-02 22:21:25 +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
de47b25866 Added 51 successfully tested cards based on rev1757. 2010-01-31 20:56:25 +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
0892516ef4 Added huge amount of successfully tested cards.
Updated wordings (10E).
2010-01-09 22:03: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
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
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
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
79b248a152 Added many cards with "cantbeblockedby". 2009-12-29 18:17:06 +00:00
solo81@web.de
6e13ac53d7 Added huge amount of cards with mana cost restrictions.
Some new main categories are:

- Cards with Soulshift
- Cards with Transmute
- Rebels and Mercenaries
2009-12-26 23:37:35 +00:00
solo81@web.de
7689c3bbdc Added more cards with power restrictions. 2009-12-26 20:27:34 +00:00
Psyyringe
f57aacd020 Psyringe - fixed Enchantress's Presence (ONS). Triggers which fire upon "playing a card" need to be coded with "from(mystack), not "from(myhand)" - the latter would only trigger if you put the card into play without casting it.
Thanks to TheDark for the bug report.
2009-12-26 18:43:16 +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
leungclj
e0a13e78c0 JON4TH4N - Fixed forest!! 2009-12-23 15:26:16 +00:00
solo81@web.de
bacae53c1c Added Gigapede (ONS) (tested and working) 2009-12-18 16:28:56 +00:00
leungclj
dc44978e39 JON4TH4N - minor clean up 2009-12-15 03:06:33 +00:00
leungclj
c75b41cb9b JON4TH4N - added a bunch of "or more" cards, sorry, no test script, but tested in game, working 2009-12-14 15:02:12 +00:00
solo81@web.de
0d39c0177d Changed the code of all cards with optional cycling effects (ONS).
EXAMPLE: The older code of Death Pulse was:

autohand={1}{B}{B}:cycling && may -1/-1 target(creature)

I tested this ingame and the following happened: 
1. I pay the cycling cost. 
2. The engine gives me the option to target a creature. 
3. I choose a creature.
4. The cycling effect resolves: Death Pulse goes to the graveyard and I draw a card, but the targeted creature does not get the p/t malus.

This is seems to be because the cycling effect is coded as  option ("may") and the cycle process (dicard this:Draw:1) is coded as a "must".

I found a new, successfully tested way to code such cards by giving them 2 autohand-lines instead of only one: 
The first one is without optional effect and the second one is with optional effect.
Ingame, if you cycle Death Pulse f.e., a window will appear to choose between those two auto-lines. WORKS GREAT AND DOES NOT BREAK THE CARD!! :)
2009-12-13 13:54:38 +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
leungclj
f35ec32653 JON4TH4N - added a few cards with attach, need testing, new daily_build please.
- also need to test equipment a bit more, think I found a bug.
-test script for Resounding Thunder
2009-12-13 12:29:47 +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
wagic.the.homebrew@gmail.com
512f649147 Erwan
- Adding cycling. Check Akroma's vengeance in ONS for an example. Note that this uses autohand instead of auto, this is important! You can also use autograveyard. 
- All "auto" activated abilities should work with autohand, so this is not only for cycling, but could be used for other abilities as well. For example autohand={3}:cycling can also be written autohand={3}{S}:Draw:1
2009-12-12 11:09:13 +00:00
solo81@web.de
f78ec2e49c Updated (PCY) 2009-12-10 20:57:51 +00:00
solo81@web.de
75a1e314c7 Fixed Piety Charm (ONS) 2009-12-10 19:37:49 +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
leungclj
4b9223b125 JON4TH4N - requesting a new daily_build to verify r1424 2009-12-09 14:52:56 +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
wagic.the.homebrew@gmail.com
ff947737dc Erwan
- Fix symbiotic beasts in ONS. IMPORTANT NOTE: the trigger keyword is @movedTo, not @moved ;)
2009-11-03 07:30:14 +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
wagic.laurent
0c79d97bd9 Laurent - Bug fixes - some buggy cards identified during playtest in random deck mode (great to test cards) 2009-10-26 15:13:28 +00:00
leungclj
2d49747da9 JON4TH4N - couple of fixes 2009-10-25 19:14:07 +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
solo81@web.de
a0bc931614 (ONS):
-Wording update
-bug fixes
-removed some cards
-added a lot of good cards (no one did recognize them?? ^^)!
2009-10-05 15:20:05 +00:00
wagic.laurent
c7aa12054d Laurent - small correction to R1039 on ONS wheel and Deal.
PS: this card  is working great in a megrim deck....
2009-10-04 10:15:44 +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
b6e97c1f17 J0N4TH4N - please review the removal of Dehydration in MTGAbility.cpp 2009-10-03 15:36:53 +00:00