Commit Graph

267 Commits

Author SHA1 Message Date
leungclj
6061601c77 JON4TH4N - (ZEN) tanglesap fixed and tested and work but my test told me there was error regarding number of cards in play.... please check. 2009-12-03 17:32:40 +00:00
wagic.the.homebrew@gmail.com
f224dc0a25 ERwan
-fix issue 145 (double strike damages)
2009-12-03 15:02:34 +00:00
wagic.the.homebrew@gmail.com
51b53595bc Erwan
-closing issue 207 (psyonic sliver)
2009-12-03 14:22:23 +00:00
wagic.the.homebrew@gmail.com
57a320dbef Erwan
- fix issue 211 (circle of protection VS Black knight)
2009-12-03 14:14:27 +00:00
wagic.the.homebrew@gmail.com
5020d41023 Erwan
-fix issue 221 (legendaries+animate dead)
2009-12-03 14:04:05 +00:00
wagic.the.homebrew@gmail.com
a58e414a5f Erwan
- fix issue 226 (holy day)
- fix issue 213 (random deck NB of cards)
2009-12-03 13:40:48 +00:00
wagic.the.homebrew@gmail.com
f24546c0eb Erwan
-adding missing test "prosperity.txt"
2009-12-03 09:54:15 +00:00
wagic.the.homebrew@gmail.com
dfbdd1e4e5 Erwan
-added WParsedInt (X, p, t, manacost) for "Draw" effects. See prosperity
- Fixed denizen of the deep (P02), it had broken the test suite, sorry for that!
2009-12-01 12:43:18 +00:00
wagic.the.homebrew@gmail.com
1d38a4794d Erwan
- Adding Fog
2009-11-29 12:54:00 +00:00
Psyyringe
459eef4435 Psyringe - fixed Tempest (POR). Thanks to furiousone for finding the bug and providing the test script. 2009-11-28 08:51:37 +00:00
Psyyringe
2817925f0d Psyringe - Added Goblin Lackey (USG) and 4 scripts to test its functionality. Also improved the test script for the Spirit Link bug (issue 173) a bit. 2009-11-27 07:09:06 +00:00
wagic.the.homebrew@gmail.com
0e49fde01a Erwan
- Fix issue 222 (Glen Elendra Archmage)
2009-11-26 23:03:47 +00:00
Psyyringe
cdb3248a95 Psyringe - added test script for issue 222. 2009-11-26 10:30:25 +00:00
Psyyringe
75bf91127a Psyringe - added test script for issue 210. 2009-11-26 09:54:40 +00:00
Psyyringe
2175359378 Psyringe - fix for issue 217. Curiosity now works correctly by means of the new mytgt keyword. Test scripts which check the behavior of Curiosity when cast an one's own creature, and when cast on an opponent's creature, have been added. 2009-11-26 07:16:17 +00:00
Psyyringe
89e894da75 Psyringe - Fix for Ekundu Cyclpos, as suggested by Dr. Solomat (thanks!). This fixes issue 218. Test Scripts added to ensure that the card keeps working correctly in the future. 2009-11-26 05:38:49 +00:00
Psyyringe
d0e5f3c24c Psyringe - added test scripts for issue 221. 2009-11-26 04:03:08 +00:00
Psyyringe
15ce94ceaf Psyringe - fixed Dark Banishing (MIR). The bug has been reported before, but it only occurred on the MIR version of the card, which is the reason why it eluded us so far (the ICE and TMP versions work correctly). 2009-11-26 00:21:09 +00:00
wagic.the.homebrew@gmail.com
ac50198962 Erwan
-random cleanup
-fix issue 180 (for AI issues) by exchanging the two lines
2009-11-21 14:01:02 +00:00
wagic.the.homebrew@gmail.com
e1720415d1 Erwan
-adding script to reproduce issue 206
2009-11-21 13:29:55 +00:00
wagic.the.homebrew@gmail.com
734c7e6496 Erwan
- Actually fix issue 142
2009-11-21 10:06:32 +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
wagic.the.homebrew@gmail.com
da9a82cff4 Erwan
- removed some unused code. Please review!
- Added protection from() auto keyword. It is still possible to use protection from [color] in abilities, but when it is not possible, please use protection from([target]) in auto=
2009-11-21 07:26:26 +00:00
wagic.the.homebrew@gmail.com
1d55211245 Erwan
- Added ">" and "<" for foreach and aslongas. Can be used to code threshold cards. See black vise (RV) and korsan beast (ODY)
2009-11-18 14:37:28 +00:00
wagic.the.homebrew@gmail.com
7f9d22e0aa Erwan
-fixed a memory leak
- Added P02 and PTK 
- New way to create tokens in the parser, much more flexible, see the Hive in RV. Tokens can now be written as other cards, with a rarity of "T". I suggest their id to be the negative value of the card that generates them when possible. Naming convention for images is the same as before: a negative id such as -1138 will need a [id]t.jpg image (1138t.jpg). Positive ids work as "normal" pictures
2009-11-18 13:14:08 +00:00
Psyyringe
5558cae58b Psyringe - added 3 test scripts for (non-reproducible) bug reports. Also fixed a stray space after the name of a ZEN card. Due to this space the card would never be found when read in from a deck file, the card name in the deck file could never match the card name in _cards.dat. 2009-11-18 01:26:52 +00:00
Psyyringe
013b9ff91f Psyringe - r1273 reverted my additions/changes to _tests.txt. I don't see a reason why we shouldn't have the four added scripts in the test suite, so I assume this was an oversight in yesterday's rush of additions, and provide a merged version here. If the scripts were removed from the list for a reason, please revert this change and explain. :) 2009-11-15 17:41:41 +00:00
wagic.the.homebrew@gmail.com
04a950c911 Erwan
- fix issue 172 (crystal rod)
2009-11-15 10:37:33 +00:00
wagic.the.homebrew@gmail.com
d85b1d66de Erwan
-fix issue 187 (Double Strike + First Strike)
2009-11-15 10:23:37 +00:00
wagic.the.homebrew@gmail.com
f6a75a0e43 Erwan
- Fix issue 194
- Attempt at doing basic AI tests
2009-11-15 09:31:33 +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
Psyyringe
bc7681e78c Psyringe - added test scripts for issue 188, issue 192, issue 193. Removed Sonic Burst and Acceptable Losses (as oer wololo's forum post), both cards could be cast from an otherwise empty hand without discarding a card. 2009-11-14 23:03:27 +00:00
wagic.the.homebrew@gmail.com
e2d282637c Erwan
- Activated abilities can now use the extra "myTurnOnly" keyword
- {0} Activated abilities should now work
- Fixed issue 166 (instill energy)
2009-11-14 14:17:01 +00:00
Psyyringe
0d4a767303 Psyringe - relocated some more currently unused test scripts. Fixed a syntax error in script "ebony_horse.txt" - the command is "endinterruptin", not "endofinterruption". The latter didn't do any harm in this script, but we're encouraging people to look at existing scripts for inspiration, so we should make sure that they only use correct syntax. :) Also "fixed" alphabetic order of tests in _tests.txt (very minor thing, but it helped me discover that one test was unnecessarily run twice - I probably introduced this duplication myself). 2009-11-14 13:19:00 +00:00
wagic.the.homebrew@gmail.com
dc5195a475 Erwan
-Fix alluring Siren (issue 177)
2009-11-14 12:54:09 +00:00
Psyyringe
5ffe7c3b00 Psyringe - created new folder "wontfix" for the Test Suite. This folder is for tests that were written for things that currently don't work and that we currently won't fix either. Nevertheless it's good to have the tests available in case some of these problems become fixable later on.
There were a couple of scripts in _tests.txt which were commented out for this reason, I moved them to the new wontfix folder too. I think it's cleaner and easier mto maintain to only have tests in the "tests" folder which actually work and are meant to succeed.
2009-11-14 12:36:12 +00:00
wagic.the.homebrew@gmail.com
9ca552093e Erwan
- Added "PreventAllCombatDamage" [from(...)] [to(...)] keyword. Please test it on a few cards before we "mass" use it. As a side effect, fixed issue 155 (ebony horse target).
2009-11-14 11:35:29 +00:00
wagic.the.homebrew@gmail.com
5781060d83 Erwan
- fix issue 179 (@movedTo battlefield triggers when a creature changes controller)
- fix issue 176 (Ray of Command)
2009-11-14 08:28:29 +00:00
wagic.the.homebrew@gmail.com
7b2ac9e610 Erwan
- added "targetplayer" functionality to ManaProducer objects. As a collateral benefit, this fixes issue 191 (seismic spike)
2009-11-14 07:07:58 +00:00
Psyyringe
3b49f65958 Psyringe - last batch of test scripts from the wiki / forum / bugtracker cleanup. Wiki and bugtracker are now completely up to date. 2009-11-13 04:39:21 +00:00
Psyyringe
d7f4cb66ad Psyringe - added test scripts for issues i176 - i182. Again added some more scripts that were written to verify bug reports (but where the card behaved correctly). 2009-11-12 17:29:00 +00:00
wagic.the.homebrew@gmail.com
ce0051e545 Erwan
- fix issue 154 (dragon whelp)
- Fix issue 157 (erg raiders)
- fix issue 169 (living artifact)
- fix issue 159 (stonebrow) although I believe this card doesn't work correctly...
2009-11-12 13:57:22 +00:00
Psyyringe
b9b9180898 Psyringe - minor fix for Gamble (USG). The sequence of actions was wrong - you first search for a card, put it into your hand, and THEN discard a card at random. This means you may end up discarding the card you just searched for. Previously that wasn't possible, so the card was more powerful than it should be, especially when played from an otherwise empty hand.
Test script "gamble.txt" added to test suite.
2009-11-11 22:51:52 +00:00
Psyyringe
ba460dfcf3 Psyringe - added test suite scripts for i169 - i175, Added several non-bug scripts. Replaced symbiotic_wurm.txt - it now tests token generation after the wurm has been killed. Removed description mentioning Akron Legionnaires which had nothing to do with the rest of the script. Renamed volcanic_island.txt to volcanic_eruption.txt since the script actually has nothing to do with Volcanic Island, updated in-script description as well. Corrected erroneous "endinterrupt" command in three scripts to "endinterruption".
(I actually spent half an hour fiddling with my first interruption script, because the tutorial on the blog doesn't mention the any command to end interrupt sequences. Then I checked the "Counterspell" script, was happy to find the "endinterrupt" keyword, and fiddled for another 30 minutes with it before I found out that this keyword is actually wrong and the parser doesn't understand it at all, it just so happens that the Counterspell script (and two others) work nevertheless because in these scripts the interruption doesn't need to end. I wholeheartedly agree with the passage in wololo's mail in which he says that we could use a "real" test suite tutorial / reference.
2009-11-10 05:50:11 +00:00
Psyyringe
ff008059e8 Psyringe - added test suite scripts for issues i163 to i168.
Also added two scripts that don't demonstrate bugs (apparently the bug reports that I used to write the scripts were either false or outdated). nevertheless it doesn't hurt to have these scripts in the test suite, it prevents us from breaking something for the respective cards in the future and not noticing it.

The script fear_i147.txt has been moved into the "generic" folder and added to the regular test sequence for the same reason.

Also fixed the script generic/tokens.txt. It was referencing The Hive once via name and once via ID. This caused problems when (unofficial) Beta edition _cards.dat was installed.
2009-11-08 21:34:24 +00:00
Psyyringe
62eddef65b Psyringe - added bug test scripts for i159, i160, i161. 2009-11-08 04:59:20 +00:00
Psyyringe
7ea4258a21 Psyringe - fixed a bug with Aura Mutation (INV) - it only targeted auras, but should target all enchantments. Test suite script for Aura Mutation has been added and activated. Please check, this is the first time I'm doing changes to a _cards.dat file.
Also fixed a typo in Argothian Swine (USG) (missing capitalization) which caused the card not to be translated.
2009-11-08 00:32:40 +00:00
wagic.the.homebrew@gmail.com
60e9b2c1df Erwan
-fix issue 146
2009-11-03 10:31:57 +00:00
wagic.the.homebrew@gmail.com
d2bcb90799 Erwan
-fix for issue 120
2009-11-03 10:12:01 +00:00
wagic.the.homebrew@gmail.com
befb3f246b Erwan
- fix issue 149
2009-11-03 07:40:14 +00:00