Commit Graph

2462 Commits

Author SHA1 Message Date
Psyyringe 365c854e90 Psyringe - fixed toughness of Mountain Yeti, thanks to garlen for the bug report 2009-12-28 17:09:26 +00:00
Psyyringe d7bcc41ccc Psyringe - fixed Myr Servitor (5DN), it returned cards to the hand, not to the battlefield. Thanks to mickey_brown for the bug report. 2009-12-27 22:21:42 +00:00
Psyyringe dbd8df5070 Psyringe - fixed Penumbra creatures from APC: Missing colon in the trigger specification caused the effect to be executed when the trigger was set, not when it was fired. Also, from() information was missing, so the trigger would have fired on discarding the card as well. Also, Penumbra Wurm had the rules text of the Kavu. Thanks to mickey-brown for the bug report. 2009-12-27 21:08:56 +00:00
Psyyringe 667a7f6a8e Psyringe - reverted Urza's lands to abrasax' original way of coding them, plus minor adjustments. The previously used code made themwork only once. Added a test script for that condition. Also removed test script for Thought Courier (which would fail now, since the card was removed in a recent revision).
Thanks to TheDark for the bug report on Urza's lands.

Note that the lands still don't work entirely correct, they give you the option to tap them for one mana even when they shouldn't anymore. This can be fixed when aslongas(cards) <1 is working.
2009-12-27 19:43:36 +00:00
Psyyringe 48a7ca6d37 Psyringe - fixed non-working abilities of Mind over Matter (EXO) and Firemane Angel (RAV). "may" does not work foraczivated abilities (see issue 267). 2009-12-27 16:56:22 +00:00
wagic.the.homebrew@gmail.com 05a72de5bc Erwan
- Card Primitives system. Check Royal Assassin in RV, 10E, M10
- Please review, is sets/primitives a good directory? Should we rename MTGCard into "CardPrint"? 
- Unfortunately for now it is not possible to "override" a Primitive. A card that links to a primitive but also defines new "values" will create its own data and ignore the data in the "linked" primitive for the time being. I hope to solve that at some point...
2009-12-27 12:14:36 +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
Psyyringe 26d49a292c Psyringe - fixed Dandan (ARN), it was using a non-standard character in its name. Thanks to wins22 for the bug report. 2009-12-26 22:34:12 +00:00
Psyyringe cca741439b Psyringe - fixed color of Mountain Bandit (PTK), thanks to wins22 for the bug report. 2009-12-26 22:30:08 +00:00
solo81@web.de 9af240fb90 Added more cards with toughness restrictions. 2009-12-26 20:39:28 +00:00
solo81@web.de 7689c3bbdc Added more cards with power restrictions. 2009-12-26 20:27:34 +00:00
Psyyringe 0856fcc931 Psyringe - fixed Stun (10E). Thanks to Rob for the bug report. 2009-12-26 19:19:21 +00:00
Psyyringe dd2c815780 Psyringe - Fixed Urza's Tower and its associated test. Thanks to TheDark for the bug report. 2009-12-26 18:55:01 +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
solo81@web.de 0655f5da95 Added some cards with power/toughness restriction 2009-12-26 12:44:18 +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
Psyyringe ddb9ce251b Psyringe - Fixed Delusions of Mediocrity (ULG). Solution is inelegant. How useful would a trigger @movedfrom be, or (alternatively) the option to specify zones as "|*" ("anywhere") or as "|-battlefield" ("any zone but the battlefield")? Here's how this card could be coded then:
Now: auto=@movedTo(this|graveyard,library,hand,exile) from(battlefield) ...

Alternatives:
auto=@movedFrom(this|battlefield) ...
auto=@movedTo(this|*) from(battlefield) ...
auto=@movedTo(this|-battlefield) from(battlefield) ...

