Commit Graph

204 Commits

Author SHA1 Message Date
wagic.the.homebrew@gmail.com ee4e9f2262 Erwan
-fix issue 161 (brass man can untap outside of upkeep). Use "myUpkeepOnly" keyword. Other keywords such as "myDrawOnly" of course work. Haven't implemented "opponent" yet, is it needed ?
2009-12-13 10:18:37 +00:00
wagic.the.homebrew@gmail.com ee3286ff2a Erwan
-Fix issue 206 (rain of filth)
2009-12-13 09:33:51 +00:00
wagic.the.homebrew@gmail.com f7bd1dcef4 Erwan
- Fix issue 210 (Resuscitate)
2009-12-13 07:20:31 +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 999256e6ab Erwan
- fixed divergent growth (issue 243). Unfortunately the underlying issue is quite complex, and Wagic doesn't handle it very well. Basically, all "until end of turn" effects run the risk of being partially deleted before the end of the turn, leading to segfaults or memory leaks. This is because some abilities' "clone" method doesn't actually clone them entirely... The fix for divergent growth is a hack that works only for lords+mana producer combination, but I need a more "generic fix" in the long run...
2009-12-13 05:59:17 +00:00
wagic.the.homebrew@gmail.com 7cc072bf77 Erwan
- fix a memory leak with "Prevent All combat damages" ability
- Fix issue 242 (Equip can be used outside of the main phases)
- introducing "attach" keyword. Same as equip but can be used anytime. Untested
- introducing "asSorcery" keyword. Can be used the same way as "myTurnOnly" on activated abilities to restrict their usage. Untested. Other similar keywords will follow, please let me know which ones would be useful
2009-12-13 03:28:50 +00:00
leungclj f84cd15c4b JON4TH4N - added a few more cards + test script 2009-12-12 17:26:26 +00:00
Psyyringe b4e9541cb8 Psyringe:
- added Warren Instigator (ZEN) and test script. Thanks to Niegen for finding it.
- temporarily removed angry_mob6.txt from the test suite and added it to the "bugs" section, since the script occasionally fails and we haven't found the reason yet. See issue 240.
- added test script for Fog Bank
- added recently uploaded equipment scripts to test suite (not sure why the weren't added upon uploading them, looks like an oversight)
- fixed another bug in recently uploaded MRD file, it contained Vulshok Morningstar (a DST card with a wrong 9ED id and was inserted at the wrong position in the alphabetical order).
2009-12-12 17:10:08 +00:00
leungclj e65d1bda75 JON4TH4N - added a few more cards 2009-12-12 15:46:09 +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
leungclj 11b2a4b288 JON4TH4N - (SHM)(EVE) added equipment and test script 2009-12-12 08:21:54 +00:00
leungclj aa27e4ca16 JON4TH4N - (10E) added equipment 2009-12-12 06:57:26 +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
wagic.the.homebrew@gmail.com ca35754273 Erwan
- Adding equipments. They work like auras, except you have to add an "auto={cost}:equip" line. See Behemoth sledge in ARB for an example. Please test a lot before committing, thanks :)
2009-12-10 13:44:05 +00:00
Psyyringe 12d2c87aef Psyringe - added test script for Rampage(2/2,1) - result of hunting a bug that didn't reproduce 2009-12-10 12:13:02 +00:00
Psyyringe 847dd111ca Psyringe - removed a stray comment in the rules text of Scout's Warning (FUT). Added a test script to check that card's functionality. Note that the card doesn't exactly what the rules text says (but it's probably close enough). 2009-12-10 11:35:27 +00:00
Psyyringe 0ec6c7bf37 Psyringe - 5DN overhaul: added 6 cards (some borderline) and fixed 11 bugs. Added test scripts for most added cards. Please check/review as I'm still inexperienced with card code.
Additions:
- Added Avarice Totem. Code works, but uses a trick to circumvent a parser limitation. Feedback welcome.
- Added Fangren Pathcutter. Code works, but will fail if Fangren Pathcutter gets removed during the combatattackers phase (currently unlikely though). Feedback welcome.
- Added Goblin Cannon (spectacularly useless card, but codeable)
- Added Silent Arbiter (code works pretty well imho)
- Added Skullcage (doesn't work correctly yet due to bug; issue will be opened shortly)
- Added Thought Courier (has wrong sequence of actions, but is acceptable imho)

Bugfixes:
- Arachnoid didn't have Reach
- Battered Golem was missing a "may"
- softcoded Beacon of Creation
- Beacon of Destruction was missing an alias
- Beacon of Immortality was missing an alias
- Cackling Imp couldn't use its ability
- removed Crucible of Worlds (didn't work on several accounts)
- Krark-Clan Ironworks had an incorrect {T} cost
- Krark-Clan Ogre had an incorrect cost
- Screaming Fury was missing a target
- Skyhunter Skirmisher had double strike spelled wrong

Other:
- experimented with several more cards but couldn't implement them correctly, check the comments in todo.dat for details.
2009-12-08 08:39:34 +00:00
Psyyringe 5c2be8229e Psyringe - adding test script for issue 233. Fixing targeting issue with Karn's Touch (card still doesn't work though, see issue 233). Also (unrelated) adding script for (non-reproducible) problem reported in i232. 2009-12-05 10:37:40 +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
Psyyringe 1a8bd648d8 Psyringe - added test scripts for recently added cards and mechanics (nofizzle, manacost, X-effects). Also added thorough testing for Angry Mob to help clearing up recent discussion. 2009-12-03 17:37:05 +00:00
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 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 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 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 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
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