Commit Graph

104 Commits

Author SHA1 Message Date
omegablast2002@yahoo.com
4ff2bd9b95 added:
Word of Seizing
Wipe Away
Take Possession
Sulfur Elemental
Sudden Shock
Sudden Death
Stonewood Invocation
Krosan Grip
Extirpate
Celestial Crusader
Kaijin of the Vanishing Touch
2011-02-03 00:04:42 +00:00
omegablast2002@yahoo.com
81f3a4c1d5 added Maelstrom Djinn 2011-02-02 21:54:25 +00:00
omegablast2002@yahoo.com
31a08e5470 added otherworldly journey and mystifying maze 2011-02-02 21:22:40 +00:00
omegablast2002@yahoo.com
f42227933c added Valakut, the Molten Pinnacle 2011-02-02 20:11:25 +00:00
omegablast2002@yahoo.com
1f047529de added bloodcrazed goblin 2011-02-02 18:50:55 +00:00
omegablast2002@yahoo.com
d675e65de7 added giant shark, inflame 2011-02-02 18:46:41 +00:00
omegablast2002@yahoo.com
00f9b7b2ef a couple of the todo card didnt get removed in last commit 2011-02-02 18:24:02 +00:00
omegablast2002@yahoo.com
840edaf14d added and updated the todo
Crushing Pain
Fatal Blow
Final-Sting Faerie
Opportunist
Witch's Mist
Reciprocate
Retaliation
Giltspire Avenger
doc might find more uses for it then i, just thought i would code some cards to go in with it.

