Commit Graph

19 Commits

Author SHA1 Message Date
solo81@web.de
79b248a152 Added many cards with "cantbeblockedby". 2009-12-29 18:17:06 +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
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
93674f7cc5 Added Elvish Spirit Guide (ALL)
Added Keen Sense, Mirri & Simian Spirit Guide (PLC)
2009-12-19 20:52:18 +00:00
leungclj
8ebdf91eea JON4TH4N - corrected Crovax, Ascendant Hero 2009-12-17 13:21:44 +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
leungclj
635256bd5c JON4TH4N - cards added according to r1424 2009-12-10 08:16:28 +00:00
leungclj
2f327edb6a JON4TH4N - resolve issue 197 2009-11-18 09:15:46 +00:00
solo81@web.de
f639ecf16a small corrections 2009-11-15 12:06:43 +00:00
solo81@web.de
e8fbdd7b66 small corrections, added some cards with {0} activation cost 2009-11-15 11:58:42 +00:00
Psyyringe
072c3d15d5 Psyringe - added some cards with zero activation cost: Blinking Spirit (ICE), Hyalopterous Lemure (ICE), Hopping Automaton (USG), Flowstone Hellion (STH), Viscid Lemures (TSP), Jodah's Avenger (PLC). Added couple of scripts to the test suite to make sure that the creatures work, and keep working. 2009-11-15 04:55:40 +00:00
leungclj
3d918cc2b3 JON4TH4N - couple of fixes 2009-10-27 11:18:43 +00:00
leungclj
df6ef02a85 Psyringe - Correction on a few sets 2009-10-05 12:20:16 +00:00
solo81@web.de
23135f107b Bug fixes, new wordings, some new cards (PLC) 2009-10-02 17:54:54 +00:00
wagic.the.homebrew@gmail.com
8709273def Erwan
-PLC Cards with Kicker
2009-09-27 14:06:45 +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
decd70d4cf J0N4TH4N - (PLC) updated, note: Pongify "target=creature
text=Destroy target creature. It can't be regenerated. That creature's controller puts a 3/3 green Ape creature token onto the battlefield.
auto=bury && token(Ape,creature,3/3,green) targetcontroller"
Doesn't work, if cast on creature the player is controlling, it works, but when cast on opponent's creature, token ends up on player's side.
2009-09-23 08:54:54 +00:00
wagic.jeck
4b8d344bcd Jeck - Card ID collisions, cache fixes, cache deleted pooling.
* mtgid now defaults to 0.
 * TextScroller will not update when empty.
 * Cache now moves WCachedResources we're finished with to a garbage pool for later use (to reduce memory fragmentation). 
 * Demo still crashes... but I'm thinking that has to do with fragmentation, not a leak?
2009-09-19 01:48:42 +00:00
wagic.the.homebrew
8cb3daa3ad Erwan
-Adding a few sets, please add/correct/remove cards, have fun :)
2009-09-18 08:13:16 +00:00