Commit Graph

811 Commits

Author SHA1 Message Date
leungclj
ad5aa10ed6 JON4TH4N - corrected r1293 2009-11-18 18:35:52 +00:00
wagic.the.homebrew@gmail.com
1d55211245 Erwan
- Added ">" and "<" for foreach and aslongas. Can be used to code threshold cards. See black vise (RV) and korsan beast (ODY)
2009-11-18 14:37:28 +00:00
wagic.the.homebrew@gmail.com
7f9d22e0aa Erwan
-fixed a memory leak
- Added P02 and PTK 
- New way to create tokens in the parser, much more flexible, see the Hive in RV. Tokens can now be written as other cards, with a rarity of "T". I suggest their id to be the negative value of the card that generates them when possible. Naming convention for images is the same as before: a negative id such as -1138 will need a [id]t.jpg image (1138t.jpg). Positive ids work as "normal" pictures
2009-11-18 13:14:08 +00:00
leungclj
2f327edb6a JON4TH4N - resolve issue 197 2009-11-18 09:15:46 +00:00
wagic.jeck
a2c8637a3e Jeck - Resolve issue 183. Momir decks are now automatically generated. 2009-11-18 02:07:33 +00:00
Psyyringe
5558cae58b Psyringe - added 3 test scripts for (non-reproducible) bug reports. Also fixed a stray space after the name of a ZEN card. Due to this space the card would never be found when read in from a deck file, the card name in the deck file could never match the card name in _cards.dat. 2009-11-18 01:26:52 +00:00
wagic.jeck
51525d4ab8 Jeck - Fixed ID collision on Thieving Magpie (was using ID from 10E, not UDS) 2009-11-17 22:52:40 +00:00
solo81@web.de
a4f30a3cd2 Added UDS (0.9.1 updated) 2009-11-17 17:09:28 +00:00
leungclj
bc70b965f5 JON4TH4N - (NMS) changes applied also to other set 2009-11-17 08:40:16 +00:00
leungclj
9e593379d3 JON4TH4N - (NMS) addition of cards, please review since its been awhile, a little rusty. 2009-11-16 23:15:36 +00:00
wagic.the.homebrew@gmail.com
1d1bcef983 Erwan
- Adding most missing sets. _cards.dat only contain 1 card so that the file is not submitted empty, but other than that...hundreds of cards to add... feel free to copy/paste existing files from the forum if you trust their content
2009-11-16 13:54:06 +00:00
Psyyringe
013b9ff91f Psyringe - r1273 reverted my additions/changes to _tests.txt. I don't see a reason why we shouldn't have the four added scripts in the test suite, so I assume this was an oversight in yesterday's rush of additions, and provide a merged version here. If the scripts were removed from the list for a reason, please revert this change and explain. :) 2009-11-15 17:41:41 +00:00
solo81@web.de
bf7fd76728 Added Mindless Automaton and Workhorse (EXO) 2009-11-15 13:15:32 +00:00
solo81@web.de
7a6ee562c2 Added Putrid Leech (ARB) 2009-11-15 12:21:49 +00:00
solo81@web.de
f639ecf16a small corrections 2009-11-15 12:06:43 +00:00
solo81@web.de
e8fbdd7b66 small corrections, added some cards with {0} activation cost 2009-11-15 11:58:42 +00:00
wagic.the.homebrew@gmail.com
04a950c911 Erwan
- fix issue 172 (crystal rod)
2009-11-15 10:37:33 +00:00
wagic.the.homebrew@gmail.com
d85b1d66de Erwan
-fix issue 187 (Double Strike + First Strike)
2009-11-15 10:23:37 +00:00
wagic.the.homebrew@gmail.com
f6a75a0e43 Erwan
- Fix issue 194
- Attempt at doing basic AI tests
2009-11-15 09:31:33 +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
Psyyringe
203967cb2f Psyringe - added new myTurnOnly keyword to some creatures. 2009-11-14 23:35:05 +00:00
Psyyringe
bc7681e78c Psyringe - added test scripts for issue 188, issue 192, issue 193. Removed Sonic Burst and Acceptable Losses (as oer wololo's forum post), both cards could be cast from an otherwise empty hand without discarding a card. 2009-11-14 23:03:27 +00:00
wagic.the.homebrew@gmail.com
e2d282637c Erwan
- Activated abilities can now use the extra "myTurnOnly" keyword
- {0} Activated abilities should now work
- Fixed issue 166 (instill energy)
2009-11-14 14:17:01 +00:00
Psyyringe
0d4a767303 Psyringe - relocated some more currently unused test scripts. Fixed a syntax error in script "ebony_horse.txt" - the command is "endinterruptin", not "endofinterruption". The latter didn't do any harm in this script, but we're encouraging people to look at existing scripts for inspiration, so we should make sure that they only use correct syntax. :) Also "fixed" alphabetic order of tests in _tests.txt (very minor thing, but it helped me discover that one test was unnecessarily run twice - I probably introduced this duplication myself). 2009-11-14 13:19:00 +00:00
wagic.the.homebrew@gmail.com
dc5195a475 Erwan
-Fix alluring Siren (issue 177)
2009-11-14 12:54:09 +00:00
Psyyringe
5ffe7c3b00 Psyringe - created new folder "wontfix" for the Test Suite. This folder is for tests that were written for things that currently don't work and that we currently won't fix either. Nevertheless it's good to have the tests available in case some of these problems become fixable later on.
There were a couple of scripts in _tests.txt which were commented out for this reason, I moved them to the new wontfix folder too. I think it's cleaner and easier mto maintain to only have tests in the "tests" folder which actually work and are meant to succeed.
2009-11-14 12:36:12 +00:00
wagic.the.homebrew@gmail.com
852d88233f Erwan
- remove Glimpse of Nature (CHK)
2009-11-14 11:39:54 +00:00
wagic.the.homebrew@gmail.com
9ca552093e Erwan
- Added "PreventAllCombatDamage" [from(...)] [to(...)] keyword. Please test it on a few cards before we "mass" use it. As a side effect, fixed issue 155 (ebony horse target).
2009-11-14 11:35:29 +00:00
wagic.the.homebrew@gmail.com
5781060d83 Erwan
- fix issue 179 (@movedTo battlefield triggers when a creature changes controller)
- fix issue 176 (Ray of Command)
2009-11-14 08:28:29 +00:00
wagic.the.homebrew@gmail.com
7b2ac9e610 Erwan
- added "targetplayer" functionality to ManaProducer objects. As a collateral benefit, this fixes issue 191 (seismic spike)
2009-11-14 07:07:58 +00:00
wagic.the.homebrew@gmail.com
8390a94440 Erwan
- Language is now an option at startup
- "text" line translation for cards made easier, check Res/lang/xx_cards.txt
- TODO: test on PSP/Linux, performance issues ? Allow possibility to change language in options menu
2009-11-13 16:10:06 +00:00
Psyyringe
3b49f65958 Psyringe - last batch of test scripts from the wiki / forum / bugtracker cleanup. Wiki and bugtracker are now completely up to date. 2009-11-13 04:39:21 +00:00
Psyyringe
749f36419c Psyringe - minor fix for Fable of Wolf and Owl (EVE): Bird tokens generated by it didn't have flying. 2009-11-13 00:50:38 +00:00
Psyyringe
d7f4cb66ad Psyringe - added test scripts for issues i176 - i182. Again added some more scripts that were written to verify bug reports (but where the card behaved correctly). 2009-11-12 17:29:00 +00:00
wagic.the.homebrew@gmail.com
ce0051e545 Erwan
- fix issue 154 (dragon whelp)
- Fix issue 157 (erg raiders)
- fix issue 169 (living artifact)
- fix issue 159 (stonebrow) although I believe this card doesn't work correctly...
2009-11-12 13:57:22 +00:00
wagic.the.homebrew@gmail.com
e059890446 Erwan
-reduced SFX Quality. This seems to fix the Bug with samples getting silent on the PSP (issue 112), and improves loading times. If you think this is unacceptable, let's discuss it
- AI now should play fetchlands' ability, although still not "efficiently"
- Fix a bug where the game would crash if a card has a valid alias to a hardcoded card that is in no _cards.dat (starwars mod cards aliasing a MTG card)
2009-11-12 11:39:47 +00:00
Psyyringe
efc01b6ddc Psyringe - very minor addition to POR: added the missing 4th Swamp, Island, and Mountain. 2009-11-11 23:51:19 +00:00
Psyyringe
b9b9180898 Psyringe - minor fix for Gamble (USG). The sequence of actions was wrong - you first search for a card, put it into your hand, and THEN discard a card at random. This means you may end up discarding the card you just searched for. Previously that wasn't possible, so the card was more powerful than it should be, especially when played from an otherwise empty hand.
Test script "gamble.txt" added to test suite.
2009-11-11 22:51:52 +00:00
wagic.jeck
5e9da1634e Jeck - Small update to Jade's unused files, reducing pixel size to bare minimum.
I'm back from my break :). I've been using these files over the past few weeks to no ill effect, so have uploaded them here. This is what I've been doing with the other gemstones, as well. I'll look into more elegant solutions later.
2009-11-11 02:38:32 +00:00
Psyyringe
71160be490 Psyringe - minor fix: Shadowmage Infiltrator (ODY) was missing the Fear keyword. 2009-11-10 22:31:20 +00:00
Psyyringe
ba460dfcf3 Psyringe - added test suite scripts for i169 - i175, Added several non-bug scripts. Replaced symbiotic_wurm.txt - it now tests token generation after the wurm has been killed. Removed description mentioning Akron Legionnaires which had nothing to do with the rest of the script. Renamed volcanic_island.txt to volcanic_eruption.txt since the script actually has nothing to do with Volcanic Island, updated in-script description as well. Corrected erroneous "endinterrupt" command in three scripts to "endinterruption".
(I actually spent half an hour fiddling with my first interruption script, because the tutorial on the blog doesn't mention the any command to end interrupt sequences. Then I checked the "Counterspell" script, was happy to find the "endinterrupt" keyword, and fiddled for another 30 minutes with it before I found out that this keyword is actually wrong and the parser doesn't understand it at all, it just so happens that the Counterspell script (and two others) work nevertheless because in these scripts the interruption doesn't need to end. I wholeheartedly agree with the passage in wololo's mail in which he says that we could use a "real" test suite tutorial / reference.
2009-11-10 05:50:11 +00:00
Psyyringe
7121958efa Minor fix to DIS, two creatures were missing the Flying ability keyword. 2009-11-09 02:39:53 +00:00
Psyyringe
ff008059e8 Psyringe - added test suite scripts for issues i163 to i168.
Also added two scripts that don't demonstrate bugs (apparently the bug reports that I used to write the scripts were either false or outdated). nevertheless it doesn't hurt to have these scripts in the test suite, it prevents us from breaking something for the respective cards in the future and not noticing it.

The script fear_i147.txt has been moved into the "generic" folder and added to the regular test sequence for the same reason.

Also fixed the script generic/tokens.txt. It was referencing The Hive once via name and once via ID. This caused problems when (unofficial) Beta edition _cards.dat was installed.
2009-11-08 21:34:24 +00:00
Psyyringe
62eddef65b Psyringe - added bug test scripts for i159, i160, i161. 2009-11-08 04:59:20 +00:00
Psyyringe
7ea4258a21 Psyringe - fixed a bug with Aura Mutation (INV) - it only targeted auras, but should target all enchantments. Test suite script for Aura Mutation has been added and activated. Please check, this is the first time I'm doing changes to a _cards.dat file.
Also fixed a typo in Argothian Swine (USG) (missing capitalization) which caused the card not to be translated.
2009-11-08 00:32: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
wagic.laurent
d31c0b2f97 Laurent - small correction ID of Kokusho (CHK) 2009-11-07 14:06:49 +00:00
solo81@web.de
b4dc38f4d9 Some card fixes. 2009-11-06 12:28:32 +00:00
wagic.the.homebrew@gmail.com
f33d37d9f2 Erwan
-attempt at fixing shop crash introduced in r1231 (size needed in ram divided by 4)
2009-11-04 13:33:21 +00:00
Psyyringe
500c1fc1a2 Psyringe - major update/rewrite for the German translation. Added a lot of missing strings, removed some obsolete ones, corrected some spelling / grammar / translation mistakes, addressed the player consistently with the informal "Du" (previously there was a mix of "Du" and the more formal "Sie"), added the cards from M10, PLC, and ZEN along with their German names, repaired a wagonload of lowercase umlauts in the existing card names (please use case sensitive fuctions when replacing umlauts), and provided translations for all 251 types, subtypes, and supertypes in the game. Also, totally restructured the file so that it now follows the structire of the in-game menus. I think the file is in good shape now and might be useful as a base for other translation efforts. I can't guarantee that I caught every single string, but I'm pretty sure that this is now the most complete translation available.
Please note that I don't plan to update this file for future Wagic versions, so if anybody wants to take over, please do. :)

Some files were updated in the process:

- CardGui.cpp - exposed the card rarity info on the alternate render cards to the translation engine. Also switched the color of said info to white on green and blue cards, imho they are much easier to read now.

- GameStateDeckViewer.cpp - exposed the term "Collection" (shown under the scrollbar) to the translation engine.

- GuiPhaseBar.cpp - exposed the strings denoting "your turn", "opponent's turn", "you play", "opponent plays", to the translation engine.

- SimplePad.cpp - exposed the special keys ("Spacebar", "Confirm" etc.) to the translation engine. Had to increase the keypad width to make room for "Abbrechen" (Cancel). I couldn't translate it differently because there's also a *spell* called cancel, and to have a different translation in SimplePad, I would have had to change the official German name of the Cancel spell, which wasn't an option.

- MTGAbility.cpp - exposed the words from which the text of mana-producing abilities is constructed to the translation engine. Please review this one and suggest a better solution - the one I chose is somewhat awkward. The translation works, but when the whole translated sentence is constructed and gets returned, the calling procedure tries to translate it again (all other ability descriptions work this way, translation takes place *after* the string has been returned). However, for mana producing abilities this doesn't work, since the costructed string can take an infinite number of diffeent forms, depending on the mana produced, and we can't translate that. Hence I chose to translate the individual words during construction, with the described side effect that the engine now tries to translate them again later in the process (and the sentence ends up in missing.txt).

- Also, cheat mode menu items now aren't denoted by the ugly "(cheat)" appended to them, instead they are enclosed by asterisks. Uses less space.
2009-11-03 22:25:16 +00:00