note:pregamebooster failing again...whoever keeps adding new tokens to the card.dat please refrain from doing so as it is breaking a test in test suite...
2011-02-02 18:23:26 +00:00
solo81@web.de
6a5eeff8dd Added Avatar of Might. 2011-01-30 22:16:48 +00:00
solo81@web.de
015fdb7bfa Fixed Jackal Pup. 2011-01-30 21:17:48 +00:00
solo81@web.de
329b0cf929 Added 9 cards based on rev2979.
Cloak and Dagger
Dragon Breath
Dragon Fangs
Dragon Scales
Dragon Shadow
Dragon Wings
Obsidian Battle-Axe
Sword the Meek
Veteran's Armaments
2011-01-30 10:39:16 +00:00
solo81@web.de
ac3b65995b - Added MBS. 124 out of 155 could be added (that's over 80%).
- Added a test for livingweapon.

- Reverted one part of rev2975.
2011-01-29 20:46:37 +00:00
solo81@web.de
74bf7fdab3 Added 8 cards based on rev2963.
Artifact Ward
Avatar of Fury
Bartel Runeaxe
Gaea's Revenge
Karplusan Strider
Spellbane Centaur
Suq'Ata Firewalker
Tetsuo Umezawa
2011-01-28 23:03:45 +00:00
solo81@web.de
5b2a50fbec Added 33 cards based on rev2926 (keyword "share").
[card]
name=Maelstrom Pulse
target=*[-land]
auto=all(*[share!name!]) destroy
text=Destroy target nonland permanent and all other permanents with the same name as that permanent.
mana={1}{B}{G}
type=Sorcery
[/card]


Card list --> First comment
2011-01-28 20:58:29 +00:00
solo81@web.de
2bcf7ecdff Added 650 new cards based on rev2922.
Playable Highlights are:

Psychatog
Grim Lavamancer
Anurid Brushhopper
Flameblast
Thwart
Baron Sengir
Sengir Vampire
Stuffy Doll
Undiscovered Paradise
Gush
Heritage Druid
Mageta the Lion
Faceless Butcher
Mesmeric Fiend
Oblivion Ring
Parallax Wave
Knight of the White Orchid
Contagion
80 creatures with Morph (Exalted Angel,etc.)

Added 27 tests.

Card list -> see comments. The list is separated into the single card groups.
2011-01-23 12:41:11 +00:00
solo81@web.de
4c2d631921 Moved Eye for an Eye to the mtg_todo.dat. It probably never worked.
Closing issue521.
2010-11-28 14:50:56 +00:00
solo81@web.de
9a32c507b6 Fixed Vebulid.
Readded Footsteps of the Goryo. Zethfox had a solution for this!
2010-11-16 12:09:46 +00:00
solo81@web.de
c79fdcbf50 Fixed several cards.
Blitz Hellion
Deathcoil Wurm
Laccolith Grunt
Laccolith Titan
Laccolith Warrior
Laccolith Whelp
Line Wolf
Pride of Lions
Righteous Fury
Rhox
Thorn Elemental
Tornado Elemental
Wolf Pack


Removed Foosteps of the Goryo. It cannot work right now for the same reason as Miraculous Recovery cannot work.
2010-11-15 21:03:09 +00:00
solo81@web.de
b5e451d529 Added 130 successfully tested cards, mainly based on rev2554 (!!THANK YOU ZETH!!)
Maybe 30 of those cards have been found during a scan of every Magic set, they could have been in for quiet some time... .

Card list -->> First comment
2010-11-10 22:00:16 +00:00
solo81@web.de
04efd4f78f Added 37 cards based on rev2444 and rev2479. (Card list -> First comment)
Fixed Sun Titan and some other reported card bugs.
2010-10-22 19:37:43 +00:00
solo81@web.de
038f9c2ba0 Fixed Gempalm Incinerator and Eldrazi Monument.
Removed Armament Master (never supported!).
2010-10-07 20:13:14 +00:00
solo81@web.de
524ec5b962 Readded all cards which had to be removed once due to issue284.
"@damaged(creature)" is already safed by 2 test suite tests (Mirri & Mephidross Vampire).
2010-09-27 19:42:49 +00:00
solo81@web.de
56a6c7b6f6 Readded Mephidross Vampire.
Added a few tests.
2010-09-26 13:53:25 +00:00
solo81@web.de
3b526a3555 Removed Dance of the the Dead from the primitives.
An attempt to fix it by aliasing it with Animate Dead failed: All additional bonuses from Dance of the Dead were ignored.

Closing issue404.
2010-09-26 09:21:44 +00:00
solo81@web.de
27ae3b834b Added around 155 codable cards from Scars of Mirrodin (SOM). 2010-09-24 18:10:53 +00:00
solo81@web.de
e654f01307 Added Flame-Kin Zealot, Kor Line-Slinger and Torch Slinger. 2010-09-19 11:14:50 +00:00
solo81@web.de
01666d2f2e Added 21 successfully tested cards based on several additions from Zethfox. 2010-09-19 09:03:25 +00:00
solo81@web.de
d7b649ed1c Added 22 successfully tested cards based on rev2286.
Example code:

[card]
name=Serra Avatar
auto=thisforeach(controllerlife) 1/1
autograveyard=moveTo(ownerlibrary) && shuffle
text=Serra Avatar's power and toughness are each equal to your life total. -- When Serra Avatar is put into a graveyard from anywhere, shuffle it into its owner's library.
mana={4}{W}{W}{W}
type=Creature
subtype=Avatar
power=*
toughness=*
[/card]

[card]
name=Divinity of Pride
abilities=flying,lifelink
auto=this(controllerlife > 24) 4/4
text=Flying, lifelink -- Divinity of Pride gets +4/+4 as long as you have 25 or more life.
mana={WB}{WB}{WB}{WB}{WB}
type=Creature
subtype=Spirit Avatar
power=4
toughness=4
[/card]
2010-09-18 18:05:37 +00:00
solo81@web.de
46c499be5f Added 6 cards based on rev2278.
Example code:

[card]
name=Arc-Slogger
auto={R}{z}{z}{z}{z}{z}{z}{z}{z}{z}{z}:damage:2 target(creature,player)
text={R}, Exile the top ten cards of your library: Arc-Slogger deals 2 damage to target creature or player.
mana={3}{R}{R}
type=Creature
subtype=Beast
power=4
toughness=5
[/card]

[card]
name=Deep Spawn
abilities=trample
auto=upcost[{M}{M}] moveTo(mygraveyard)
auto={U}:shroud && tap && frozen
text=Trample -- At the beginning of your upkeep, sacrifice Deep Spawn unless you put the top two cards of your library into your graveyard. -- {U}: Deep Spawn gains shroud until end of turn and doesn't untap during your next untap step. Tap Deep Spawn. (A permanent with shroud can't be the target of spells or abilities.)
mana={5}{U}{U}{U}
type=Creature
subtype=Homarid
power=6
toughness=6
[/card]

[card]
name=Leashling
auto={q(*|myhand)}:moveTo(myhand)
text=Put a card in your hand on top of your library: Return Leashling to its owner's hand.
mana={6}
type=Artifact Creature
subtype=Hound
power=3
toughness=3
[/card]


Optimized the code for all cards with RETRACE.


Fixed issue411. 


Fixed some cards.
2010-09-14 22:05:02 +00:00
solo81@web.de
2b81ba33f2 Added 33 successfully tested cards mainly based on rev2272.
2 example cards:

[card]
name=Decree of Justice
auto=token(Angel,Creature Angel,4/4,flying,white)*XX
autohand={2}{W}:cycling
autohand={X}{W}:name(cycle and soldier tokens) && cycling && thisforeach(X) token(Soldier,Creature Soldier,1/1,white)*X
text=Put X 4/4 white Angel creature tokens with flying onto the battlefield. -- Cycling {2}{W} ({2}{W}, Discard this card: Draw a card.) -- When you cycle Decree of Justice, you may pay {X}. If you do, put X 1/1 white Soldier creature tokens onto the battlefield.
mana={X}{X}{2}{W}{W}
type=Sorcery
[/card]

