Commit Graph

78 Commits

Author SHA1 Message Date
wagic.the.homebrew@gmail.com
bb4cb3be7d Erwan
- fix soul warden
- fix counters (chainbreaker)
- removed cards that do not work
- updated version
2009-07-27 10:33:11 +00:00
leungclj
aeec36fd0a Jonathan - (10E) updated Birds of Paradise 2009-07-27 03:52:12 +00:00
leungclj
4e440998c1 Jonathan - some random update 2 2009-07-26 09:27:04 +00:00
leungclj
cd040a51ec Jonathan - some random update + my first edition on MTGAbility.cpp + not tested Cruel Tutor (POR), I hope it doesn't shuffle after the card is put on to the top of the library..... 2009-07-26 08:00:23 +00:00
wagic.the.homebrew@gmail.com
129334b93f Erwan
-fixed shop refresh method problem (would not save correctly)
2009-07-26 06:08:39 +00:00
leungclj
ada385d358 Jonathan - another one of those update 2 2009-07-26 04:23:12 +00:00
leungclj
ff681c9d74 Jonathan - (10E) updated 2009-07-26 03:27:42 +00:00
wagic.the.homebrew
75d801c632 Erwan
- Added all counter cards I could find that would work
2009-07-22 02:25:31 +00:00
wagic.laurent
7ccac4bb9e Laurent - Removed useless code + updated corresponding cards.dat 2009-07-21 08:50:40 +00:00
wagic.the.homebrew
2ca0c75c19 Erwan
-Added cards (search in your library + put into play tapped)
- Fixed issues in CHK
2009-07-21 01:12:56 +00:00
leungclj
edcffd3dca Jonathan - added few cards 2009-07-20 07:51:05 +00:00
wagic.the.homebrew@gmail.com
241d53edd2 Erwan
- Added a few cards, some untested (@...may: life:1)
2009-07-16 14:33:56 +00:00
wagic.the.homebrew@gmail.com
0ecbfb5d82 Erwan
- Triggers made more generic in the parser
2009-07-12 07:47:54 +00:00
wagic.laurent
01316167fc Laurent - Update to the foreach parser with "add" to be used for instant and sorcery (e.g. spoil of evil) also removed/added corresponding cards (spoil of evil, song of the damned and ancestor chosen).
Also added the ability "INDESTRUCTIBLE" did not test it yet + not sure about the ruling ...
2009-06-30 21:29:59 +00:00
wagic.laurent
6097b1282b Laurent - Added draw/token to the foreach parser (allow to sligthly reduce the number of lines in MTGAbility.cpp and also add few cards to different cards.dat.)
NOTE that all these additions to the foreach parser are only available for the "inplay" area... "countcards" will need to be updated in order to have thing such as graveyard or hand to be taken into consideration (but when it will be done cards such as Spontaneous Generation - MRQ, could be added)
Also updated (tentatively) the "cantbeblockedby" in the parser it still does not work...ARG... but I can feel that I'm not far away from the solution...
We need also to go through some of the cards.dat to be sure we are not missing any possible addition ...
2009-06-29 11:11:41 +00:00
wagic.laurent
dcdd0a18d8 Laurent - Added damage to the foreach parser (finally did it).
I tryed everything for weeks, adding lines of codes with no success...Finally the answer was so simple as 2 lines of code...
Also added/removed from code Spitting earth and corrupt... Need to chase and remove all the lookalike/alias in the rest of the code. And also as usual will require further testing...

Grü.

L.
2009-06-27 09:49:31 +00:00
wagic.laurent
708af7b675 Laurent - Added a generic ankh of mishra/dingus egg. Tested ok on ankh of mishra. Also added Soul Warden (10E) with this and Angelic Chorus (10E). Also could be made more generic and eventually at a certain point of time put in the parser....
Test suite passed with exception of Hymn of rebirth ?? also at least dingus egg is also OK.

Ideally the whenever thing should be coupled with a kind of targetchooser thing to be put in the parser (would also allow colored cards...) ..

Todo: add a may ability option since lot of cards with this function use "may"  (e.g. Deathgreeter - ALA and Leonin Elder - MRD)

I did not remove the now obsolete code dingus egg and ankh of mishra...will wait until new portion of code is tested  more..

Grü
2009-06-26 01:03:56 +00:00
wagic.laurent
5dc98359c1 Laurent - Added Threaten (10E) - Steal creature until end of turn. Return creature at end of turn to opponent and also "untap" it.. not sure if it is quite right, but does not make any difference since it is at the end of turn just before the untap phase of opponent.
Few comments: 

