3e7ecb3016
Erwan - fixed a bug (crash if a card that had an ability until end of turn would be put into the graveyard before the end of the turn) - Added a new game Mode : Random 1 or 2 color.
wagic.the.homebrew@gmail.com
2009-07-18 08:50:14 +00:00
4606d88048
Erwan - fix with deck names overwritten when saving - Added "premade" decks directory for people who don't want to create their own decks
wagic.the.homebrew@gmail.com
2009-07-18 05:42:20 +00:00
241d53edd2
Erwan - Added a few cards, some untested (@...may: life:1)
wagic.the.homebrew@gmail.com
2009-07-16 14:33:56 +00:00
951065a59c
Erwan - no more 5 decks limitation for Player - Player decks can be given a name/description the same way we do for the AI. No PSP Gui for that yet though, has to be done outside of Wagic (PSPWrite ?)
wagic.the.homebrew@gmail.com
2009-07-16 11:48:59 +00:00
03530b7e17
Jonathan - added few cards
leungclj
2009-07-16 05:49:33 +00:00
8681987f89
Erwan - fix PSP Compilation issue - Stillmoon cavalier (and other "until end of turn" activated abilities) bug fix - attempt at fixing multi abilities that work "only from time to time"
wagic.the.homebrew@gmail.com
2009-07-15 14:06:47 +00:00
c672ec99ee
Added some cards (TMP)
solo81@web.de
2009-07-14 17:22:53 +00:00
4d0a89335b
Removed Scourge of the Kher Ridges
solo81@web.de
2009-07-14 16:39:51 +00:00
5fe25211d2
Jonathan - (ODY) added a few cards
leungclj
2009-07-14 14:11:48 +00:00
a943dec8a7
Jonathan - added few cards
leungclj
2009-07-14 13:57:37 +00:00
2ba5fcb955
Erwan - Added "@movedTo(...) trigger. See argothian enchantress in USG
wagic.the.homebrew@gmail.com
2009-07-14 13:29:12 +00:00
53e49d571f
Erwan - More fix for Captain of the watch
wagic.the.homebrew@gmail.com
2009-07-14 10:34:09 +00:00
c17237be85
Fixed Captain of the Watch. Not sure if abilities=vigilance is needed though.
wagic.superhiro
2009-07-14 09:27:15 +00:00
1ba8407a51
Erwan - Updated M10. some cards in the todo.dat can still be borderline added but require testing.
wagic.the.homebrew
2009-07-14 03:39:55 +00:00
16280c7ecb
Jonathan - added few cards
leungclj
2009-07-13 08:55:25 +00:00
7f91770850
Jonathan - (r555) fix
leungclj
2009-07-13 07:44:10 +00:00
03f48bccd8
Jonathan - (r555) fix
leungclj
2009-07-13 07:40:05 +00:00
f3a6fcbf1b
Jonathan - added few cards
leungclj
2009-07-13 07:30:45 +00:00
8b1d19ad41
Jonathan - (r552) fix
leungclj
2009-07-12 15:16:40 +00:00
31ec10b464
Erwan - Added a few cards
wagic.the.homebrew@gmail.com
2009-07-12 13:52:27 +00:00
ab445c9758
Erwan - Added a few cards - Creature attacks, blocks, is re-ordered in blocking list events
wagic.the.homebrew@gmail.com
2009-07-12 12:27:55 +00:00
feedb16eae
Jonathan - (EXO) updated
leungclj
2009-07-12 09:10:39 +00:00
0ecbfb5d82
Erwan - Triggers made more generic in the parser
wagic.the.homebrew@gmail.com
2009-07-12 07:47:54 +00:00
3350ad6d03
Erwan -added telkinetic sliver. This confirms that All lords that give a "complex" ability can now be added in cards.dat, as long as we can write the ability. For example: lord(sliver) {T}:tap target(*) for telkinetic sliver. Please test and let me know
wagic.the.homebrew@gmail.com
2009-07-12 03:02:38 +00:00
c8333e76b1
Erwan - Updated Parser mechanism. Right now this doesn't change functionalities much, but should be more readable, and make it easier to code some new abilities in the future - Fixed regenerate, broken with r532 - Death Ward now works - I think "&&" now works with all abilities, needs to be tested...
wagic.the.homebrew@gmail.com
2009-07-11 15:59:51 +00:00
20a0322ebb
Erwan - Added onslaught, future sight, exodus, champions of kamigawa, Fallen empires, Time Spiral - NOT TESTED, I just made sure the files where not crashing Wagic on the PC version. Have fun updating these files, guys :)
wagic.the.homebrew@gmail.com
2009-07-04 14:49:43 +00:00
b1e35a6bcb
Erwan - Moved "extraPayment" cancel verification into ActionLayer (was in GuiLayers) - added "HUDDisplay" MTGAbility (displays damage/graveyard info) - Added option to NOT interrupt own's spells and abilities. Allows smoother gameplay. We should add a "quick options" menu ingame to change those options on the fly
wagic.the.homebrew@gmail.com
2009-07-04 14:10:21 +00:00
5ff90a6f33
Erwan - fix a risk for segv in DamageResolverLayer
wagic.the.homebrew@gmail.com
2009-07-04 07:48:46 +00:00
d52f06d98d
Erwan - Magic 2010 - blockers ordering - Fixed a memory leak introduced in a previous revision (foreach)
wagic.the.homebrew@gmail.com
2009-07-04 04:15:05 +00:00
dfeada17a2
Jonathan - clean up for consistancy
leungclj
2009-07-01 05:58:39 +00:00
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 ...
wagic.laurent
2009-06-30 21:29:59 +00:00
6c335232c7
Jonathan - a lot of card added, but not quite sure about (MRQ) Honor the Fallen
leungclj
2009-06-30 15:18:34 +00:00
aa4f5793b8
Laurent - Updated MoveAll, Foreach and the ALifeModifierPutinplay. ALifeModifierPutinplay is now with TargetChooser, means it can probably be used for a wider range of cards (need to test megrim...). Also updated MoveAll (should now be able to target graveyard and hand). Last update is on the "countcards" means all foreach should now take graveyard and hand as legal target... . I did not test these additions yet...but test suite runs fine (it includes ankh of mishra so it means the first modification should go fine...).
wagic.laurent
2009-06-30 13:38:55 +00:00
2ccec4caf4
Jonathan - (INV) minor correction
leungclj
2009-06-30 07:11:03 +00:00
df2b24ee41
Jonathan - (MRD) added Cloudpost
leungclj
2009-06-30 06:56:53 +00:00
ba9edc6692
Jonathan - (USG) added Priest of Titania, Serra's Sanctum, Tolarian Academy
leungclj
2009-06-30 06:11:12 +00:00
15ddd2eec5
Jonathan - (SHM) - theres been a mistake with the {T} & {Q}, its been corrected also with Pili-Pala removed.
leungclj
2009-06-30 04:21:10 +00:00
12b85ed5af
Jonathan - (ALL) replaced all ' " ' with ' " '
leungclj
2009-06-30 04:07:21 +00:00
454bad67d8
Erwan - it translation file
wagic.the.homebrew
2009-06-30 00:58:17 +00:00
d9265090fd
Laurent - Added "add" to the foreach parser... also now functions also with add:{x}.. see addition from USG.. Will add the other one later (or somebody else can do it)... I tested this one and it works...
wagic.laurent
2009-06-29 17:23:09 +00:00
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 ...
wagic.laurent
2009-06-29 11:11:41 +00:00
0218680ae0
Erwan - Added translated cards.dat for German and french. You can keep them up to date with sync.pl
wagic.the.homebrew@gmail.com
2009-06-28 13:06:32 +00:00
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...
wagic.laurent
2009-06-27 09:49:31 +00:00
d5a253d147
Erwan - Added a perl script to synchronize _cards.dat translations with latest "original" _card.dat
wagic.the.homebrew@gmail.com
2009-06-26 14:36:24 +00:00
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.
wagic.laurent
2009-06-26 01:03:56 +00:00
630a239f31
Erwan - tap/untap of a card now sends an event
wagic.the.homebrew@gmail.com
2009-06-25 14:23:21 +00:00
3d414f74b3
Erwan - Fix a memory leak with Sacrifice costs
wagic.the.homebrew@gmail.com
2009-06-25 13:20:27 +00:00
71cc79b949
Erwan - Replaced the BasicAbilities Array with a map. This reduces the size of MTGCard from >500 bytes to 392. Should be cool for people who have memory issues
wagic.the.homebrew@gmail.com
2009-06-25 11:09:51 +00:00
f643f87b83
Laurent - Clean-up from code. PLEASE REVIEW this one.
wagic.laurent
2009-06-23 22:10:42 +00:00
ca3c2d30ab
Erwan - Magic 2010: Combat Damages don't go on the stack anymore - Comp rules: "goes to graveyard" effects don't go on the stack anymore - Regenerate "fixed" (untested) - Basic "ReplacementEffect" mechanism for damage prevention. Can be extended to other replacement effects with some limits. - TODO: Damages don't go on the stack, the abilities that create them do.
wagic.the.homebrew@gmail.com
2009-06-23 14:22:00 +00:00
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.
wagic.laurent
2009-06-23 00:43:31 +00:00
be086640eb
Laurent - Added 8 cards to SHM (Flow of ideas, Fracturing Gut, Howl of the Night Pack, Poison the Well, Smash to Smithereens, Spiteflame Witch, Thoughweft Gambit, Windbrisk Raptor) + Forgot to upload Targetchooser.cpp by R499 :D (needed for opponentshroud..)
wagic.laurent
2009-06-22 19:50:26 +00:00
2f3259fd55
J : * Add the rolling phasebar. * This is a preview version. It shares most of the code with the definitive version, but when the real code is checked in, this will be deleted.
jean.chalard
2009-06-22 14:45:27 +00:00
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.
wagic.laurent
2009-06-21 20:38:40 +00:00
887336aa7c
Erwan -fixed a memory leak in Test suite
wagic.the.homebrew@gmail.com
2009-06-21 13:19:15 +00:00
61e449d02b
Erwan - Changecontroller now sends a changezone event - Manacost bug fix (memory leak)
wagic.the.homebrew@gmail.com
2009-06-21 10:46:33 +00:00
dfdc61e9db
Fixed Flying for Aven Trailblazer.
wagic.superhiro
2009-06-21 08:43:49 +00:00
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.
wagic.laurent
2009-06-21 01:59:28 +00:00
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...
wagic.laurent
2009-06-20 11:01:04 +00:00
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...
wagic.laurent
2009-06-18 23:14:47 +00:00
2e3ccae712
Erwan -added event when drawing from the library
wagic.the.homebrew@gmail.com
2009-06-18 12:54:40 +00:00
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...
wagic.laurent
2009-06-17 23:54:05 +00:00
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.
wagic.laurent
2009-06-17 20:50:21 +00:00
53b1b5e9ec
Erwan - Magic 2010 - inplay becomes Battlefield. Wagic is still compatible with both, but try to use "battlefield" from now on. For example moveTo(battlefield) instead of moveTo(inPlay) - Magic 2010 - "Removed from game" becomes "Exile". Wagic is still compatible with both, but try to use "exile" from now on. For example moveTo(exile) instead of moveTo(removedFromGame) - Magic 2010 - "End of turn" step becomes "end" step. Wagic is still compatible with both, but try to use "end" from now on. for example: "@next end" rather than "@next endofturn" (not sure this is more clear than before, but at least it's consistent with the rules)
wagic.the.homebrew@gmail.com
2009-06-17 13:11:45 +00:00
43bc3f9137
Laurent - Added Soulblast (10E) + Correction from glitch in R483 (forgot colossus and sardia and doppel target line in sudden impact)
wagic.laurent
2009-06-16 21:48:25 +00:00
7804cbbd64
Erwan - Send an event when Phase changes
wagic.the.homebrew@gmail.com
2009-06-16 14:10:33 +00:00
96963fc5ac
Laurent - AI deck update - Added some cards (Sudden impact (10E,TMP,LEG), colossus of Sardia (10E), etc...)
wagic.laurent
2009-06-15 23:46:47 +00:00