Commit Graph

1622 Commits

Author SHA1 Message Date
techdragon.nguyen@gmail.com b595091855 moved tests for rakdos pit dragon into bugs folder until issue 555 is resolved. 2010-12-09 07:58:58 +00:00
techdragon.nguyen@gmail.com dbb3e04de1 replacing old tests with new more complete tests for radkos pit dragon.
Note: currently two of the four tests fail due to issue 555 which is unresolved.
2010-12-09 06:14:33 +00:00
omegablast2002@yahoo.com 079d2dbd22 updated this test as it uses the trigger step, note: the 7 or so trigger based test dont want to actually test in test suite...i tried correct a typo in the _test.txt they have an extra "S"...but still they did not get tested...any ideas? if you can get them testing, please remember the combat ones need an extra next directly before the "next for combatdamage. 2010-12-08 14:34:17 +00:00
wagic.the.homebrew@gmail.com 70a1a03fee Erwan - reverting r2779 per my comment in that revision 2010-12-08 14:18:41 +00:00
wrenczes@gmail.com 2a442ad2f5 Swapped the DeckMenu background from a png to a jpg, as the transparency wasn't being used at all in the image, so it wasn't buying us anything. Flipped the rendering order so that the background is now truly drawn in the background (ie first), and everything else is drawn on top.
(Make sure you update your res/graphics folder on your psp!)
2010-12-08 11:02:25 +00:00
guzhenjie1@gmail.com d638ac28b1 Fix Graypelt Hunter and Doomsday Specter. 2010-12-08 10:51:04 +00:00
wagic.the.homebrew@gmail.com c28c14171f Erwan
-fix for issue 489 (protection prevents some triggers to happen)
2010-12-07 14:12:04 +00:00
techdragon.nguyen@gmail.com 7676ad5e79 removed blank entry. caused an error to appear in console on startup 2010-12-07 05:43:23 +00:00
wrenczes@gmail.com ffd3b7b074 At Z's request, fixed Issue 184, ExtraCost types with targets such as Siege-Gang Commander/Drowner of secrets combined with targeted abilities bug.
This one was a bit of a doozy to fix correctly, but the actual fix ended up being fairly simple - the upshot is that TargetAbility never checked for whether an extra cost needed setting prior doing a target selection.  While at it, I discovered and fixed another bug:  if you're in the middle of an extra cost choice (like sacrifice, for instance) and hit the next phase button, the game would let you proceed, and then hang in an endless loop.

While at it, did a little cleanup/refactoring around GameObserver's waitForExtraPayment - any time a bool has something that sounds like a verb, it probably deserves to be a function.  Now it is. (I needed to refactor it anyway, as I reused that code for the next phase hang.)

Note that after this fix, I had to patch two test cases (siege_gang_commander.txt & seismic_assault.txt) - since I've change the selection order (ie a target ability with a sacrifice cost requires the cost to be paid up front before picking the target), this means that tests involving targeting & sacrifices need to switch the order of the cards to pass.
2010-12-06 06:49:36 +00:00
solo81@web.de 4de3b4a3c0 Fixed Twisted Image. 2010-12-05 15:23:45 +00:00
omegablast2002@yahoo.com bd1253702f fixed the 3 urza's lands, for future refference please dont use card names as subtypes, wagic is completely capable of finding a card by name through targetchooser, thanks! 2010-12-04 14:29:19 +00:00
guzhenjie1@gmail.com 55de150aac Fix following cards:
Chainer, Dementia Master
Golem Artisan
Corpsehatch
Imps' Taunt(Imp's Mischief)
Samurai of the Pale Curtain
Summoning Station
2010-12-04 12:08:19 +00:00
solo81@web.de 9cb05ad07b Fixed Fire Dragon. 2010-12-04 11:09:54 +00:00
omegablast2002@yahoo.com 35742e57a3 opps i typoed in the card code fix lol. 2010-12-04 09:51:45 +00:00
omegablast2002@yahoo.com 7b8a9c851f Heliophial had no actual ability, corrected this. 2010-12-04 09:16:10 +00:00
omegablast2002@yahoo.com b07b772c8e MAJOR fix to something was was causing very weird results ingame.
the tag "other " vs tag " other"

using "other " in target choosers will always work, however more often then not using " other" at the end of a line would produce weird effects, this was brought to my attention in a bug report by KF1, i moved all the " other" from outside target chooser into the actual target lines, as this always produces correct results in code, i imagine the tag at end of line was added before "other " was intruduced into targetchooser.

