Commit Graph

1900 Commits

Author SHA1 Message Date
wagic.the.homebrew@gmail.com
a3cbbedd3c Erwan
- fix issue 392 (broken tests)
- Fix a bunch of memory leaks (guys please be careful!)
- Added Logging facility in JGE
- HBL Compatibility (cleaned up some code with MP3 in JGE)
- Added "winGame" ability. Currently used mostly by the story mode, but some cards could probably need it too
- Improved story mode and uncommented it from the source.
-- The current campaign is of course very basic, anybody who wants to improve it or create other ones feel free to do so
-- TODO (short term): save progress, rewards system, improve tutorial campaign
-- I'll talk a bit more about this on the forums/email after a night of sleep
2010-04-26 14:27:34 +00:00
wagic.superhiro
d311f88f93 Fixed Elvish Archdruid and Lord of Shatterskull Pass. 2010-04-25 15:56:59 +00:00
solo81@web.de
f566d8d146 Added 41 successfully tested cards with Cumulative Upkeep. This addition is based on the bug fix in rev2018.
Added 10 other successfully tested cards. These are instants or sorceries with up to two optional targets.

Card list -> First comment
2010-04-24 20:30:00 +00:00
salmelo16
aa5f091568 Fix bug with the interaction between thisforeach and upcost that made the cost essentially unpayable. 2010-04-24 14:29:24 +00:00
salmelo16
fa4ed3d3f5 Stop rarity=t cards from appearing in the shop. 2010-04-24 03:59:44 +00:00
wagic.laurent
2235ca333e Laurent - Added Duel Decks: Phyrexia vs. the Coalition 2010-04-23 20:05:59 +00:00
solo81@web.de
117f7b3954 Added ROE folder with the card_dat. :) 2010-04-22 21:35:22 +00:00
solo81@web.de
3c8396bcea Added Rise of the Eldrazi (ROE).
- Added 117 codable cards to the mtg_txt.
- Added a ROE folder with a card_dat.

The todo_dat will be updated later!
2010-04-22 21:28:57 +00:00
solo81@web.de
c6eff5d83e Added 71 successfully tested cards based on rev2012.
- Several creatures with upkeep costs.
- Almost all creatures with Echo. 
- Force of Nature and Lord o f the Pit are softcoded now.

Card list -> First comment

Fixed issue389.
2010-04-21 18:26:00 +00:00
salmelo16
3339b6b6a8 Add Upkeep costs to parser.
upcost[cost[,phase]] effect

cost is any cost that you might use for an auto line, including sacrifice and counters, phase is optional and defaults to upkeep, phase can have an optional prefix next which will make it so you only need to pay the cost once.

Effect is any effect that can go in an auto line and only goes off if cost is not paid during phase. For example, force of nature would be: auto=upcost[{G}{G}{G}{G}] damage:4 controller.
goblin patrol would have: auto=upcost[{R},next upkeep] moveto(mygraveyard)
2010-04-21 01:56:44 +00:00
solo81@web.de
73cfbce0ae Added 36 cards with Flashback.
Thanks to Norrin who initiated the idea of coding cards with flashback this way (-> Wagic Forum -> Card/Sets)

Card list -> First post
2010-04-19 13:20:03 +00:00
solo81@web.de
3ba4bd0cfc Added 4 successfully tested cards with buyback.
Buyback spells with a target don't work yet (see for the reason in my post in this revision).

Card List -> First post
2010-04-18 09:58:11 +00:00
solo81@web.de
52503efaab Added 9 successfully tested cards based on rev2007.
Card list -> First comment
2010-04-18 08:49:15 +00:00
leungclj
ed6361598c addition to r2007 2010-04-17 20:35:37 +00:00
salmelo16
be1a52f660 Update this(X) so that it works with spells as well as activated abilities. Also fixed a bug were this(X) did not work with targeting.
Adds Martial Coup
2010-04-17 19:45:57 +00:00
solo81@web.de
27a922db38 Added 11 successfully tested cards based on rev2003.
Activated abilities with {X}-costs that have a target don't work yet.

