Commit Graph

167 Commits

Author SHA1 Message Date
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
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
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
61e449d02b Erwan
- Changecontroller now sends a changezone event
- Manacost bug fix (memory leak)
2009-06-21 10:46:33 +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
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.the.homebrew@gmail.com
7804cbbd64 Erwan
- Send an event when Phase changes
2009-06-16 14:10:33 +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
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
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
54b8aab96b Erwan
- Event System for MTGGuiPlay.cpp
- THIS DOES NOT WORK
2009-06-13 05:21:24 +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
wagic.the.homebrew@gmail.com
75720b9459 Erwan
-Fix for sacrifice costs
2009-06-09 14:07:07 +00:00
wagic.the.homebrew@gmail.com
9ec582e02e Erwan
- a Few bug fix.
- I need to investigate for fledgling imp :(
2009-06-09 13:17:23 +00:00
wagic.the.homebrew@gmail.com
115976c264 Erwan
- cards syntax errors
- compilation errors fix for PSP
2009-06-06 09:10:43 +00:00
wagic.the.homebrew@gmail.com
c5d13e7cac Erwan
- fixed a bug introduced in Momir with previous revision
- Added som french translations
2009-06-06 05:57:48 +00:00
wagic.the.homebrew@gmail.com
ab42e5db06 Erwan
- fixed card id collisions in Legends, Ravnica, Portal
- Changed Deck and Database structures with better design (a bit faster, hopefully a lot cleaner)
- updated Windows project file
2009-06-06 04:46:54 +00:00
jean.chalard
01bd44025d J :
* Performance improvement for the deck editor when scrolling cards
  (transform 2*N*log(N)<Cmp1> + N*<read> into log(N)<Cmp1> +
  N*<read>). I expect this improvement to be much more significant,
  performance-wise, than last night's one.
2009-06-05 01:58:41 +00:00
jean.chalard
c822b245c1 J :
* Delete useless and very-frequently called string creations.
2009-06-04 17:28:52 +00:00
jean.chalard
705631328d J :
* Fix a typo in a method name
2009-05-31 11:44:56 +00:00
jean.chalard
5007d4f376 J :
* Remove the plasma effect in the deck viewer
2009-05-31 09:44:26 +00:00
wagic.the.homebrew@gmail.com
19b0b306fe Erwan
- stats are computed only at startup now, to avoid useless computation ingame
2009-05-31 09:42:08 +00:00
wagic.the.homebrew@gmail.com
03c8b5e272 Erwan
- plasma Effect made an option (plasmaEffect=1 in settings/options.txt)
- Changed plasma effect colors to something "gold-ish". J, feel free to revert
2009-05-31 05:26:16 +00:00
jean.chalard
b4d040b263 J :
* Add a plasma effect on the cards back
2009-05-30 14:06:52 +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
wagic.the.homebrew@gmail.com
1a21ca454a Erwan
- Fixed Damage All (Ashen Firebeast/ See test)
- Fixed Momir crash if no card with corresponding mana cost exists
2009-05-28 09:42:52 +00:00
wagic.laurent
d5da4a3a23 Laurent - Update LEG (complete review and clean-up , + added some card to the code) some other cards could be added (storm world, storm seeker, typhoon, spiritual sanctuary) but that will be for later ;-) 2009-05-26 23:35:51 +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
2f9df464b6 Laurent - Fixed the Basislik (not tested) and also some glitch in the token creation for Artifact Mutation and elvish promenade (added the "token" in the subtype since some cards target token). 2009-05-25 22:07:06 +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.the.homebrew@gmail.com
ee58109449 Erwan
- Added a way to name and describe AI Decks. Let's find cool names and descriptions :)
2009-05-25 12:43:58 +00:00
jean.chalard
dd054c4963 J :
* ostream printing of JGui objects.
2009-05-23 08:34:50 +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
234cdc64c5 Laurent - Fixed Rampage, cleaned-up 10E. 2009-05-22 16:40:32 +00:00
wagic.laurent
f566b4a8c5 Laurent - Updated discard function now function with cost & target (see update from MRD) - Note that this is the discard random function....
Did not try it yet without target (e.g. when comes intoplay auto=discard:19 probably will not work and would make the opponent discard a card randomnly...
2009-05-21 21:13:04 +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
wagic.the.homebrew@gmail.com
04d429b82c Erwan
-display the number of cards you own with the same name for each individual card in the shop
2009-05-20 13:50:58 +00:00
wagic.the.homebrew@gmail.com
3ae91e8226 Erwan
- Removed 4000 cards limitation
- URGENT FIX NEEDED: Test Northern_paladin2.txt fails :(
2009-05-20 11:07:20 +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
wagic.the.homebrew@gmail.com
f50d7e30d4 Erwan
- Added a few "stats" to the main menu. This might slow down loading times on the PSP (needs testing). In that case I'll move it to the options, or optimize it if needed
2009-05-19 13:45:53 +00:00
wagic.the.homebrew@gmail.com
a5b59c2079 Erwan
- fixed a compilation problem for the psp
2009-05-18 10:43:56 +00:00
wagic.the.homebrew@gmail.com
f94df3862b Erwan
- Added translation mechanism, and basic french translation as an example
2009-05-16 15:23:26 +00:00
wagic.the.homebrew@gmail.com
d074cc4de0 Erwan
- Fix bug with Northern Paladin
2009-05-14 12:39:25 +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