i will leave support for using " other" in code, however, i ask that we try not to use this code unless for some strange reason the targetchooser "other" doesnt take to the code.

stranger was that i noticed alot of mixed code, as in lord(other blahblah) 1/1 and this version with other tag at end, it was very inconsistent aside from causing weird weird results in game which i was actually able to confirm.

please update your primitive!!! this was ALOT of work.

correct syntax for "other "
lord(other blah)
all(other blah,blah,blah)
damage:1 target(other blah)
target(other *|somewhere)
notice its always first followed by a space. you only need one instence "other " in a targetchooser.
2010-12-03 13:08:53 +00:00
guzhenjie1@gmail.com e71fb8ff46 Add text for follow duel lands:
Blackcleave Cliffs
Copperline Gorge
Darkslick Shores
Razorverge Thicket
Seachrome Coast
2010-12-03 11:09:08 +00:00
omegablast2002@yahoo.com fb3129cad9 readding afiya grove, not sure when it was removed, but its back 2010-12-02 19:35:49 +00:00
techdragon.nguyen@gmail.com b8658bf04f modified final sentence for it to be grammatically correct. LOL 2010-12-02 16:23:23 +00:00
omegablast2002@yahoo.com d693887df9 wei ambush had a typo in the trigger. attcking( missing an "a" 2010-12-02 15:36:41 +00:00
techdragon.nguyen@gmail.com bcca766cb6 Premade decks will not create/update stats on battles.
Update description for default premade deck to allow proper wrapping of text.  
Issue: 540
2010-12-02 08:36:36 +00:00
techdragon.nguyen@gmail.com 8fa6578757 adding me4 for abra 2010-12-01 16:29:36 +00:00
guzhenjie1@gmail.com 17f61df89e Fix following cards:
Kashi-Tribe Elite
Kashi-Tribe Reaver
Kashi-Tribe Warriors
Matsu-Tribe Birdstalker
Orochi Ranger
Rancor
Vulshok Heartstoker
Wei Ambush Force
2010-12-01 12:56:32 +00:00
jean.chalard f9b4f248aa J :
* Add languages in their own language
2010-11-30 18:57:28 +00:00
omegablast2002@yahoo.com 8de00561d5 added 3 pixels to the y scale of the background image to cover up part of the scroller text for task which was visible under the back ground 2010-11-29 12:29:41 +00:00
solo81@web.de ca3417bd40 Fixed issue495. 2010-11-28 14:53:50 +00:00
solo81@web.de 4c2d631921 Moved Eye for an Eye to the mtg_todo.dat. It probably never worked.
Closing issue521.
2010-11-28 14:50:56 +00:00
solo81@web.de 181e861e73 Fixed issue522. 2010-11-28 14:46:47 +00:00
solo81@web.de 01da70f9dc Changed the name of FAL to PD2 (thanks to KF1!). 2010-11-28 14:36:54 +00:00
solo81@web.de 790d1ffce6 Added "Premium Deck Series: Fire and Lightning". 2010-11-28 11:14:53 +00:00
wagic.the.homebrew@gmail.com 3253006cb9 Erwan
- Adding Kaioshin's new background
2010-11-28 04:27:15 +00:00
wagic.the.homebrew@gmail.com 52fce24bf8 Erwan
- Added AI Decks unlock system. Please update your graphics folder, and crossing fingers that Ilya B. is still around as I don't have the correct fonts.
2010-11-28 04:15:58 +00:00
techdragon.nguyen@gmail.com a512b12014 fix for issue 527: Reinforcements definition caused AI to crash. ( buffer overflow of ability string for token )
* updated definition for Heliophial, changed counter naming for auto abilities to match.
2010-11-23 19:25:53 +00:00
techdragon.nguyen@gmail.com b5ff86b14c adding images for popup menu changes in previous check in 2010-11-23 14:03:02 +00:00
techdragon.nguyen@gmail.com e39c94756b added border to extra details popup as per design at
http://wololo.net/forum/viewtopic.php?f=37&t=2380
and
http://wololo.net/forum/viewtopic.php?f=37&t=2382
2010-11-23 14:02:02 +00:00
techdragon.nguyen@gmail.com 8c7e06b6dc fix for issue found in forums with reinforcements. Not sure how wide spread the original coding will cause errors but this solution avoids it entirely.
Issue: 527
2010-11-22 21:38:12 +00:00
techdragon.nguyen@gmail.com 22fd66493a added in commas for abilities string. This was supposed to go into the last check in. 2010-11-22 15:54:15 +00:00
omegablast2002@yahoo.com 09afcea7da rhox-added regenerate, knights of cliffhaven added maxlevel. 2010-11-17 11:37:47 +00:00
solo81@web.de 9a32c507b6 Fixed Vebulid.
Readded Footsteps of the Goryo. Zethfox had a solution for this!
2010-11-16 12:09:46 +00:00
solo81@web.de c79fdcbf50 Fixed several cards.
Blitz Hellion
Deathcoil Wurm
Laccolith Grunt
Laccolith Titan
Laccolith Warrior
Laccolith Whelp
Line Wolf
Pride of Lions
Righteous Fury
Rhox
Thorn Elemental
Tornado Elemental
Wolf Pack


Removed Foosteps of the Goryo. It cannot work right now for the same reason as Miraculous Recovery cannot work.
2010-11-15 21:03:09 +00:00
jean.chalard 1317eb0d29 J :
* Add multilingual support for utf-8.
* Use japanese as a test case (removing the old tentative support).
* A number of shortcomings affect this code.
  + Bugs :
    - This splits algorithms used to determine the length of a string
      and to render it in two: either the string starts with an ascii
      char and the monobyte, variable-space algorithm is used, or it
      does not and a multibyte but fixed-space algorithm is used.
      This shortcoming also exists in the code to support chinese.
    - From the above comes the biggest limitation: any string that
      starts with an ascii character but include non-ascii characters
      will not be rendered correctly.
    - This does not and cannot support chars outside the BMP. This
      probably won't matter, ever.
  + Todos, fixmes, wishlist :
    - Single-width characters with diacritics are reported as
      double-space chars. It doesn't matter too much at the moment, but
      should be fixed in the future.
    - Font support currently only includes japanese.
  + Performance and compatibility notes :
    - Chinese code has not been switched to utf-8, to maintain backward
      compatibility. We should switch it at some point in the future,
      but ponder the right way to do it first.
    - Retaining the support for chinese with a non-international
      charset hurts performance (by making some methods uselessly
      virtual).
* Still, this generally works and is extensible (it can be used to
  implement korean, traditional chinese, etc, without any more code).
  Implementing languages with diacritics needs an improvement of the
  bool doubleWidthChar() method.
2010-11-14 16:24:29 +00:00
solo81@web.de 3cedeb4d85 Fixed issue513. 2010-11-14 10:15:02 +00:00
wagic.the.homebrew@gmail.com d668fbb45c - unix endings for GameStateDeckViewer.h
- fix for issue 509 (font color was incorrect at end of some tests)
- Fixed Dregscape Zombie (fix for test unearth3.txt)
2010-11-14 01:15:46 +00:00
omegablast2002@yahoo.com f24a7410db Roc egg was reported to have been a uncommon card, was incorrectly listed as a rare in the card.dat. 2010-11-12 18:41:02 +00:00
omegablast2002@yahoo.com 71b0a7dee4 Exuberant Firestoker tweaked, appears to work just fine, please let me know if any futher issues ariase from this.
Issue: 458
2010-11-12 17:35:28 +00:00
omegablast2002@yahoo.com e2d9662845 Quirion Ranger was coded with untap land instead of creature.
Issue: 510
2010-11-12 17:28:06 +00:00
omegablast2002@yahoo.com 87bf93365e Simulacrum fix again, dejavu. 2010-11-12 13:13:28 +00:00
techdragon.nguyen@gmail.com 7aa76630fa changing leveler coding to use "maxlevel" syntax as "level=" is not supported. 2010-11-12 10:01:20 +00:00
techdragon.nguyen@gmail.com 2d546f111a corrected casting cost for Argentum Armor, it should be {6} not {2}
removed duplicate entry for Oblivion Crown. I'm assuming the def with "teach" is the correct one.
2010-11-12 08:16:40 +00:00
techdragon.nguyen@gmail.com f16192f685 added in missing tests for primeval titan and sun titan. ( these were not added on initial change )
fixed definitions for sun titan and primeval titan. ( these were clobbered with the latest changes. )
2010-11-11 17:05:28 +00:00