Commit Graph

2266 Commits

Author SHA1 Message Date
wagic.the.homebrew@gmail.com 3c6c561753 Erwan
- Added abrasax's game manual to the campaigns list
- Added a duel in the tutorial campaign, so that it becomes a bit meaningful (and therefore it's now not so easy to unlock the set)
2010-06-13 04:43:15 +00:00
solo81@web.de 4176e1b286 Added One Dozen Eyes (the first card with Entwine in Wagic).
Added a test for One Dozen Eyes and Glimmervoid.
2010-06-12 20:16:52 +00:00
wagic.the.homebrew@gmail.com 0b1fd9359f Erwan
- fixed a duplicate id in primitives (please be careful!)
- fixed issue 426
2010-06-12 14:35:19 +00:00
solo81@web.de 454d1af366 Fixed Avenging Angel 2010-06-12 08:59:50 +00:00
wagic.the.homebrew@gmail.com d756005093 Erwan
- fix for issue 390 (tokens available in shop)
- added "log" features in makefile
2010-06-12 06:06:27 +00:00
jean.chalard b25cd5d041 J :
* Replace index() with strchr(), which is the same but also exists
  in windows.
2010-06-12 04:13:12 +00:00
solo81@web.de d618aa4e6e 1) Added several successfully tested cards based on the fact that "<1" now seems to work completely for any permanents.
Card list -> first comment.

2) Fixed issue422.

3) Optimized 3 cards:

Covetous Dragon
Emperor Crocodile
Tethered Griffin


All additions and changes don't cause test suite to crash.

Will also add some tests in the next few days.
2010-06-09 20:47:38 +00:00
solo81@web.de a75e6fd5b8 Added Bazaar of Baghdad and Magus of the Bazaar. 2010-06-09 13:20:15 +00:00
d32.wagic 1b9147b084 Daddy32 - Single new task type:
"Pacifism" - requiring player to win a game without (much) damage dealing and milling, taking advantage of newly added instant-win cards.
2010-06-09 08:10:36 +00:00
jean.chalard fc9fccd93b J :
* Improve loading performance by about 25%.
  - This is certainly not the kind of change I was aiming at, but it
    just happened to get done, so why not commit it.
  - Little point for users in this change actually, since the loading
    times get down from 15 to 11 secs or so, it's not even that
    obvious.
  - I get about 25% on my PSP. Valgrind reports 36% improvement on PC.
    I wish it was the opposite ;_;
  - Feedback welcome
2010-06-08 17:42:35 +00:00
jean.chalard dfca20c90b J :
* Damn why did that compile.
* Okay, I hope this works as intended now
2010-06-08 16:55:24 +00:00
jean.chalard aa6f7ac63c J :
* The smallest bugfix ever
2010-06-07 17:51:44 +00:00
solo81@web.de aa6a3cf1a9 Removed Calcite Snapper.
Added Glimpse of Nature.
2010-06-06 20:35:12 +00:00
solo81@web.de e330c5fa65 Fixed Runed Servitor. 2010-06-06 18:35:58 +00:00
solo81@web.de 45da246d27 Fixed Oracle of Nectars. 2010-06-06 10:25:51 +00:00
solo81@web.de 3090a0b4de Fixed Anathemancer and Drana, Kalastria Bloodchief. 2010-06-05 18:41:50 +00:00
solo81@web.de ce34e4c73a Fixed Buried Alive.
Moved Reiver Demon to mtg_todo.dat. This card can only work after some engine fixing... .
2010-06-05 18:05:14 +00:00
solo81@web.de 235039e055 Fixed Rusting Golem. 2010-06-05 13:36:49 +00:00
solo81@web.de 7ce3b9bbde Fixed Phyrexian War Beast. 2010-06-05 12:49:06 +00:00
solo81@web.de dbf6ac1e90 Fixed Prophetic Prism. 2010-06-05 12:29:15 +00:00
solo81@web.de c23f1f508a Fixed Survivor of the Unseen. 2010-06-04 20:50:45 +00:00
solo81@web.de 6c29bd7a86 Fixed Chromatic Star and Kinsbaile Cavalier. 2010-06-04 18:52:37 +00:00
solo81@web.de be79d80fcf Fixed Ticking Gnomes and Parallax Dementia. 2010-06-04 18:30:40 +00:00
wagic.superhiro 8d22b68781 Fixed Ondu Giant & Temple of the False God. 2010-05-30 17:29:48 +00:00
solo81@web.de b2860c24c6 Fixed Antler Skulkin, Keldon Marauders and Zendikar Shrine Expedition. 2010-05-25 11:41:08 +00:00
wagic.superhiro 7a07d35763 Fixed Temporal Spring. 2010-05-20 17:10:01 +00:00
wagic.superhiro 35a38d328f Fixed Ranger of Eos, I think. 2010-05-18 23:18:43 +00:00
wagic.the.homebrew@gmail.com e98eda0028 Erwan
- daily build.
2010-05-18 14:04:08 +00:00
wagic.the.homebrew@gmail.com 2eb5043972 Erwan
- added Salmelo to credits
- updated version number
- fixed some bugs with the Story mode on the PSP
2010-05-18 13:50:33 +00:00
wagic.superhiro f85a78198c Fixed Emrakul's Hatcher. 2010-05-16 14:59:32 +00:00
solo81@web.de d73416440b Fixed Quirion Trailblazer 2010-05-15 10:19:39 +00:00
wagic.superhiro 1da93c8337 Fixed Hellspark Elemental. 2010-05-12 22:25:25 +00:00
solo81@web.de 1e25fc44d4 Added 10 successfully tested cards with Devour.
Added a test script creatures with Devour.

Card list -> First comment
2010-05-12 22:02:14 +00:00
solo81@web.de 998e17ef25 Added all remaining codable cards with Unearth.
Card list -> First comment
2010-05-11 21:05:19 +00:00
leungclj d92cdfacc1 1 more test script for unearth - pass 2010-05-11 12:00:26 +00:00
leungclj b9aa9b3df5 test script for unearth - pass 2010-05-11 11:50:51 +00:00
wagic.the.homebrew@gmail.com fd8c0c6eca Erwan
- fix compilation bug in Credits.cpp
2010-05-09 22:51:07 +00:00
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