Commit Graph

118 Commits

Author SHA1 Message Date
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
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
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
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.laurent
a2205c013a Laurent - Fix issue 253 (ZEN) few additions/corrections related to the addition made in R1485 (myUpkeepOnly). I did not add all of them, some that might work are still in the todo.dat with a tag "#Require Testing".
Removed Minotaur Explorer (ODY)
2009-12-16 10:42:16 +00:00
wagic.the.homebrew@gmail.com
a7493154fa Erwan
- fix issue 168 (kudzu)
- Fix issue 162 (copy VS shroud). This fix introduces a new keyword: NotATarget() instead of Target(). (Which was the best way for me to keep some kind of backward compatibility/ not alter the code too much / fix the bug)
2009-12-13 07:03:28 +00:00
wagic.the.homebrew@gmail.com
3d23a4f3c8 Erwan
- fix twitch in 10E
2009-12-12 10:46:08 +00:00
leungclj
aa27e4ca16 JON4TH4N - (10E) added equipment 2009-12-12 06:57:26 +00:00
wagic.the.homebrew@gmail.com
04ab044438 Erwan
-fix conviction,scultping steel, whip silk
2009-12-10 13:47:31 +00:00
Psyyringe
13f49fe395 Psyringe - minor maintenance: removed some superfluous color= lines 2009-12-04 16:48:29 +00:00
solo81@web.de
348b926bae Added Darkness (LEG), Fog (M10,MIR) and Holy Day (10E,INV,LEG). 2009-11-29 18:31:53 +00:00
wagic.the.homebrew
22875def74 Erwan
- Small card fixes
2009-11-25 04:18:20 +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
54e78ee604 Fixed Mind Shatter (MOR)
Fixed Sculpting Steel (10E,MRD)

Fixed Kris Mage (MRQ)
2009-11-19 08:55:43 +00:00
wagic.laurent
245cfc625c Laurent - Bug corrections ICE: Enervate, removed: Forbidden Lore, Krovikan Fetish (@next upkeep works same as @each upkeep not really a bug since only this card as such effect). ODY Squirrel mob (wrong p/T). 10E tentatively fixed Twitch (not sure about it yet) POR: Fixed devastation, changed Vampiric Touch (to better reflect the card wording) 2009-11-07 18:25:38 +00:00
leungclj
b5e049e1be JON4TH4N - apply the same change as r1189 2009-10-26 16:55:24 +00:00
wagic.laurent
0c79d97bd9 Laurent - Bug fixes - some buggy cards identified during playtest in random deck mode (great to test cards) 2009-10-26 15:13:28 +00:00
wagic.laurent
f95b46f256 - Laurent Oops correction to 10E (thieving magpie)... was the old wrong code for thieving magpie...(opponent is not a valid target and was missing the from() )
Sorry for that...
2009-10-15 09:41:02 +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
f882fd437b J0N4TH4N - removed hard code for Dreamborn Muse 2009-10-04 01:39:23 +00:00
leungclj
b6e97c1f17 J0N4TH4N - please review the removal of Dehydration in MTGAbility.cpp 2009-10-03 15:36:53 +00:00
wagic.the.homebrew@gmail.com
515c5ef0db Erwan
-new trigger: @tapped(...
-Parser now supports X for P/T. WARNING: this does not work for activated abilities. And currently this works only for P/T but will be added progressively to other things
2009-09-27 03:41:28 +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
e85f2afec8 J0N4TH4N - (10E) fixed Nekrataal 2009-09-25 10:00:42 +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
09ed6d149d J0N4TH4N - few updates 2009-09-17 03:33:55 +00:00
wagic.the.homebrew@gmail.com
8771ee7579 Erwan
-Various card fixes
2009-09-06 09:55:11 +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
wagic.the.homebrew@gmail.com
c757a791c2 Erwan
- removed viridian shaman
- small bug fixes
2009-08-11 13:23:14 +00:00
leungclj
58c90c47ca Jonathan - rerefix r665 2009-08-07 09:55:26 +00:00
leungclj
9e796ddda7 Jonathan - refix r664 2009-08-07 08:56:15 +00:00
solo81@web.de
163157083d Some fixes (10th) 2009-08-07 08:31:06 +00:00
wagic.the.homebrew@gmail.com
4570879624 Erwan
- attempt to fix a few issues with threaten
- removed Lands from M10 boosters (use rarity=L instead of Rarity=C)
2009-08-01 06:14:36 +00:00
wagic.laurent
baab97331f Laurent - few addition to M10 mainly aliases from 10E and RV except Jackal Familiar and Burning Inquiry (not tested yet, will report if any issues).
Grü
2009-07-30 15:29:42 +00:00
wagic.laurent
9e498a0fb5 Laurent - Few addition to 10E all tested and working, although Skyshroud Range could be seen as boderline (since the abilities should be only at your turn) + underworld dream will deal damage if you "search" for a card and put in in your hand but not if you put it in play (not sure about the ruling here...)
Also you can see in the todo.dat I tried Sift, Stampeding Wildbeast and Denizen of the Deep, all not working...

Also the following cards can probably be parsed: 1205: //Lifetap; 1625: //Lifeblood; 2593: //Thoughtleech and removed from both MTGAbility.cpp and Allabilities.h (for AGiveLifeforTapped***)

Grü

L.
2009-07-30 14:15:33 +00:00
leungclj
8149881001 Jonathan - some clean up 2009-07-29 01:11:33 +00:00
wagic.the.homebrew@gmail.com
62048ef486 Erwan
- code cleanup
2009-07-28 14:15:59 +00:00
wagic.the.homebrew@gmail.com
c449c6782b Erwan
-removed mind rot test (mind rot is not codable)
-removed "cantbeblockedby" creatures
2009-07-28 10:56:43 +00:00
leungclj
297fdef4de Jonathan - (10E) small fix 2009-07-28 04:04:36 +00:00
wagic.the.homebrew@gmail.com
bb4cb3be7d Erwan
- fix soul warden
- fix counters (chainbreaker)
- removed cards that do not work
- updated version
2009-07-27 10:33:11 +00:00
leungclj
aeec36fd0a Jonathan - (10E) updated Birds of Paradise 2009-07-27 03:52:12 +00:00
leungclj
4e440998c1 Jonathan - some random update 2 2009-07-26 09:27:04 +00:00
leungclj
cd040a51ec Jonathan - some random update + my first edition on MTGAbility.cpp + not tested Cruel Tutor (POR), I hope it doesn't shuffle after the card is put on to the top of the library..... 2009-07-26 08:00:23 +00:00
wagic.the.homebrew@gmail.com
129334b93f Erwan
-fixed shop refresh method problem (would not save correctly)
2009-07-26 06:08:39 +00:00
leungclj
ada385d358 Jonathan - another one of those update 2 2009-07-26 04:23:12 +00:00
leungclj
ff681c9d74 Jonathan - (10E) updated 2009-07-26 03:27:42 +00:00
wagic.the.homebrew
75d801c632 Erwan
- Added all counter cards I could find that would work
2009-07-22 02:25:31 +00:00
wagic.laurent
7ccac4bb9e Laurent - Removed useless code + updated corresponding cards.dat 2009-07-21 08:50:40 +00:00
wagic.the.homebrew
2ca0c75c19 Erwan
-Added cards (search in your library + put into play tapped)
- Fixed issues in CHK
2009-07-21 01:12:56 +00:00