Card list -> First comment


Fixed issue386. It was just a little typo in Nekrataals autoline.
2010-04-17 12:07:57 +00:00
solo81@web.de
47b5b5f7df Added 84 successfully tested cards.
Most of the cards are based on the last adds by salmelo, while some few cards could have been added for half a year or more.

2 weeks of intensive testing are over, and I think all cards will do what they should but if you still find something discussable after testing them by yourself, plz post it here!

Card list -> First post.
2010-04-16 20:04:23 +00:00
salmelo16
c8b573d029 fix changes from r2003 so that they will work with multiple effects through &&. 2010-04-15 00:00:11 +00:00
salmelo16
74d2bbf324 Added X to the filters for this() and thisforeach(), for use with {X} costed activated abilities, although it should theoretically work with spells as well if necessary. 2010-04-14 23:42:47 +00:00
salmelo16
73b494c32d Fix bug where new this() ability continuous effects would not deactivate if the condition became false after having already turned true. 2010-04-12 16:27:10 +00:00
wagic.the.homebrew@gmail.com
16101f2bef Erwan
- Fix PSP Compilation
2010-04-05 13:31:08 +00:00
solo81@web.de
12974729c6 Added 14 successfully tested cards based on rev 1999.
Card list --> first comment
2010-04-04 00:19:27 +00:00
salmelo16
9cf4c7587b added ability to have triggered abilities target based on the event that triggered, bramblewood paragon, graft, etc.
use "trigger" inside target code of triggered ability.
does not work with @each and @next.
@damaged can use trigger[to] and trigger[from] to specify the target or source of the damage, respectively.

Adds cards:
Aether Flash
Bramblewood Paragon
In the Web of War
Juniper Order Ranger
Mortuary
Primal Forcemage
Fungus Sliver
Simic Initiate

as well as a test file for feral hydra, missing from my last commit.
and daily build.
2010-04-03 23:50:39 +00:00
solo81@web.de
b9d82a55c7 Fixed Rhys the Exiled, Spike Worker & Wandering Goblins. 2010-04-01 20:26:11 +00:00
solo81@web.de
90da515334 Added 6 cards based on rev1996.
Card list --> first comment
2010-03-30 23:37:14 +00:00
salmelo16
3a61eba007 allow to use X as the number of counters. daily build.
Added feral hydra.
2010-03-30 22:34:25 +00:00
solo81@web.de
9cb8cd68d5 Added 16 successfully tested cards.
Card list --> first comment
2010-03-30 22:05:32 +00:00
solo81@web.de
5af82ca96b Added 10 creatures with 'Modular' (DST). All cards have been tested successfully.
Card list --> first comment
2010-03-30 13:10:22 +00:00
solo81@web.de
cbed8ae1d4 Fixed Quirion Trailblazer 2010-03-29 22:26:56 +00:00
solo81@web.de
31ae05b79e Fixed several cards. 2010-03-29 15:28:56 +00:00
solo81@web.de
906e51b371 Updated mtg_todo.dat 2010-03-28 22:54:52 +00:00
solo81@web.de
e02c75a6d5 Added 22 successfully tested cards based on rev1986.
Card list --> First comment
2010-03-28 22:35:19 +00:00
wagic.laurent
1408f2ef09 Added a few cards; corrected manavault
#Added Incinerate, raking canopy, Aphetto Vulture, Barishi, Cho-Manno, Revolutionary, Marton Stromgald (thanks to entferno).
2010-03-28 17:20:52 +00:00
wagic.the.homebrew@gmail.com
22336b7839 Erwan
-fix psp compilation
2010-03-28 04:10:15 +00:00
salmelo16
4d5eeead5d daily build 2010-03-28 02:34:50 +00:00
salmelo16
a06980a197 added new auto keys, this and thisforeach, functionallity similair to aslongas and foreach, but for properties of the card as opposed to cards on the field. More details in first comment. 2010-03-28 02:21:25 +00:00
solo81@web.de
a2987f7b0e This is another patch by salmelo.
It fixes several problems with the newly introduced improvements concerning Counters.

