Commit Graph

34 Commits

Author SHA1 Message Date
Anthony Calosa
a939021304 Updated Kamigawa Block 2016-07-01 17:24:32 +08:00
anthonycalosa@gmail.com
ece78395f4 Update SOK for Erayo, Soratami Ascendant 2013-06-13 13:37:25 +00: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
142fcef4c4 Added 211 cards based on rev4331.
AI is able now to make simple decisions like "Chosen Discard", "Chosen Sacrifice" and so on. This leads to a massive card package which contains many powerful and much beloved cards like the Eldrazi creatures:

[card]
name=Kozilek, Butcher of Truth
autostack=draw:4 controller
autograveyard=moveTo(ownerlibrary) && shuffle
auto=@combat(attacking) source(this):name(Annihilate) ability$!name(sacrifice 4 permanents) notatarget(<4>*|mybattlefield) sacrifice!$ opponent
text=When you cast Kozilek, Butcher of Truth, draw four cards. -- Annihilator 4 (Whenever this creature attacks, defending player sacrifices four permanents.) -- When Kozilek is put into a graveyard from anywhere, its owner shuffles his or her graveyard into his or her library.
mana={10}
type=Legendary Creature
subtype=Eldrazi
power=12
toughness=12
[/card]

Tests will follow.

Card list in the first comment. Have fun!
2012-03-25 16:38:52 +00:00
wagic.the.homebrew
8e4de36588 - unsupported.txt cleanup + conflicts cleanup (had to partly comment out some cards for which we don't have a clean solution yet, "multipart cards" are basically 2 cards that share the same Multiverse ID, such as "Day // night" ) 2011-04-23 04:55:00 +00:00
guzhenjie1@gmail.com
a2b7aac8c3 Added missing code of Lightning Coils, corrected text of Angelheart Vial and fixed Crazed Armodon.
Changed the code of Tomb of Urami:
Tomb of Urami
auto={2}{B}{B}{T}:moveTo(mygraveyard) all(land|myBattlefield) && token(-74492)
 ==> 
auto={2}{B}{B}{T}:moveTo(mygraveyard) all(land|myBattlefield) && token(Urami,Legendary Creature Demon Spirit, 5/5,flying,black)

Removed the token card of it in mtg and card.dat:
[card]
name=Urami
abilities=flying
text=Flying
type=Legendary Creature
subtype=Demon Spirit
power=5
toughness=5
color=black
[/card]

SOK
[card]
primitive=Urami
id=-74492
rarity=T
[/card]
2011-03-04 11:08:37 +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
d618aa4e6e 1) Added several successfully tested cards based on the fact that "<1" now seems to work completely for any permanents.
Card list -> first comment.

2) Fixed issue422.

3) Optimized 3 cards:

Covetous Dragon
Emperor Crocodile
Tethered Griffin


All additions and changes don't cause test suite to crash.

Will also add some tests in the next few days.
2010-06-09 20:47:38 +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
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
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
2df6a71c87 Added several successfully tested cards. 2010-01-17 22:00:19 +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
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
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
solo81@web.de
5286b51d5c Small fixes
Removed some cards

Added Skyshroud Ranger (TMP)
2009-12-19 14:40:58 +00:00
solo81@web.de
3c2b51607d Added most cards with Channel-ability (SOK).
Added Worldheart Phoenix (CFX)
2009-12-18 19:56:59 +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
leungclj
635256bd5c JON4TH4N - cards added according to r1424 2009-12-10 08:16:28 +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.laurent
248d5eb171 Laurent - small update SOK (Deathmask Nezumi), CFX (Soul's majesty) 2009-11-30 12:24:45 +00:00
solo81@web.de
699e811364 Small fix from last revision. 2009-11-29 21:07:48 +00:00
solo81@web.de
80d6e455e5 Added huge amount of cards referring to Wololo's descriptions in rev1322. 2009-11-29 21:04:32 +00:00
wagic.laurent
61a06ab40f Laurent - update SOK 2009-11-27 12:29:42 +00:00
wagic.the.homebrew@gmail.com
1d1bcef983 Erwan
- Adding most missing sets. _cards.dat only contain 1 card so that the file is not submitted empty, but other than that...hundreds of cards to add... feel free to copy/paste existing files from the forum if you trust their content
2009-11-16 13:54:06 +00:00