70 Commits

Author SHA1 Message Date
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
c46a6d3440 Updated Shards of Alara Block 2016-07-01 19:16:59 +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
anthonycalosa@gmail.com
b78c8084be Card Fixes:
------------

Dragon Broodmother - change token id to source card token id
Kjeldoran Javelineer - revised code
Malignant Growth - Growth counter damage
Marsh Crocodile - revised code
Mindslash Sliver - revised code
Phyrexian Etchings - revised code
Psychic Vortex - revised code
Sheltering Ancient - dynamicability<!agecountersoneone!>
Wall of Shards - revised code

updated ARB/_cards.dat (pls. update your ARB set folder)
2013-01-11 07:43:29 +00:00
wagic.the.homebrew@gmail.com
8fdb64e9ce Erwan
- adding tests for issue 489 and issue 491
- check for null pointers in Credits.cpp
- Test suite can now select tokens by their name
- Fixed Dragon Broodmothere's token name
2010-10-17 10:21:08 +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
1e25fc44d4 Added 10 successfully tested cards with Devour.
Added a test script creatures with Devour.

Card list -> First comment
2010-05-12 22:02:14 +00:00
solo81@web.de
998e17ef25 Added all remaining codable cards with Unearth.
Card list -> First comment
2010-05-11 21:05:19 +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
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
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
5e2551f682 Added several cards based on rev1685. 2010-01-06 16:54:38 +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
solo81@web.de
c33e748f30 Fixed Glassdust Hulk (ARB) && Ogre Warrior (GPT) 2010-01-04 11:52:54 +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
solo81@web.de
7689c3bbdc Added more cards with power restrictions. 2009-12-26 20:27:34 +00:00
solo81@web.de
0655f5da95 Added some cards with power/toughness restriction 2009-12-26 12:44:18 +00:00
solo81@web.de
55b2e6e3d1 Wording update, card fixes for rev1494. 2009-12-13 15:41:13 +00:00
leungclj
3888d71fe4 JON4TH4N - (CFX) added cycling cards 2009-12-13 15:34:35 +00:00
leungclj
61f38b7494 JON4TH4N - fixed my last revision 2009-12-13 14:49:00 +00:00
leungclj
25a2bc4781 JON4TH4N - (ARB) added cycling cards 2009-12-13 14:44:08 +00:00
leungclj
d8bd95d5ed JON4TH4N - (ARB) added equipment, sorry, no idea how to write this test script, so I tested it manually, works fine 2009-12-12 08:01:26 +00:00
wagic.the.homebrew@gmail.com
ca35754273 Erwan
- Adding equipments. They work like auras, except you have to add an "auto={cost}:equip" line. See Behemoth sledge in ARB for an example. Please test a lot before committing, thanks :)
2009-12-10 13:44:05 +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
7a6ee562c2 Added Putrid Leech (ARB) 2009-11-15 12:21:49 +00:00
solo81@web.de
b9f08bd69a Fixed Ethercaste Knight (ARB) 2009-10-25 11:17:40 +00:00
wagic.laurent
8583d8a3d4 Laurent . Few additions with @damaged (ARB, ODY, RV) small correction (Idyllic Tutor from MOR) 2009-10-21 13:41:05 +00:00
solo81@web.de
e04153aa6a (ARB):
- Wording update
- Bug fixes
- Removed Nulltread Gargantua
2009-10-21 10:52:03 +00:00
wagic.laurent
af41e28180 Laurent - small set additions/corrections 2009-10-19 21:12:16 +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
leungclj
df6ef02a85 Psyringe - Correction on a few sets 2009-10-05 12:20:16 +00:00
leungclj
649d7003a7 J0N4TH4N - added a lot of deathtouch cards 2009-09-29 09:53:36 +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
bd450df542 J0N4TH4N - few more updates 2009-09-24 17:22:18 +00:00
leungclj
626e13f1ed J0N4TH4N - few fixes 2009-09-16 01:40:02 +00:00
leungclj
85f6f15947 JON4TH4N - removed cards that "destroy target when comes into play" "may" is required, but that is incorrect. 2009-09-10 04:12:12 +00:00
leungclj
69a20f24c2 JON4TH4N - (ARB) fix 2009-09-05 01:20:19 +00:00
solo81@web.de
368dfb94dc try to fix Dauntless Escort (ARB) 2009-08-31 08:00:30 +00:00
wagic.the.homebrew@gmail.com
163d296bb5 Erwan
- removed useless "color=" lines
- Added color override for cards such as crimson kobolds (note: color should be after the "mana" line to avoid side effects)
2009-08-28 13:40:14 +00:00
leungclj
b02dc11f0d JON4TH4N - reverted 2009-08-27 08:49:02 +00:00
leungclj
de8404df97 JON4TH4N - fixes, need confirmation 2009-08-23 03:49:31 +00:00
leungclj
6fdc87ef92 JON4TH4N - since when indestructible was working? 2009-08-23 03:16:45 +00:00
wagic.laurent
8f5e60ebd5 Laurent - small Bug fix ARB 2009-08-15 17:00:57 +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
leungclj
07ff992e4d Jonathan - so far during my testing, corrupte doesn't do damage to target player, only to creature, but still gives correct life gain to user.
Removed Reclusive Wight + Imaginary Pet, they don't work.
(10E) Stronghold Discipline is doing double the amount of life lost.

Going to test on more aslongas cards, appears some pharse doesnt go with aslongas at the moment.
2009-07-29 10:02:19 +00:00
wagic.the.homebrew
5696b650ea Fixed a few bugs mentioned by abrasax 2009-07-29 07:55:33 +00:00