Commit Graph

13 Commits

Author SHA1 Message Date
solo81@web.de
ef9a90ba68 Added several successfully tested cards. 2009-12-31 17:01:05 +00:00
solo81@web.de
2e3d1041e3 Fixed Miraculous recovery (VIS)
Fixed Purge (DST)

Added ...tatatataaaa: Shauku Endbringer (MIR)! I tested this Vampiric Lady Gaga of Doom successfully ingame.
2009-12-30 13:07:40 +00:00
Psyyringe
49536fce44 Psyringe - introducing new ability: cantBeBlockedBy(T). T can be any targez specification, like "wall", "creature[flying]", etc. See added cards for examples. Note: This ability currently has the same restrictions as "protection from(T)", i.e. it can't be used in activated abilities or instants/sorceries. It *can* be used for creatures,auras, and other continuous abilities (e.g. an enchantment which grants "unblockable by walls" to all rats should be possible, although I didn't test that). There are 47 cards which use the phrase "can't be blocked by", so we should be able to get another fair mount of cards out of that.
Notes to programmers:
1. This feature uses an awful lot of copy-pasta, using "protetcion from()" as a base. While I'm learning the architecture, it's easier for me to have a dedicated single-purpose piece of code to work with, than trying to create multi-purpose code. I'm aware that this isn't a very elegant approach though, and I hope to be able to refactor additions like this into multi-purpose code once I have a better understanding of the architecture as a whole.

2. Please check the questions I'll add in my next code comments, specifically about AI integration and activated abilities / instants / sorceries.

3. I did have a crash (with the debugger complaining about stack corruption around the cd variable) during testing. I wasn't able to reproduce it though. I did have to clean the solution in-between when I updated to the primitives system, so perhaps there was this cleaning solved whatever corruption was in my files. I'm mentioning the issue in case someone has an idea on where my code might be risky (I'm still probne to making beginners mistakes).
2009-12-28 18:19:17 +00:00
Psyyringe
c626ddafa7 Psyringe - fixed non-working protection in 3 DST cards. 2009-12-25 09:58:04 +00:00
Psyyringe
8bc2249b9b Psyringe - added some DST cards 2009-12-20 02:21:12 +00:00
leungclj
f84cd15c4b JON4TH4N - added a few more cards + test script 2009-12-12 17:26:26 +00:00
leungclj
e65d1bda75 JON4TH4N - added a few more cards 2009-12-12 15:46:09 +00:00
leungclj
fd5731969e JON4TH4N - many minor fixes 2009-12-11 01:12:21 +00:00
Psyyringe
3264220b6d Psyringe - added some cards with the nofizzle ability.
Question: I also tried to code Root Sliver (LGN) with the line "auto=lord(sliver|stack) nofizzle", but this didn't work, Slivers could still be countered. Did I choose a wrong approach, or is there a limitation of the lord ability with regard to spells on thee stack?
2009-12-04 04:55:54 +00:00
wagic.laurent
90cf95d3d4 Laurent - Update DST (mistakenly removed the ID in my first upload). 2009-11-30 15:11:55 +00:00
wagic.laurent
1d11a0ce2b Laurent - Update DST 2009-11-30 08:48:34 +00:00
solo81@web.de
171eaf0234 Added lots of cards with protection from non-color stuff. 2009-11-21 14:22:47 +00:00
wagic.the.homebrew@gmail.com
1d1bcef983 Erwan
- Adding most missing sets. _cards.dat only contain 1 card so that the file is not submitted empty, but other than that...hundreds of cards to add... feel free to copy/paste existing files from the forum if you trust their content
2009-11-16 13:54:06 +00:00