Added 8 successfully tested cards, 1 of them is DARK DEPTHS!

Daily_Build update

Complete list in the first comment.
2010-03-25 23:28:55 +00:00
solo81@web.de
9a63fa9dec Added 15 successfully tested cards based on rev1981.
Most of the cards belong to 2 categories:

1.Cards with Fading (NEM).
2.Depletion land cycle from (ICE).

-> Card list in the first comment.
2010-03-25 20:30:12 +00:00
solo81@web.de
36780dd53a Fixed some cards. 2010-03-25 14:00:04 +00:00
solo81@web.de
e5874d1b89 Added several successfully tested cards based on rev1981.
You can find a list of those cards in the first comment.
2010-03-24 23:02:14 +00:00
solo81@web.de
07361b19f5 This is another patch by the great newcomer salmelo.
Salmelo:"Here is another patch, this time adding counters to target specifications, so now you should be able to target things with counters on them as well as use counters for criterion for Lord, aslongas, foreach, etc.
I had to muddle the syntax a little bit though, so heres an example, taken from gwafa hazid, whom I added to the primitives to test with.

lord(creature[counter{0/0.1.Bribe}]|opponentbattlefield) cantattack

obviously the part we are worried about is the counter part, note that those are curly braces { } and periods . instead of parentheses ( ) and commas , this is so that it does not conflict with how targets are normally parsed, which it did before I changed those. Counters still work the same way everywhere else though, you only need to use { } and periods in target code.

Also, you can use counter{any} to specify that it should look for things with any kind of counter on them, not just specific ones, this is used by Kulrath Knight, for example.

I also consolidated most of the code used to parse counter specifications, as it seemed unnecessary duplicating it three times.

Anyway, aside from this major addition, I also added Gwafa Hazid, Profiteer; and Kulrath Knight to the primitives, as well as a test file for each to make sure it worked.

Hopefully y'all will find this patch useful.

Oh, and I should point out that it only works with one Counter in the target specification, i imagine if you put two in the same one then it would either overwrite the first with the second or merge them into some sort of hybrid counter monstrosity, either way, I wouldn't suggest it. "

Cards with vanishing are also codable now. Have a look at the comments for explanation.

daily_build.
2010-03-24 21:15:34 +00:00
solo81@web.de
68d8da296a Added 6 successfully tested cards.
"@movedTo" in combination with "autograveyard" WORKS!" Thanks to Abrasax!

Fixed 18 cards, 1 of them is Rancor. Now works 100%, so issue311 is fixed.

You find a list of all added and fixed cards in the first comment.
2010-03-23 20:54:30 +00:00
solo81@web.de
d924881466 Updated mtg_todo.dat 2010-03-23 16:45:59 +00:00
wagic.the.homebrew@gmail.com
f2c405566f Erwan
- fix psp compilation, thanks to the people who reported the issue
2010-03-23 12:32:25 +00:00
solo81@web.de
dfb52368c4 Fixed issue188.
Just changed the the phase name in the auto line from "@each opponent upkeep" to "@each targetController upkeep". Works.
2010-03-23 00:07:28 +00:00
solo81@web.de
49b00c7419 Removed Carpet of Flowers.
This card cannot be coded for now.
2010-03-22 23:53:33 +00:00
solo81@web.de
81ca43d313 Added 36 successfully tested cards based on rev1971.
Fixed 7 cards based on rev1971.
I posted a list of all added and all fixed cards in the first comment.
2010-03-22 23:22:27 +00:00
solo81@web.de
3f14452a7f Added most Spikes.
This update is based on rev1971 and successful tests.
2010-03-22 17:16:00 +00:00
solo81@web.de
085a86d551 Added all Fungi.
This update is based on rev1971 and successful tests.
2010-03-22 16:52:08 +00:00
wagic.the.homebrew@gmail.com
61ddbf19ed erwan
- daily build
2010-03-22 11:19:38 +00:00