Commit Graph

2462 Commits

Author SHA1 Message Date
solo81@web.de 0892516ef4 Added huge amount of successfully tested cards.
Updated wordings (10E).
2010-01-09 22:03:21 +00:00
wagic.the.homebrew@gmail.com 192103b105 Erwan
- fix issue 260
- ad test for issue 267
2010-01-09 11:09:44 +00:00
Psyyringe 869a6b3535 Psyringe - quick fix to Drain the Well (EVE), a user reported to me that the opponent got the life bonus (instead of the caster) 2010-01-09 02:36:20 +00:00
wagic.the.homebrew@gmail.com dabd93b5d7 Erwan
-fix issue 287 (urza's mine)
2010-01-08 15:07:56 +00:00
solo81@web.de 83c054e5b8 Added huge amount of successfully tested cards, mainly based on revision 1685.
The new introduced "must" also works with "@movedTo..." events (Fire Snake (POR) for example)!
2010-01-07 20:59:01 +00:00
solo81@web.de 74c0628018 Added card based on rev1685. 2010-01-06 17:30:42 +00:00
solo81@web.de 5e2551f682 Added several cards based on rev1685. 2010-01-06 16:54:38 +00:00
solo81@web.de f3be1c8b74 Fixed Mystic Snake(APC) based on rev1685. 2010-01-06 16:34:44 +00:00
solo81@web.de 2e6ec731ec Added Gerrard Capashen (APC) 2010-01-06 16:28:59 +00:00
solo81@web.de b95a094b4c Small corrections from last revision. 2010-01-06 15:17:47 +00:00
solo81@web.de 3737f7b978 Added huge amount of successfully tested cards.
Plz read my comment below for explanation!
2010-01-06 15:13:49 +00:00
wagic.the.homebrew@gmail.com 28a9b83c1b Erwan
-"minor" fixes in Aven cloudchaser
2010-01-06 14:27:02 +00:00
wagic.the.homebrew@gmail.com 6f5b603912 Erwan
-missing todo.dat from previous update
2010-01-06 14:23:26 +00:00
wagic.the.homebrew@gmail.com da07370243 Erwan
- (Finally) adding "must" abilities. Usage is as natural as possible, check Aven cloudchaser in 10E.
2010-01-06 14:22:41 +00:00
wagic.jeck 50169eb5fb Jeck - Metadata edits.
* Set names redacted pending further research.
* Blocks assigned "safe", vaguely similar words.
2010-01-06 09:52:18 +00:00
wagic.jeck 3cdae99e46 Jeck - Rudimentary metadata for all current sets. 2010-01-06 00:06:43 +00:00
wagic.the.homebrew@gmail.com 2ea7de5a3a Erwan
- removed Channel and Shield of the ages, which technically solves issues 174 and 178...
2010-01-05 12:56:43 +00:00
solo81@web.de 21307ef1f7 Added several successfully tested cards (MIR).
Note: Rampant Growth was missing in the todo_dat!?
2010-01-04 21:56:48 +00:00
solo81@web.de 441b8a0f3a Added some cards (MRQ) 2010-01-04 13:51:37 +00:00
solo81@web.de c33e748f30 Fixed Glassdust Hulk (ARB) && Ogre Warrior (GPT) 2010-01-04 11:52:54 +00:00
solo81@web.de ced7b570ce Fixed Magma Phoenix (M10) 2010-01-04 11:32:45 +00:00
solo81@web.de 756af5e135 Fixed Pledge of Loyality (INV) 2010-01-04 11:30:06 +00:00
solo81@web.de 0bac62d3d1 Added several successfully tested cards. 2010-01-03 12:16:36 +00:00
wagic.the.homebrew@gmail.com 23fe54ae6f Erwan
- fix issue 153 (Tokens should go to graveyard)
- "token" keyword can now be used in the parser with things such as Creature[-token] for "noncreature token"
- Let's stop using "token" as a type
2010-01-03 10:08:36 +00:00
wagic.the.homebrew@gmail.com 69c5dee979 Erwan
- IMPORTANT: Legendary is not an ability anymore, creating cards with super types should be much more natural. You can now say "type=Snow Land", and stuff like that. No backward compatibility!!!
2010-01-03 03:11:30 +00:00
solo81@web.de 79a98e1c8f Small corrections 2010-01-03 02:51:41 +00:00
solo81@web.de 3f35d6e573 Added several successfully tested cards (INV). 2010-01-03 02:42:49 +00:00
solo81@web.de c045f4e01b Added several successfully tested cards (ICE). 2010-01-02 15:53:55 +00:00
Psyyringe e748a40302 Psyringe - fixed 3 cards:
Crosswinds (USG) - wrong manacost, also copy/pasted to the wrong position in the file
Akroma's Blessing (ONS) - cycling was in an auto= rule instead of an autohand= rule
Riptide Crab (INV) - was missing vigilance

Thanks to Raphael_Carlo for the bug reports
2010-01-02 12:00:23 +00:00
Psyyringe c1097a2a58 Psyringe - fixed Spell Snare (DIS), thanks to baldersmashed for the bug report. 2010-01-01 17:46:13 +00:00
Psyyringe 3c11ab01ac Psyringe - fixed the 4 Tainted lands in TOR. The previous code made the ability available even when it shouldn't be there, and also worked only for one activation (due to an engine bug, see issue 282). The new code is closer to what the card is supposed to do, and works more than once. 2010-01-01 17:12:11 +00:00
Psyyringe 6956074877 Psyringe - fixed Mirri the Cursed (PLC). Temporarily fixed Reiver Demon (MRD). Thanks to Raphael_Carlo for the bug report.
Important: I just realized that the fix to Reiver Demon will probably lead to problems later on. The problem is this: Reiver Demon has an ability "When yu play this from your hand ...". This was coded as @moveto(this|mybattlefield) from(mayhand). Which doesn't work, because the card doesn't actually enter the battlefield from the hand, it enters from the stack. So, "@moveto(this|mybattlefield) from(maystack)" has the desired effect. However, IIUC, spells played from anywhere else (e.g. from the graveyard, if they allow that) should be placed on the stack to. Hence, the "fixed" trigger will also fire in this case, which is wrong.

This means that we can't actually code "played from ..." entirely correct at the moment. Is there a solution for this?

According to the rules, only a copy of a spell enters the stack (never the spell itself), so could the "from()" part access where the card actually came from?

Do we need an @played trigger to differentiate between moving a card and actually playing it?
2010-01-01 13:33:22 +00:00
Psyyringe 62065e4602 Psyringe - fixed Vengeful Dead (SCG). Thanks to mickey_brown for the bug report. 2010-01-01 12:44:39 +00:00
Psyyringe 53d8960b5d Psyringe - fixed Golgari Germination (RAV), thanks to mickey_brown for the bug report. 2009-12-31 23:36:04 +00:00
Psyyringe b8a2051f95 Psyringe - removed Cabal Ritual, it's a TOR card (and already present there). Thanks to baldersmashed for the bug report. 2009-12-31 20:03:17 +00:00
solo81@web.de ef9a90ba68 Added several successfully tested cards. 2009-12-31 17:01:05 +00:00
Psyyringe ea31a5cf1c Psyringe - fixed Seismic Shudder (ZEN), thanks to mickey_brown for the bug report. Fixed Dragon Roost (ONS) - a character was missed during copy/paste and broke the card. 2009-12-30 21:11:54 +00:00
solo81@web.de 245661d52e Added Mangara of Corondor (TSP) Tested and Working. 2009-12-30 20:14:55 +00:00
solo81@web.de 12c2eaf073 Added RECURRING NIGHTMARE (EXO) Tested and working!
Added Serrated Biskelion (STH) Tested and working.
2009-12-30 19:38:42 +00:00
solo81@web.de d9462ecfc1 Several bug fixes, removed some cards, added 1 card (P02) 2009-12-30 17:42:18 +00:00
solo81@web.de 9900b2ec76 Removed Morselhoarder (SHM)
Fixed Consumptive Goo (SCG), code tested successfully ingame.
2009-12-30 13:25:42 +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
solo81@web.de 74d74d7c35 Small fix from last revision 2009-12-29 18:20:28 +00:00
solo81@web.de 79b248a152 Added many cards with "cantbeblockedby". 2009-12-29 18:17:06 +00:00
solo81@web.de 830b2a12c7 Added some cards with activation restriction "asSorcery". 2009-12-29 13:22:45 +00:00
Psyyringe c5e5e6a8c2 Psyringe - removed Tower o Coireall, a remnant of my testing which slipped through in r1639. Thanks to Dr. Solomat for noticing that! 2009-12-29 12:36:01 +00:00
solo81@web.de e361eecdd2 Fixed Fog Bank (USG).
Fixed Vampiric Spirit (P02).
2009-12-29 12:26:23 +00:00
Psyyringe 1f2a5bd4bd Psyringe - softcoded Great Defender (LEG), provided test script. 2009-12-29 00:39:16 +00:00
Psyyringe 219c69914a Psyringe - fixed Angel of Mercy (P02), it couldn't fly. Thanks to garlen for the bug report. 2009-12-28 20:02:09 +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