I spent quite some time to make it work... made some test all working but experienced some random crash in windows version (debugging did not help much) don't know if i broke something or if it is due to other SVN addition.

Some other cards are similar and could be hardcoded/aliased (Overtake - MRQ, Ray of Command - ICE,MIR, Slave of Bolas - ARB, Spinal Embrace INV, Unwilling Recruit EVE) we could discuss about them...

I think it is the last card that was missing for the red premade 10E deck. Now 10E has 255 cards and is the set with the most cards...

Grü.
L.
2009-06-23 00:43:31 +00:00
solo81@web.de
af008ff273 Added Troll Ascetic (10E,MRD) 2009-06-22 07:42:53 +00:00
wagic.laurent
7ade86e818 Laurent - Added new ability "opponentshroud" means "can't be the target of spells or abilities your opponents control." tested and works (see SHM _cards.dat)
Also added Flowstone Side (10E) - Tested and work probably my last addition to 10E.
2009-06-21 20:38:40 +00:00
wagic.laurent
7c3464e3ba Laurent - 10E - 6 cards added
Added Graveborn Muse (just missing one muse now, too complicated for me).
Added  Beacon of destruction,unrest and immortality.
Added Traumatize
Added Verdant Force
All tested (except beacon of unrest) and working.
2009-06-21 01:59:28 +00:00
wagic.laurent
c40d2b5cea Laurent -
Added "untap all" to the parser (not tested but should work since it is the same as tap all)
Modified "cantbeblockedby" also still don't function properly, atm it cause the creature to be "unblockable"... Should work, I don't get it !!! (Why ???)
Also added Seedborn Muse (like all the Muse a very Powerfull card), especially as combo with cards that "DOESNOTUNTAP" during your untap phase...
2009-06-20 11:01:04 +00:00
wagic.laurent
5ce66a289e Laurent - Added new keyword "cantbeblockedby" See 10E addition Elven Riders and Juggernaut.
I tested Elven Riders successfully, but not juggernaut yet... Also if this new keyword function correctly we remove abilities like FEAR and UNBLOCKABLE... Needs to be further tested...
Feedback and extensive test are welcome on this one...
2009-06-18 23:14:47 +00:00
wagic.laurent
cf35acd3f3 Laurent -
Added ability DOESNOTUNTAP , see _cards.dat from 10E (Colossus of sardia, dehydratation). Test suite OK. The ability does not work with enchant creature (as for protection from...) So Dehydratation is hardcoded (can be aliased if necessary) Small bug with dehydratation, will untap creature when cast... WHY ? Any Idea/Solution welcome...
2009-06-17 23:54:05 +00:00
wagic.laurent
ba83a42fa4 Laurent - Added deluge (10E) also added "all" to the tap parser, tested and work, not compatible with cost at the moment. Test suite before R486 was running fine on this update. 2009-06-17 20:50:21 +00:00
wagic.laurent
43bc3f9137 Laurent - Added Soulblast (10E) + Correction from glitch in R483 (forgot colossus and sardia and doppel target line in sudden impact) 2009-06-16 21:48:25 +00:00
wagic.laurent
96963fc5ac Laurent - AI deck update - Added some cards (Sudden impact (10E,TMP,LEG), colossus of Sardia (10E), etc...) 2009-06-15 23:46:47 +00:00
wagic.laurent
459840042d Laurent - Removed cards, added few (POR) update AI deck
POR - Removed Man'O'War + Added Hulking Cyclops, Hulking Goblin, Nature's Cloak, Gravedigger, Fire tempest, Dry Spell,Craven Knight, Craven Giant (sorry for this addition could not refrain after seeing them, were probably forgotten)
TMP  - removed Cloudchaser eagle
LEG - Corrected Concordant Crossroad
USG - Removed Dark Hatchling, Monk realist
RAV - REmoved Keening Banshee, also tentative to fix Tolsimir Wolfblood (legendary is not working)
EVE - REmoved Noggle Bridgebreaker
Also made an update and added silly name for AI deck + note that deck 22 is using cards from morningtide and deck 23 cards that the AI do not use correctly (activated abilities) but is not the only one, AI decks needs update/amelioration.
2009-06-10 11:33:41 +00:00
leungclj
d45d526d6d Jonathan - (ALL) updated the ":" for p/t, removed restrain. And yes, removing ":" still works 2009-06-08 10:39:23 +00:00
wagic.laurent
17edd84ac8 Laurent - Removed several cards tested and not working. + added cards description for AI deck 3 & 7 2009-06-07 20:48:52 +00:00
solo81@web.de
1f5cf2807c Several card fixes 2009-06-06 10:11:12 +00:00
wagic.the.homebrew
28b37da779 Erwan
- fixed diabolic tutor cost
2009-06-03 09:02:12 +00:00
solo81@web.de
9895d1a839 Several bug fixes 2 2009-06-01 11:29:39 +00:00
wagic.the.homebrew@gmail.com
1f25f78965 Erwan
-Added a few cards using library
2009-05-30 09:52:33 +00:00
wagic.the.homebrew@gmail.com
b35195dddf Erwan
- Added crude possibility to search for the library (see Diabolic tutor)
2009-05-30 08:11:47 +00:00
leungclj
b0eed5ea2e Jonathan - (10E) added Goblin Lore, Viridian Shaman 2009-05-29 22:10:19 +00:00
leungclj
f5f77bfa2a Jonathan - fixed all the ";" mixed up 2009-05-29 14:10:10 +00:00
wagic.laurent
deffc085f4 Laurent - Added Dreamborn Muse (10E) tested and work, also tested the deplete function with instant and sorcery works fine (see ray of erasure ICE) 2009-05-26 22:03:30 +00:00
wagic.laurent
182b133719 Laurent - Updated the discard function. Also you can now target the opponent or yourself. Once again this is the discard random function also mind rot (10E) is not 100% correct since if you were to play on yourself you should be able to choose which card to discard. If a card as no target(either in the target= line or in the discard:x target(X) line then it automatically applies to you.) it means cards that require you to discard a card at random in addition to its cost can now be coded (e.g. balduvian horde from alliance), but at the moment nothing will happen if you have no card to discard (did not test this one but it could be added if necessary).
Updated the deplete function. You can use deplete in instant and sorcery (not tested)
Updated rampage (add an issue with the last parameter and the annulation of the bonuses at end of turn) should be resolved now (not tested).
Added Basilik from 10E and also lavaborn (not tested yet), should try to do a more generic basilik (abomination, cockatrice, basilik, all have the same abilities but different criteria for the “type” of creature that would be or not be affected.
Also added Elvish promenade from LRW (this one is fun ;D)
2009-05-25 21:07:17 +00:00
wagic.laurent
d7840821ad Laurent - added rampage to the parser (see example from diverse set) could be extended...I've let the ability "rampage" (in fact rampage 1) but older set (esp. legends, would need an update later on). 2009-05-22 22:02:08 +00:00
wagic.laurent
9063a1bfa8 Laurent - Fixed rampage (final) forget to get rid of the bonus at end of turn... :D added elvish berseker as example of rampage ability (also get the bonus from the first blocking creature on)... 2009-05-22 20:59:44 +00:00
wagic.laurent
234cdc64c5 Laurent - Fixed Rampage, cleaned-up 10E. 2009-05-22 16:40:32 +00:00
wagic.laurent
9159ef34df Laurent - added corrupt (SHM) and spitting earth (10E,TMP,MIR). 2009-05-22 00:29:42 +00:00
wagic.laurent
37008df473 Laurent - Added "deplete" to the parser does not work for instant and sorcery at the moment (WILL NEED HELP FOR THAT)
Updated cards.dat to include the one with deplete possibility.
Also included various cards (alias from RV)
2009-05-21 16:28:13 +00:00
wagic.laurent
215c7448c9 Laurent - 10E added Demon's Horn, dragon's claw and co. works well you have to click the card to get 1 life as the card state "may"..also added consume spirit (alias of drain life RV)
- ICE complete update, reorganized all cards alphabetically both in cards.dat and todo.dat + some few addition
- tentatively added a generic millstone, first step to add the keyword "deplete" to the parser.. still working on this one.
2009-05-20 20:03:51 +00:00
laurent.rabouin
c42d0d20ca Laurent - Added discard (see mind rot 10E) works did not try yet with cost (e.g {2}:discard:2) is only random discard function surely needs to be improved.
Added generic Karma Function (ADamageForTypeControlled, see ancient ruin from TMP) tested and work.
Happy to be back
2009-05-19 22:22:50 +00:00
leungclj
3b49e9541a Jonathan - (10E) added Puppeteer 2009-05-14 14:59:00 +00:00
wagic.the.homebrew@gmail.com
42e6521155 Erwan
- Added "stack" as a zone in the perser
- Added "fizzle" keyword in the parser for counterspells
2009-05-11 13:23:09 +00:00
wagic.the.homebrew@gmail.com
89fb351979 Erwan
- Added damage all (pyroclasm) and move all (not tested)
2009-04-30 13:48:41 +00:00
leungclj
3331e72bda Jonathan - (TMP) added Sea Monster 2009-04-26 19:50:39 +00:00