Commit Graph

1929 Commits

Author SHA1 Message Date
solo81@web.de
a4faacc7e1 Added some successfully tested cards with Unearth.
Example code:

[card]
name=Dregscape Zombie
autograveyard={B}:moveto(exile) && token(17483511) asSorcery
text=Unearth {B} ({B}: Return this card from your graveyard to the battlefield. It gains haste. Exile it at the beginning of the next end step or if it would leave the battlefield. Unearth only as a sorcery.)
mana={1}{B}
type=Creature
subtype=Zombie
power=2
toughness=1
[/card]
[card]
name=Dregscape Zombie Unearthed
type=Creature
subtype=Zombie
abilities=haste
auto=@next end:moveTo(exile)
power=2
toughness=1
mana={1}{B}
[/card]

Added a test script for this card as an example for cards with Unearth.

Card list -> First comment


More cards with Unearth will follow tomorrow.
2010-05-09 22:09:18 +00:00
wagic.the.homebrew@gmail.com
b1079942af Erwan
- Reward system in Story mode (currently, either credits or random set)
- Rules now accept for player 2 to start (see story mode "block" stage)
- Story mode now has an autosave/autoload mechanism. This is for convenience but also to prevent people from abusing the reward mechanism too easily.
- possibility to choose an avatar for both players through the rules (see example in story mode)
2010-05-09 08:14:01 +00:00
solo81@web.de
11a259d786 Optimized and corrected several creaures with Level Up.
This fixes issue413.
2010-05-09 07:03:53 +00:00
solo81@web.de
dc8c492137 Added several other card tests. 2010-05-08 23:11:42 +00:00
solo81@web.de
f0896a29d9 Added a test for Brainstorm.
This is my first test addition! 

^^ I will now do my best to create tests for all new greater card groups for Wagic 0.12.1.
2010-05-08 18:35:27 +00:00
solo81@web.de
295a32c3d7 Fixed Brainstorm and Careful Study. 2010-05-07 15:15:40 +00:00
wagic.superhiro
b4c75e63fd Fixed tape=nothing mistake :) 2010-05-07 12:49:49 +00:00
wagic.superhiro
7a593f2b2d Fixed Kargan Dragonlord and Lord of Shatterskull Pass. 2010-05-07 12:37:26 +00:00
solo81@web.de
4b719dc474 Fixed Ophidian Eye.
Altered the code of Countersquall, Punish Ignorance and Undermine by changing "targetController" to "opponent". 

This is a workaround for issue408, not a fix. I think we can live with that because no one wants to counter his own spells with Undermine, I think...
2010-05-06 21:26:13 +00:00
solo81@web.de
64367d27a4 Added 37 successfully tested cards based on this discussion
--> http://wololo.net/forum/viewtopic.php?f=21&t=1430

!!!!Many thanks to Kaioshin!!!!


One example card code:

[card]
name=Arc Lightning
target=creature,player
auto=damage:1
auto=damage:1 target(creature,player)
auto=token(-1111112)
text=Arc Lightning deals 3 damage divided as you choose among one, two, or three target creatures and/or players.
mana={2}{R}
type=Sorcery
[/card]
[card]
name=Arc Lightning's 3rd Damage
auto=counter(0/0,1,Arc Lightning)
auto=@damaged(creature,player):thisforeach(counter{0/0.1.Arc Lightning}>0) damage:1 target(creature,player) && counter(0/0,-1,Arc Lightning) && counter(0/0,1,Bury)
auto=thisforeach(counter{0/0.1.Bury}>0) bury
type=Nothing
id=-1111112
[/card]

This new introduced use for fullcoded tokens seems more borderline than it in fact is:

- The tokens cannot be targeted or destroyed except for their own sac-effect.
- They don't cause any effects on the board to trigger.
- The interactions with their "mothercard" cannot be interrupted.
- They are invisible (this is true for most of the cards), because they exist as short as a permanent can exist, vanishing immediately after entering the board.

I couldn't believe it when I saw this way of coding the first time, but it just works wonderfully! Very few people will recognize any difference between this and the usually coded cards.

THIS ADDITION DOES NOT CAUSE TEST SUITE TO CRASH!! ;)


Card List -> First Comment
2010-05-06 21:02:49 +00:00
wagic.the.homebrew@gmail.com
0149512412 Erwan
- fixed bugs introduced in revision 2034 (Giant Growth)
- Extended Story mode xml: much easier to write basic thing, font selection, possibility to position answers, answers now in correct order
- moved story in the menu because it is not major for now
2010-05-06 13:47:56 +00:00
jean.chalard
f7e55bbc9e J :
* Fix the last pending bug of issue 380.
* This avoids calling the translator before it is initialized.
  - Removing the call is harmless because it is done later anyway,
    late enough that we know the translator is initialized, but soon
    enough for the data gathered by the call hasn't been used yet.
