Commit Graph

52 Commits

Author SHA1 Message Date
solo81@web.de
79b248a152 Added many cards with "cantbeblockedby". 2009-12-29 18:17:06 +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
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
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
e0a13e78c0 JON4TH4N - Fixed forest!! 2009-12-23 15:26:16 +00:00
solo81@web.de
bacae53c1c Added Gigapede (ONS) (tested and working) 2009-12-18 16:28:56 +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
solo81@web.de
0d39c0177d Changed the code of all cards with optional cycling effects (ONS).
EXAMPLE: The older code of Death Pulse was:

autohand={1}{B}{B}:cycling && may -1/-1 target(creature)

I tested this ingame and the following happened: 
1. I pay the cycling cost. 
2. The engine gives me the option to target a creature. 
3. I choose a creature.
4. The cycling effect resolves: Death Pulse goes to the graveyard and I draw a card, but the targeted creature does not get the p/t malus.

This is seems to be because the cycling effect is coded as  option ("may") and the cycle process (dicard this:Draw:1) is coded as a "must".

I found a new, successfully tested way to code such cards by giving them 2 autohand-lines instead of only one: 
The first one is without optional effect and the second one is with optional effect.
Ingame, if you cycle Death Pulse f.e., a window will appear to choose between those two auto-lines. WORKS GREAT AND DOES NOT BREAK THE CARD!! :)
2009-12-13 13:54:38 +00:00
leungclj
ec4aa092ec JON4TH4N - fixed last revision, removed undead gladiator for now, my test script wont produce correct result, unless the "myupkeeponly" is not working properly 2009-12-13 13:24:57 +00:00
leungclj
6753454871 JON4TH4N - (ONS) added cycling cards, test script coming up 2009-12-13 13:04:47 +00:00
leungclj
f35ec32653 JON4TH4N - added a few cards with attach, need testing, new daily_build please.
- also need to test equipment a bit more, think I found a bug.
-test script for Resounding Thunder
2009-12-13 12:29:47 +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
512f649147 Erwan
- Adding cycling. Check Akroma's vengeance in ONS for an example. Note that this uses autohand instead of auto, this is important! You can also use autograveyard. 
- All "auto" activated abilities should work with autohand, so this is not only for cycling, but could be used for other abilities as well. For example autohand={3}:cycling can also be written autohand={3}{S}:Draw:1
2009-12-12 11:09:13 +00:00
solo81@web.de
f78ec2e49c Updated (PCY) 2009-12-10 20:57:51 +00:00
solo81@web.de
75a1e314c7 Fixed Piety Charm (ONS) 2009-12-10 19:37:49 +00:00
leungclj
c779c626b2 JON4TH4N - (ZEN) equipment added, please look at the todo, and perhaps expand on "mytgt" or "this" 2009-12-10 17:50:45 +00:00
leungclj
4b9223b125 JON4TH4N - requesting a new daily_build to verify r1424 2009-12-09 14:52:56 +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.the.homebrew@gmail.com
ff947737dc Erwan
- Fix symbiotic beasts in ONS. IMPORTANT NOTE: the trigger keyword is @movedTo, not @moved ;)
2009-11-03 07:30:14 +00:00
wagic.laurent
dfa7fbb5f8 Laurent - few card buggy card identified during playtest (random deck as usual) fixed. 2009-10-27 11:05:12 +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
leungclj
2d49747da9 JON4TH4N - couple of fixes 2009-10-25 19:14:07 +00:00
wagic.laurent
6d440b0423 Laurent - Added a few cards to DIS,small correction on ZEN, ONS, addition/removal in ICE
DIS additions:cards with Hellbent and some cards with @damaged. Note that "opponent" is not a valid target and "player|opponentinplay" will not work. So for some addition we assume that the creature will never deal damage to its owner (e.g trygon in DIS). Hellbent works fine in the situation described.
2009-10-16 09:24:24 +00:00
solo81@web.de
a0bc931614 (ONS):
-Wording update
-bug fixes
-removed some cards
-added a lot of good cards (no one did recognize them?? ^^)!
2009-10-05 15:20:05 +00:00
wagic.laurent
c7aa12054d Laurent - small correction to R1039 on ONS wheel and Deal.
PS: this card  is working great in a megrim deck....
2009-10-04 10:15:44 +00:00
wagic.laurent
21a324796b Laurent - Additions, correction on LRW,ZEN, ONS, STH, MOR.
@tapped(this) works fine...
2009-10-04 10:10:10 +00:00
leungclj
b6e97c1f17 J0N4TH4N - please review the removal of Dehydration in MTGAbility.cpp 2009-10-03 15:36:53 +00:00
leungclj
c511739c10 J0N4TH4N - minor update 2009-09-28 19:56:18 +00:00
leungclj
9a6f85ecab J0N4TH4N - remove Accursed Centaur 2009-09-26 08:30:23 +00:00
leungclj
8608cfb2f2 J0N4TH4N - (STH) updated, cards would like to work but didn't, Burgeoning, Soltari Champion, Spike Breeder (and all the other spike creatures)
-minor update other sets
2009-09-25 14:48:26 +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
e95b6ef7b8 J0N4TH4N - few updates
-don't understand why Aphetto Vulture won't work
2009-09-24 17:03:02 +00:00
leungclj
cd5acb8125 JON4TH4N - fix r737 2009-08-28 15:36:42 +00:00
solo81@web.de
9396b6dff9 Clean up, wording update, big fixes (ONS) 2009-08-28 13:19:22 +00:00
solo81@web.de
4533213bd8 Removed Cruel Revival (ONS) 2009-08-21 09:06:38 +00:00
solo81@web.de
1bf3458478 Some bug fixes 2009-08-21 09:01:53 +00:00
wagic.laurent
d30ca1db2e Laurent - Some additions, all tested and working. you can see in the todo.dat some tested and not working ... I don't understand why wrath of marit lage (ICE) does not work ??? 2009-08-10 05:21:57 +00:00
leungclj
c399915d40 2009-08-06 14:51:22 +00:00
wagic.the.homebrew@gmail.com
aad25e8fb0 Erwan
- fix corrupt, shepherd of rot, imaginary pet, reclusive wight, rhox meditant, immaculate magistrate, wellwisher
2009-07-30 14:16:04 +00:00
wagic.the.homebrew
5696b650ea Fixed a few bugs mentioned by abrasax 2009-07-29 07:55:33 +00:00
wagic.the.homebrew
be93e1f6d1 Erwan
-added some cards using the recent changes in draw,life,deplete. There are still lots of them to add I think
- fixed trumpet in M10
2009-07-29 04:34:27 +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
bf8d4fd827 Erwan
- bug fixes (civic wayfinder, fault line)
- target's quad is displayed for generictargetabilities
- added menutext for powertoughnessmodifier
2009-07-26 03:15:52 +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.superhiro
6d5bb3c7c1 Fixed Windswept Heath. 2009-07-21 11:34:53 +00:00
wagic.the.homebrew@gmail.com
01c62d04bf Erwan
-removing useless code
-fixed a few cards (incorrect set)
2009-07-18 14:26:58 +00:00
leungclj
16280c7ecb Jonathan - added few cards 2009-07-13 08:55:25 +00:00
wagic.the.homebrew@gmail.com
31ec10b464 Erwan
- Added a few cards
2009-07-12 13:52:27 +00:00