Commit Graph

66 Commits

Author SHA1 Message Date
solo81@web.de
79b248a152 Added many cards with "cantbeblockedby". 2009-12-29 18:17:06 +00:00
Psyyringe
5c3b3f1d03 Psyringe - added quantifiable target restrictions. Whenever you use square brackets [] to specify attributes of a target, you can use the operators <=, >= and = to specify quantities for power, toughness, and/or converted manacost. See added cards for examples.
Limitations:
- Operators for "greater than", "less than", "unequal" have not been implemented, but if a card actually needs them, you can use a preceding minus sign to negate a comparison. Example: -power=3 means "power not equal to 3", -toughness<=3 means "toughness>3".
- You can't use spaces when specifying such restrictions. Write "power<=3" instead of "power <= 3"
- You now need to use a space before the "<" and ">" commands that count the matches for lord(), foreach(), all() and aslongas(). So far we always did use spaces in front of them without actually needing to, now we need to.
- manacost restrictions don't take "X" costs into account. Example: Mistmeadow Skulkin (FUT) has protection from manacost>=3. Blaze has a converted manacost of 1, but when you cast it with an X of 2, then it actually has a converted manacost of 3 while on the stack, and Mistmeadow Skulkin would be protected from it, but currently it isn't.

Please review the code, I'll add a few remarks/questions of my own.
2009-12-26 01:50:33 +00:00
solo81@web.de
13b3ffecfb Added some cards with myUpkeepOnly. All have been successfully tested ingame!
There is one important thing about coding such cards in direct combination with "limit:x". You have to put "limit:x" always before "myUpkeepOnly", see Firemane Angel as an example.