* This doesn't protect against future early uses of the translator.
  - This is quite hard to fix. The translator is initialized really
    early, pretty much as soon as we know what language is in
    use. However, there is a little interval and it is possible to call
    upon it inside (this is what caused this bug). It might also be
    called before we know the language at all, with obvious problems.
2010-05-05 11:45:24 +00:00
jean.chalard
db96cb5142 J :
* Partial fix for issue 380.
* This remove a bug where a variable was not initialized in profiles.
* The impact on this could have ranged all the way to a full trashing
  of the user configuration files (though it requires some bad luck)
2010-05-05 06:27:52 +00:00
jean.chalard
b0f1d301b8 J :
* Add a suppressions file for valgrind for those errors we can't
  do anything about.
* Please be *extremely* careful before adding anything in this file,
  and please document well any additions with the reasons why it
  should indeed be in here and pointers to web pages explaining why
  this is happening.
2010-05-05 02:50:49 +00:00
wagic.laurent
6f053ab419 Laurent - jamais 2 sans trois !!!
just made a mistake with the last commit and erased the subtypes... now corrected. (I hope)...
2010-05-03 21:39:39 +00:00
wagic.laurent
ddc9899248 Laurent - updated french translation, just remove some duplicate did not notice them in the first place because there was some extra space in the original file, now removed. 2010-05-03 21:27:58 +00:00
wagic.laurent
ba039d4fac Laurent - Updated the french translation.
Added SHM,EVE,ALA,ARB and CFX
Was a pain, some sets were added "partially" so I had to review them completly + there was some english text !!!
I also added some subtypes, for the set I added.
2010-05-03 21:14:03 +00:00
solo81@web.de
f5b08ade13 Fixed issue397.
Fixed issue398.

Removed Silent Arbiter: This card does not work. Opponent can always attack or block with more then one creature although Silent Arbiter is on the battlefield. Closing issue400.
2010-05-02 19:42:38 +00:00
wagic.the.homebrew@gmail.com
755bb04475 Erwan
- updated pt translation (thanks to almosthumane)
- Added/updated some Themes by Ilya B
- Added a random wallpaper loading at loading screen (see wallpapers.txt in Res/graphics)
- Saving decks and collection should now be a bit more secure (attempt at minimizing issue 393)
2010-05-02 12:49:36 +00:00
solo81@web.de
c26f453b16 Added Helix Pinnacle.
Fixed Puppet Conjurer.
2010-05-01 18:47:47 +00:00
solo81@web.de
ba91fcfcac Fixed Beastmasters Ascension.
Optimized all cards with Graft.

Removed Merrow Reejerey: Permanents with two or more "may"-lines never worked because all these lines will always trigger, so you could use them all. Closing issue362.
2010-05-01 17:25:42 +00:00
solo81@web.de
ebff6e7872 Removed Miraculous Recovery.
This card cannot work for now: The engine always tries to let the "+1/+1 counter"-effect trigger first, so it tries to give a creature in a graveyard a +1/+1 counter, and this is not possible in wagic for the moment.

Closing issue306.
2010-05-01 14:49:22 +00:00
solo81@web.de
e832acad3b Fixed issue396. 2010-05-01 14:31:11 +00:00
solo81@web.de
7db3583a31 Added Drana, Kalastria Bloodchief.
Fixed issue395.
2010-05-01 09:39:18 +00:00
wagic.laurent
bfa825e0e2 Laurent - update of the french and spanish translation.
I did not add the italian cards because the file provided on the forum needs to be cleaned,
2010-05-01 07:43:03 +00:00
solo81@web.de
7ccf9e8a0f Fixed Masticore. 2010-04-30 15:16:56 +00:00
solo81@web.de
c887ef808a Added 6 successfully tested cards based on rev2021
(winGame keyword).

Added 2 interesting draw spells (they work 100% as they should!)

Added 6 other yet undiscovered, but perfectly working cards.


Card list -> First post
2010-04-27 21:28:01 +00:00
d32.wagic
2814165140 Fixed reward calculation for TaskWisdom, tweaked its difficulty. 2010-04-27 11:07:13 +00:00
salmelo16
4ee2f26e7b Fix bug with upcost and countercosts, daily build. 2010-04-27 04:57:13 +00:00
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