[card]
name=Stormbind
auto={2}{D}:damage:2 target(creature,player)
text={2}, Discard a card at random: Stormbind deals 2 damage to target creature or player.
mana={1}{R}{G}
type=Enchantment
[/card]


Added 2 tests for the keywords introduced in rev2272.


Corrected several card bugs.
2010-09-12 17:45:59 +00:00
solo81@web.de
693435b0ae Added "Dueldecks: Elspeth vs. Tezzeret" (EVT).
Added Kemba's Skyguard to the primitives.

Added Contagion Clasp to the mtg_todo.dat.
2010-09-11 21:13:13 +00:00
solo81@web.de
b336bc85d4 1) Optimized the code of 38 cards based on rev2262.
Cards with FLASHBACK are finally 100%. Here is one example to see the changes:

OLD:

[card]
name=Lava Dart
auto=damage:1 target(creature,player)
autograveyard={S(mountain|mybattlefield)}:copy(this) && moveTo(mystack)
text=Lava Dart deals 1 damage to target creature. -- Flashback - Sacrifice a Mountain. (You may cast this card from your graveyard for its flashback cost. Then exile it.)
mana={R}
type=Instant
[/card]


NEW:

[card]
name=Lava Dart
target=creature,player
auto=damage:1
flashback={S(mountain|mybattlefield)}
text=Lava Dart deals 1 damage to target creature. -- Flashback - Sacrifice a Mountain. (You may cast this card from your graveyard for its flashback cost. Then exile it.)
mana={R}
type=Instant
[/card]


2)Added 21 successfully tested cards based on rev2262. Most of these cards have BUYBACK.


Tests for both keywords will follow in one of the next revisions.
2010-09-10 22:13:41 +00:00
solo81@web.de
ca50a2a5a2 Added 21 successfully cards. Most of them profit from the newly introduced keyword=AFFINITY (thanks to Zethfox!)
[card]
name=Frogmite
abilities=affinityartifacts
text=Affinity for artifacts (This spell costs {1} less to cast for each artifact you control.)
mana={4}
type=Artifact Creature
subtype=Frog
power=2
toughness=2
[/card]

Added tests for that.

Have fun!
2010-09-10 16:19:19 +00:00
solo81@web.de
7b33d8382d Added 24 successfully tested cards based on rev2243 (many thx to Zethfox!!)
This addition includes
- cards with STORM (Dragonstorm,Tendrils of Agony,etc.) --> IT'S FINALLY THERE!
- cards which restrict the casting of spells (Arcane Laboratory,Silence)
- PLATINUM ANGEL (keyword: CANTLOSE)

Added tests for STORM;LAND:number,Sneak Attack

Removed Rhox Meditant and its tests.
2010-09-06 19:48:38 +00:00
solo81@web.de
3eb8e64a3e Added 43 successfully tested cards based on rev2234 + tests. 2010-09-03 23:17:17 +00:00
solo81@web.de
d47b6fd4ec Added 66 successfully tested cards based on the last revisions. There are several cards groups in this package:
- Phantom creatures (Phantom Centaur, etc.)
- Soratami
- Cards with alternative casting cost (Force of Will) including almost all cards with EVOKE.
- Creatures which let you look at target players hand.


Added tests for several card groups.


Fixed issue148. Bloodhall Ooze works now as it should.
2010-09-01 23:37:18 +00:00
solo81@web.de
4dc2e4c401 1) Added 76 successfully tested cards based on rev2220.
Card list --> first comment


2) Added 3 tests for "PREVENT:*number*".


3) Fixed issue403.
2010-08-29 15:06:39 +00:00
solo81@web.de
d67701a3b0 Added 7 successfully tested cards based on rev2209 (bloodthirst).
Added 1 test for creatures with Bloodthirst.

Removed 1 test (Tolsimir Wolfblood: This was related to a Voja workaround, which does not exist anymore!).
2010-08-28 22:11:57 +00:00
solo81@web.de
a856d2908e Added 4 cards based on rev2206.
Fixed several card bugs.

Added some missing info to some sets.
2010-08-26 23:11:13 +00:00
solo81@web.de
e59b883011 Added 8 cards based on the last 2 revisions.
Added 4 additional successfully tested cards.


Card list --> first comment
2010-08-23 23:06:44 +00:00
solo81@web.de
a28b3fd708 Added 51 successfully tested cards. Most of these cards profit from the latest additions. Card list --> first comment 2010-08-21 21:33:58 +00:00
solo81@web.de
704a3018fa Added 23 cards based on rev2185. (Card list ---> first comment)
Added tests for manacost changers and TRANSFORM.
2010-08-17 23:22:00 +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
2c0867ea0c Added 6 cards (card list --> first comment).
All these cards are creatures which have a certain effect when being cast ("played" from owners hand).

