Commit Graph

850 Commits

Author SHA1 Message Date
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
leungclj
4251ceb6be JON4TH4N - corrected Restrain, come on! Bring on the fix! 2009-12-17 13:19:41 +00:00
leungclj
6ed9fd2be4 JON4TH4N - addition to r1553 2009-12-17 13:03:25 +00:00
solo81@web.de
6087c34ad9 Added some cards (P02) 2009-12-17 13:01:42 +00:00
leungclj
4676220134 JON4TH4N - corrected Ivory Tower 2009-12-17 12:52:25 +00:00
leungclj
3eac4ea854 JON4TH4N - corrected Brutal Nightstalker 2009-12-17 12:48:38 +00:00
solo81@web.de
5e9e0b6348 Added Squee, Goblin Nabob (MRQ,10E). Card has been successfully tested ingame! 2009-12-17 12:44:22 +00:00
wagic.the.homebrew@gmail.com
fad1699960 Erwan
-update Ilya's Theme. Would be great if someone could copy/paste the avatars for the 50 remaining decks...
2009-12-17 12:35:16 +00:00
Psyyringe
d7495e80be Psyringe - Removed erroneous "opponentbattlefield" limitation from Pit Trap. Updated the card's rules text. 2009-12-17 11:51:43 +00:00
wagic.laurent
0d6bd27d85 Laurent - fix Issue 259 - Storm Crow (ALL) Wrong ID 2009-12-17 11:34:58 +00:00
wagic.laurent
9b9968cc91 Laurent - removing Amok (STH) 2009-12-17 11:05:28 +00:00
leungclj
e1a1281088 JON4TH4N - nothing important 2009-12-16 18:07:54 +00:00
Psyyringe
28a5b3f490 Psyringe - delete some stray spaces which were screwing up translation and deck file reading. This has happened repeatedly, perhaps we should run a test script over the _cards.dat and todo.dat files which strips spaces from line ends. 2009-12-16 15:29:01 +00:00