Suggestions? How many cards would benefit from such an addition?
2009-12-25 22:44:05 +00:00
Psyyringe 331f57cb41 Psyringe - fixed power of Yellow Scarves General (PTK), thanks to wins22 for the bug report. 2009-12-25 18:17:27 +00:00
Psyyringe 43dd27065d Psyringe - fixed Water Wurm (DRK). Parantheses have to follow the respective command immediately, without a space. The parser is looking for "aslongas(", "from(" etc., so it will not recognize the command if a space is introduced there. 2009-12-25 10:05:27 +00:00
Psyyringe c626ddafa7 Psyringe - fixed non-working protection in 3 DST cards. 2009-12-25 09:58:04 +00:00
leungclj e0a13e78c0 JON4TH4N - Fixed forest!! 2009-12-23 15:26:16 +00:00
wagic.laurent f4cf5b5532 Laurent - Small Cards bug correction - Yavimaya Druid (TSP) was missing Forestwalk. Removed Coral Helm from ATQ (need discard random as a cost). 2009-12-23 09:36:31 +00:00
wagic.the.homebrew@gmail.com 4be7d5ebd3 Erwan
- pumped version up to 0.10.1
- Added fleshformer, so that conflux gets 80 cards :)
2009-12-23 06:21:30 +00:00
leungclj b762a7e3a9 JON4TH4N - applied the same change from r1604, the reason because "may" will not work with "moveto" follow with a cost, and since you already paid for your ability cost, why pay a "may" there? Pay {G} and you dont have to use this ability XD. Tested asSorcery, works, but also found Flame Jab not working, reasons attached, so its removed. 2009-12-22 14:19:29 +00:00
wagic.the.homebrew@gmail.com 54142cc816 Erwan
- fix a segfault with Shivan Gorge
- Fix a memory leak in the AI
- Commit a test for issue 265
2009-12-22 13:11:08 +00:00
leungclj ccb07a25d1 JON4TH4N - fixed Skyshroud Ranger, yes, tested, no bug, no crash from this fix, no segfault (not sure what segfault is XD) 2009-12-22 02:20:03 +00:00
Psyyringe 8bc2249b9b Psyringe - added some DST cards 2009-12-20 02:21:12 +00:00
Psyyringe ff0331c801 Psyringe - reimplemented Goblin Cannon (5DN) after successful test following discussion on r1508 2009-12-20 00:53:50 +00:00
solo81@web.de 3c8a1dd685 Reordering (CSP) 2009-12-19 22:07:28 +00:00
solo81@web.de 93674f7cc5 Added Elvish Spirit Guide (ALL)
Added Keen Sense, Mirri & Simian Spirit Guide (PLC)
2009-12-19 20:52:18 +00:00
solo81@web.de 0f6da1f076 Fixed Into the North (CSP) 2009-12-19 15:21:11 +00:00
solo81@web.de 5286b51d5c Small fixes
Removed some cards

Added Skyshroud Ranger (TMP)
2009-12-19 14:40:58 +00:00
wagic.superhiro 2c31280a8d Fixed Stomping Grounds. 2009-12-18 21:59:35 +00:00
solo81@web.de 4256a2f512 Added some cards (MIR) 2009-12-18 21:20:13 +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
solo81@web.de d1ee26d3a2 Added Magma Phoenix (M10) and Pyre Zombie (INV) 2009-12-18 16:52:35 +00:00
solo81@web.de bacae53c1c Added Gigapede (ONS) (tested and working) 2009-12-18 16:28:56 +00:00
solo81@web.de bb7965cd9a Fixed Scourglass (ALA) 2009-12-18 16:09:09 +00:00
solo81@web.de 8307d62e68 Small fixes from my last card additions 2009-12-18 15:45:36 +00:00
wagic.laurent 26a44c672e Laurent - small correction to R1581 (sorry) 2009-12-18 15:41:56 +00:00
wagic.laurent c8bdb3b37e Laurent - Added few cards with reinforce (MOR ability similar to cycling). Tested Hunting Triad "in game" and works fine. Did not add Rustic Clachan (will need to test it first). 2009-12-18 15:39:23 +00:00
solo81@web.de e978664d18 Added Genesis and Glory (JUD) (tested and working).
Added almost all cards with retrace-ability (EVE) (tested and working).
2009-12-18 15:35:47 +00:00
wagic.the.homebrew@gmail.com b892bce44c Erwan
- Fixing issue 234 (segfault risk with "becomes")
2009-12-18 14:47:07 +00:00
wagic.the.homebrew@gmail.com edd83ea2e1 Erwan
- Fix id collision
2009-12-18 11:06:18 +00:00
solo81@web.de cecfa80ca0 added more successfully tested cards 2009-12-17 21:47:43 +00:00
Psyyringe 05aed90b84 Psyringe - fixed rarity of Fire Bowman (PTK) 2009-12-17 21:36:51 +00:00
Psyyringe 7544f3d198 Psyringe - added missing rules text to Fire Bowman (PTK) 2009-12-17 21:35:13 +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
Psyyringe ee70461d9d Psyringe - added Goblin Welder (ULG), as per forum discussion here: http://wololo.net/forum/viewtopic.php?f=15&t=915&p=8239&hilit=welder#p8239 2009-12-17 20:16:08 +00:00
leungclj 8ebdf91eea JON4TH4N - corrected Crovax, Ascendant Hero 2009-12-17 13:21:44 +00:00