Their code profits from the fact that KICKER is not optional in Wagic: This means that whenever you are able to pay Myojin's kicker cost for example (in this case it is {0} --> rate: 100%), it will enter the battlefield with a Divinity counter on it.
- Myojin won't get the Divinity counter
----> when brought into play from the hand with cards like Elvish Piper.
----> when brought into play from any other zone.
2010-08-14 17:58:48 +00:00
solo81@web.de
897114af70 Added the new zone "OPPONENTHAND" (by Zethfox).
Zethfox: "Opponenthand gui access, cards that target(*|opponenthand) can now be coded as such, target chooser will activate allowing you to click the new icon under the avatar of the opponent and open the opponents hand Gui so you may select the target card."

Cards in opponents hand are only viewable when target choosing would allow you to enter that zone! ;)


- Added the new keyword "NAME". (by Zethfox). 
When used in an autoline it replaces an autoline's "ability" text with a custom ability name. 
The basic phrase is: "auto=name(whatever you want) &&".

Example card:
[card]
name=Order of the Stars
abilities=defender
auto=choice name(white) && counter(0/0,1,White) all(this)
auto=choice name(blue) && counter(0/0,1,Blue) all(this)
auto=choice name(black) && counter(0/0,1,Black) all(this)
auto=choice name(red) && counter(0/0,1,Red) all(this)
auto=choice name(green) && counter(0/0,1,Green) all(this)
auto=this(counter{0/0.1.White}) protection from white
auto=this(counter{0/0.1.Blue}) protection from blue
auto=this(counter{0/0.1.Black}) protection from black
auto=this(counter{0/0.1.Red}) protection from red
auto=this(counter{0/0.1.Green}) protection from green
text=Defender (This creature can't attack.) -- As Order of the Stars enters the battlefield, choose a color. -- Order of the Stars has protection from the chosen color.
mana={W}
type=Creature
subtype=Human Cleric
power=0
toughness=1
[/card]

The popup window for this card will now contain a list with 

"white,"blue","black","red" and "green" 
instead of 
"ability","ability","ability","ability","ability".

This will make a lot of cards much easier to handle!


- Added 42 successfully test using one (or both) new keywords.
Card list --> First comment


Note that we did not add tests for both new keywords:
It is simply not possible to write them yet! They will follow as soon as they are possible. We guarantee that everything we submitted in this revision has been tested excessively!
2010-08-13 00:38:56 +00:00
solo81@web.de
477439773b - Fixed the "CANTREGENERATE" keyword (by Zethfox).
The engine always handled it as "REGENERATE" and thus had to be renamed. Its new name is "CANTREGEN". It has been tested excessively by me and Zethfox. Now all cards with the former "cantregenerate" work as they should.

- I also added a test for "CANTREGEN" (Incinerate).


- Added the new keyword "FOG" (by Zethfox). 
This is an equivalent for "PREVENTALLCOMBATDAMAGE", which only worked for instants and sorceries. "Fog" works only for permanents and is used in combination with the newly introduced parameter "ONESHOT"!

- I also added 2 tests for "FOG" (Maze of Ith, Spore Frog).

Both additions lead to several issue fixes:
Fixed issue286.
Fixed issue328.
Fixed issue332.
Fixed issue416.

- Removed Demonic Torment, Gaseous Form, General's Kabuto, Sandskin. Those cards never worked and could even not be fixed with "FOG".


- Optimized the code of the dragon-lair land-cycle from PLS and added 2 tests for them.

- Added 8 successfully tested cards. Card list -> first comment.
2010-08-09 23:49:31 +00:00
solo81@web.de
9e549f3e88 (Re)Added 16 successfully tested cards based on rev2155.
Card list -> first comment.

Optimized code for 9 cards (now 100%).
Card list -> first comment

Fixed issue355.
2010-08-09 14:35:18 +00:00
solo81@web.de
a3376bf08c Added 18 successfully tested cards based on rev2155.
Card list -> first comment

- Added tests for "lifeset" (Biorhythm,Blessed Wind)

- Removed test for Hope Charm.

- Optimized all cards with life payment as activation cost or mana cost.

- Optimized all spells with a must choice.
2010-08-08 23:52:34 +00:00
solo81@web.de
e8470d6f71 Added Sword of Kaldra. 2010-08-05 19:42:05 +00:00
solo81@web.de
91be52e50e Added 18 successfully tested cards based on rev2146.
Card list --> First comment.
2010-08-01 18:06:04 +00:00