Commit Graph

443 Commits

Author SHA1 Message Date
wagic.laurent
f643f87b83 Laurent - Clean-up from code.
PLEASE REVIEW this one.

I removed all unusued portion of code, some other cleaning work could be performed (will discuss in forum).

Also just added "@each" as triggered ability in order to have it work properly with most cards "currentplayer" should be added to the TargetChooser.
2009-06-23 22:10:42 +00:00
wagic.the.homebrew@gmail.com
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.
2009-06-23 14:22:00 +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
wagic.laurent
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..)
2009-06-22 19:50:26 +00:00
solo81@web.de
1cdeebd3e1 Added Scattershot Archer 2009-06-22 17:10:36 +00:00
jean.chalard
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.
2009-06-22 14:45:27 +00:00
solo81@web.de
ed9c739963 Added Slippery Bogle 2009-06-22 08:14:53 +00:00
solo81@web.de
3f52770075 Added Privileged Position 2009-06-22 08:10:57 +00:00
solo81@web.de
256322f0fc Added Plated Slagwurm 2009-06-22 08:00:50 +00:00
solo81@web.de
cdf5179cf1 Added Leonin Abunas 2009-06-22 07:57:07 +00:00
solo81@web.de
f67a241f86 Removed Flame Jab and Monstrify (Retrace is not implemented). 2009-06-22 07:46:27 +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.the.homebrew@gmail.com
887336aa7c Erwan
-fixed a memory leak in Test suite
2009-06-21 13:19:15 +00:00
wagic.the.homebrew@gmail.com
61e449d02b Erwan
- Changecontroller now sends a changezone event
- Manacost bug fix (memory leak)
2009-06-21 10:46:33 +00:00
wagic.superhiro
dfdc61e9db Fixed Flying for Aven Trailblazer. 2009-06-21 08:43:49 +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.the.homebrew@gmail.com
b5139ea523 Erwan
- Fix morphling's cost
2009-06-21 01:39:37 +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.the.homebrew
d1e0814315 Erwan
- Fix for Selesnya guildmage token ability
2009-06-19 07:47:58 +00:00
wagic.the.homebrew
e54cee98fa Erwan
-Pendelhaven fix
2009-06-19 07:46:24 +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.the.homebrew@gmail.com
2e3ccae712 Erwan
-added event when drawing from the library
2009-06-18 12:54:40 +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.the.homebrew@gmail.com
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)
2009-06-17 13:11:45 +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.the.homebrew@gmail.com
7804cbbd64 Erwan
- Send an event when Phase changes
2009-06-16 14:10:33 +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
jean.chalard
6d7eb8276d J :
* Re-add Effects.cpp
2009-06-15 01:01:57 +00:00
jean.chalard
a5929440e8 J :
* Remove a renamed file ?
2009-06-15 00:58:25 +00:00
jean.chalard
cb91a6e40c J :
* Match the .cpp
2009-06-15 00:56:30 +00:00
jean.chalard
c795bdfe96 J :
* Match the .cpp file :o
2009-06-15 00:55:15 +00:00
jean.chalard
22cf188bc9 J :
* Remove crap.
2009-06-15 00:54:17 +00:00
wagic.the.homebrew@gmail.com
f1a3895fc6 Erwan
- Magic 2010 Rule: removed Manaburn
- Magic 2010 Rule: manapools empty at the end of each step
2009-06-14 09:21:49 +00:00
leungclj
56193a7656 Jonathan - (TMP) tested Escape Shapeshifter, doesn't full function correctly 2009-06-14 08:49:35 +00:00
wagic.laurent
6d42aa6e77 Laurent - Corrected Sacrifice (RV) 2009-06-13 20:39:33 +00:00
wagic.laurent
984038e5e2 Laurent - Added cards to USG - First step of Counter adding to parser (does not work yet). Update of AI deck description 2009-06-13 19:43:57 +00:00
jean.chalard
3e12e7d630 J :
* Switch to RTTI.
2009-06-13 06:12:53 +00:00
wagic.the.homebrew@gmail.com
35214a2f7e ERwan
- bug fix for zone changes
2009-06-13 05:39:18 +00:00
wagic.the.homebrew@gmail.com
54b8aab96b Erwan
- Event System for MTGGuiPlay.cpp
- THIS DOES NOT WORK
2009-06-13 05:21:24 +00:00
jean.chalard
0bc60d9a94 J :
* Replace french special characters by closest approximation.
  * Note : if you're not removing them, at least save the file in a
    safe character set, like UTF-8, NOT latin-1 or what Notepad
    calls "ANSI".
2009-06-13 04:55:43 +00:00
wagic.the.homebrew@gmail.com
dd56962910 Erwan
- Events are now sent to GameObserver rather than ActionLayer
2009-06-13 03:49:52 +00:00
solo81@web.de
9be451e134 Fixed Cephalid Scout 2009-06-12 10:40:02 +00:00
wagic.laurent
3dc95152cc Laurent - AI deck update trying to give names and description to all of them. 2009-06-11 17:07:09 +00:00
wagic.the.homebrew@gmail.com
a8b32bfb58 Erwan
-French small corrections
2009-06-11 15:34:14 +00:00
wagic.the.homebrew@gmail.com
26f8ac8801 Erwan
- Added some french translations
- Up to 0.7.1
2009-06-11 15:11:40 +00:00
wagic.the.homebrew@gmail.com
8a467da18f Erwan
- Fix: cards in graveyard had shroud
- Fix :shop item "quantity" increased if bought in a booster
- Test for Recover -> no problem found, but there's a GUI issue, which will be fixed later
2009-06-11 11:48:02 +00:00
wagic.laurent
a959cbf926 Laurent - Corrected some bugs in ICE (nature's lore) and POR (creature with cantblock abilities introduced in R458) 2009-06-10 15:05:50 +00:00
wagic.the.homebrew@gmail.com
a703d69bda Erwan
- removed blinking spirit from ICE
- changed display order in MTGGuiPlay (auras should be under creatures most of the time...)
2009-06-10 14:00:26 +00:00