An auto line with "...myUpkeepOnly limit:x" does not work! So, the only working combination is "...limit:x myUpkeepOnly".
2009-12-17 20:44:57 +00:00
solo81@web.de
82c2d56692 Several card additions, card fixes, etc. 2009-12-11 16:55:49 +00:00
wagic.laurent
226c132946 Laurent - Code Clean-Up removed some Hardcode replace with softcode, mostly RV. Tested most of them (except exile from ALL but that should be the same as Swords to plowshares)...
Did not manage to remove/softcode The Rack.
2009-12-07 16:16:01 +00:00
solo81@web.de
4d7468f854 Added a lot of damage prevention cards. This is related to rev1367. 2009-12-02 20:45:21 +00:00
solo81@web.de
f189ef5e3c Added cards with "cantregenerate". 2009-11-27 14:22:12 +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
solo81@web.de
e8fbdd7b66 small corrections, added some cards with {0} activation cost 2009-11-15 11:58:42 +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.laurent
245cfc625c Laurent - Bug corrections ICE: Enervate, removed: Forbidden Lore, Krovikan Fetish (@next upkeep works same as @each upkeep not really a bug since only this card as such effect). ODY Squirrel mob (wrong p/T). 10E tentatively fixed Twitch (not sure about it yet) POR: Fixed devastation, changed Vampiric Touch (to better reflect the card wording) 2009-11-07 18:25:38 +00:00
solo81@web.de
b4dc38f4d9 Some card fixes. 2009-11-06 12:28:32 +00:00
wagic.laurent
dfa7fbb5f8 Laurent - few card buggy card identified during playtest (random deck as usual) fixed. 2009-10-27 11:05:12 +00:00
leungclj
97043870ed JON4TH4N - few fixes and tested, working now 2009-10-24 13:32:56 +00:00
solo81@web.de
fac8ccd477 (IA):
- Wording update
- Bug fixes
- Removed some cards
2009-10-16 17:39:33 +00:00
wagic.laurent
cd815a4b76 Laurent - added few cards with @damaged (CHK,MRD) small correction ICE 2009-10-16 15:13:54 +00:00
wagic.laurent
6d440b0423 Laurent - Added a few cards to DIS,small correction on ZEN, ONS, addition/removal in ICE
DIS additions:cards with Hellbent and some cards with @damaged. Note that "opponent" is not a valid target and "player|opponentinplay" will not work. So for some addition we assume that the creature will never deal damage to its owner (e.g trygon in DIS). Hellbent works fine in the situation described.
2009-10-16 09:24:24 +00:00
leungclj
df6ef02a85 Psyringe - Correction on a few sets 2009-10-05 12:20:16 +00:00
leungclj
c511739c10 J0N4TH4N - minor update 2009-09-28 19:56:18 +00:00
wagic.the.homebrew@gmail.com
e464b8616a Erwan
- removing creatures with banding. Banding is not supported in Wagic anymore, sorry :(
2009-09-27 08:22:18 +00:00
wagic.the.homebrew@gmail.com
515c5ef0db Erwan
-new trigger: @tapped(...
-Parser now supports X for P/T. WARNING: this does not work for activated abilities. And currently this works only for P/T but will be added progressively to other things
2009-09-27 03:41:28 +00:00
leungclj
074b7fc391 J0N4TH4N - minor fix 2009-09-17 16:21:44 +00:00
wagic.the.homebrew@gmail.com
f9a2d8283a Erwan
- A few card fixes
2009-09-08 13:07:19 +00:00
wagic.laurent
d30ca1db2e Laurent - Some additions, all tested and working. you can see in the todo.dat some tested and not working ... I don't understand why wrath of marit lage (ICE) does not work ??? 2009-08-10 05:21:57 +00:00
wagic.laurent
717fbd2f4f Laurent - Few addition, all tested and worked (exception Disciple of Vault (MRD) & Mercadia's downfall (MRQ) not tested yet...) 2009-07-31 22:00:43 +00:00
wagic.the.homebrew@gmail.com
76d386be06 Erwan
- fixed a bug with bottle gnomes (would give life to opponent even if you steal control)
- huge update for abilities life,draw,damage,deplete,discard in the parser. This breaks some cards (so we need to fix them) but allows more flexibility in the future. See my post on the forum
2009-07-25 14:57:27 +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
leungclj
16280c7ecb Jonathan - added few cards 2009-07-13 08:55:25 +00:00
leungclj
f3a6fcbf1b Jonathan - added few cards 2009-07-13 07:30:45 +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
leungclj
12b85ed5af Jonathan - (ALL) replaced all ' &quot; ' with ' " ' 2009-06-30 04:07:21 +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
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
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
leungclj
d45d526d6d Jonathan - (ALL) updated the ":" for p/t, removed restrain. And yes, removing ":" still works 2009-06-08 10:39:23 +00:00
solo81@web.de
afd82a2cca some fixes 2009-06-06 09:53:02 +00:00
solo81@web.de
f47a7594a8 Several card fixes 2009-06-06 09:48:39 +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
1f25f78965 Erwan
-Added a few cards using library
2009-05-30 09:52:33 +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
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
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
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
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
leungclj
612c1cbbad Jonathan - (ICE) fixed Snow-Covered land, added Drift of the Dead, attempted to reorder to alphabatical order 2009-04-26 09:18:22 +00:00
wagic.the.homebrew@gmail.com
89caaaadb4 Erwan
-Fixed a bug with */* creatures that don't die when they come into play as 0/0
-Fixed a bug with hymn of rebirth introduced in rev 245
2009-04-04 15:09:31 +00:00
leungclj
82f418d0f3 Jonathan - (ICE) update
-Fixed: Pit Trap, Snow Covered Land

-Removed: Walking Wall
2009-04-04 06:28:13 +00:00
leungclj
5027bc49c8 Jonathan - (ICE) update
-Fixed: Dark Banishing,Walking Wall, Pyknite,Snow Fortress,Blessed Wine,Touch of Death,Lhurgoyf

-Removed: Spectral Shield, Incinerate,Stampede,Warning,Word of Undoing,Icequake, Thermokarst,Essence Filter,Legions of Lim-Dul,Rime Dryad,Rime Dryad,Soldevi Machinist,Skeleton Ship

there are worrying number of cards removed, I believe that arent hardcoded, maybe I was too tired, but I am pretty sure they weren't hardcoded.

switched all cards discription to Oracle's version
2009-04-03 23:22:14 +00:00
wagic.the.homebrew
ff8e05cf04 Erwan
- replaced erroneous Mirrodin set with invasion set
- added a few cards with "aslongas" ability
2009-03-15 05:59:21 +00:00