Commit Graph

563 Commits

Author SHA1 Message Date
omegablast2002@yahoo.com
1071dbf738 2010-10-17 14:03:51 +00:00
wagic.the.homebrew@gmail.com
8fdb64e9ce Erwan
- adding tests for issue 489 and issue 491
- check for null pointers in Credits.cpp
- Test suite can now select tokens by their name
- Fixed Dragon Broodmothere's token name
2010-10-17 10:21:08 +00:00
wagic.the.homebrew@gmail.com
d9f5b1586c Erwan
- fixing buggy test for kicker introduced in r2414
- removed old translation tool scripts (not needed anymore)
- simplified "borderline.txt" using the global "borderline" grade.
2010-10-17 05:37:22 +00:00
solo81@web.de
98926caaa8 Added 5 tests to safe
aslongas + <
aslongas + >
aslongas + trigger

for future code changes.
2010-10-15 20:32:15 +00:00
omegablast2002@yahoo.com
2f73400cbb updated _test, and rewrote bug test to safe "aslongas" effects in the future. 2010-10-15 15:21:55 +00:00
techdragon.nguyen@gmail.com
4a0331cbb9 corrected kicker test end conditions. 2010-10-13 21:24:50 +00:00
solo81@web.de
ce934123b0 Added a test for issue483.
Fixed Lux Cannon.
2010-10-12 15:05:52 +00:00
wagic.the.homebrew@gmail.com
508040b3a7 Erwan
- fix for issue 467 (simultaneous triggers + "trigger" keyword)
- MootPoint's patch for some string parsing
- some random int/float compilation warning fixes
2010-10-01 16:33:07 +00:00
wagic.the.homebrew@gmail.com
f4e87b7daf Erwan
- adding test to repro issue 467
2010-10-01 14:18:05 +00:00
wagic.the.homebrew@gmail.com
5de20792fd Erwan
- revert a mistake with tests from r2342
2010-09-28 22:37:28 +00:00
wagic.the.homebrew@gmail.com
b79c7eea53 Erwan
- fix for issue 462 (graphical glitch when cards come back from graveyard)
- adding Kaioshin's wallpaper
- fixed minor issue in mtg.txt
2010-09-28 13:58:22 +00:00
solo81@web.de
56a6c7b6f6 Readded Mephidross Vampire.
Added a few tests.
2010-09-26 13:53:25 +00:00
wagic.the.homebrew@gmail.com
82ab92a61f Erwan
-fix for issue 408 (issues with life + targetcontroller + targets on the stack)
2010-09-26 12:57:12 +00:00
solo81@web.de
04ae98466b Added the correct test.txt. 2010-09-25 22:13:03 +00:00
solo81@web.de
73e420626e Fixed several card bug reports from the forum. 2010-09-25 21:59:48 +00:00
wagic.the.homebrew@gmail.com
a6e4fba26b Erwan
- fix issue 304 (Momir + persist)
- some minor cleanup
2010-09-25 09:13:30 +00:00
wagic.the.homebrew@gmail.com
f3cc20eb31 Erwan
- Fix for issue 284 (Damage not triggering when creature dies in combat phase)
2010-09-25 05:15:09 +00:00
wagic.the.homebrew@gmail.com
a6a75af52a Erwan
- Partial fix for issue 335. This fixes the general problem of triggers not working in the case @movedTo(Battlefield) from(anywhere), but not the specific case of River kelpie not getting to draw a card after being "persisted"
2010-09-23 08:29:35 +00:00
wagic.the.homebrew@gmail.com
bba6274f8b Erwan
- fix from issue 439 (skullclamp)
- reorganized a few files in VC++ project
2010-09-23 04:46:43 +00:00
solo81@web.de
2b81ba33f2 Added 33 successfully tested cards mainly based on rev2272.
2 example cards:

[card]
name=Decree of Justice
auto=token(Angel,Creature Angel,4/4,flying,white)*XX
autohand={2}{W}:cycling
autohand={X}{W}:name(cycle and soldier tokens) && cycling && thisforeach(X) token(Soldier,Creature Soldier,1/1,white)*X
text=Put X 4/4 white Angel creature tokens with flying onto the battlefield. -- Cycling {2}{W} ({2}{W}, Discard this card: Draw a card.) -- When you cycle Decree of Justice, you may pay {X}. If you do, put X 1/1 white Soldier creature tokens onto the battlefield.
mana={X}{X}{2}{W}{W}
type=Sorcery
[/card]

[card]
name=Stormbind
auto={2}{D}:damage:2 target(creature,player)
text={2}, Discard a card at random: Stormbind deals 2 damage to target creature or player.
mana={1}{R}{G}
type=Enchantment
[/card]


Added 2 tests for the keywords introduced in rev2272.


Corrected several card bugs.
2010-09-12 17:45:59 +00:00
solo81@web.de
a417da60c7 Added a test for flashback. 2010-09-11 13:02:04 +00:00
solo81@web.de
1136cbf04f Fixed the test for Whispers of the Muse. 2010-09-11 12:21:42 +00:00
solo81@web.de
5658b1887b Readded the correct test.txt. Sorry! 2010-09-10 16:53:29 +00:00
solo81@web.de
ca50a2a5a2 Added 21 successfully cards. Most of them profit from the newly introduced keyword=AFFINITY (thanks to Zethfox!)
[card]
name=Frogmite
abilities=affinityartifacts
text=Affinity for artifacts (This spell costs {1} less to cast for each artifact you control.)
mana={4}
type=Artifact Creature
subtype=Frog
power=2
toughness=2
[/card]

Added tests for that.

Have fun!
2010-09-10 16:19:19 +00:00
solo81@web.de
7b33d8382d Added 24 successfully tested cards based on rev2243 (many thx to Zethfox!!)
This addition includes
- cards with STORM (Dragonstorm,Tendrils of Agony,etc.) --> IT'S FINALLY THERE!
- cards which restrict the casting of spells (Arcane Laboratory,Silence)
- PLATINUM ANGEL (keyword: CANTLOSE)

Added tests for STORM;LAND:number,Sneak Attack

Removed Rhox Meditant and its tests.
2010-09-06 19:48:38 +00:00
solo81@web.de
3eb8e64a3e Added 43 successfully tested cards based on rev2234 + tests. 2010-09-03 23:17:17 +00:00
solo81@web.de
d47b6fd4ec Added 66 successfully tested cards based on the last revisions. There are several cards groups in this package:
- Phantom creatures (Phantom Centaur, etc.)
- Soratami
- Cards with alternative casting cost (Force of Will) including almost all cards with EVOKE.
- Creatures which let you look at target players hand.


Added tests for several card groups.


Fixed issue148. Bloodhall Ooze works now as it should.
2010-09-01 23:37:18 +00:00
omegablast2002@yahoo.com
45f37b7545 fix windswept_heath.txt missing choice 1, added unearth support without workaround, tweaked alternative cost, added treason/sneak attack ability, added frozen. 2010-09-01 21:31:27 +00:00
omegablast2002@yahoo.com
e6769fcfe9 fixed a error in plumes_of_peace_i260.txt it was missing a "choice 1" to select the tap function. 2010-08-30 07:42:17 +00:00
solo81@web.de
327b43d209 Added the 3 missing tests from last revision. 2010-08-29 15:08:05 +00:00
solo81@web.de
4dc2e4c401 1) Added 76 successfully tested cards based on rev2220.
Card list --> first comment


2) Added 3 tests for "PREVENT:*number*".


3) Fixed issue403.
2010-08-29 15:06:39 +00:00
solo81@web.de
d67701a3b0 Added 7 successfully tested cards based on rev2209 (bloodthirst).
Added 1 test for creatures with Bloodthirst.

Removed 1 test (Tolsimir Wolfblood: This was related to a Voja workaround, which does not exist anymore!).
2010-08-28 22:11:57 +00:00
solo81@web.de
704a3018fa Added 23 cards based on rev2185. (Card list ---> first comment)
Added tests for manacost changers and TRANSFORM.
2010-08-17 23:22:00 +00:00
solo81@web.de
477439773b - Fixed the "CANTREGENERATE" keyword (by Zethfox).
The engine always handled it as "REGENERATE" and thus had to be renamed. Its new name is "CANTREGEN". It has been tested excessively by me and Zethfox. Now all cards with the former "cantregenerate" work as they should.

- I also added a test for "CANTREGEN" (Incinerate).


- Added the new keyword "FOG" (by Zethfox). 
This is an equivalent for "PREVENTALLCOMBATDAMAGE", which only worked for instants and sorceries. "Fog" works only for permanents and is used in combination with the newly introduced parameter "ONESHOT"!

- I also added 2 tests for "FOG" (Maze of Ith, Spore Frog).

Both additions lead to several issue fixes:
Fixed issue286.
Fixed issue328.
Fixed issue332.
Fixed issue416.

- Removed Demonic Torment, Gaseous Form, General's Kabuto, Sandskin. Those cards never worked and could even not be fixed with "FOG".


- Optimized the code of the dragon-lair land-cycle from PLS and added 2 tests for them.

- Added 8 successfully tested cards. Card list -> first comment.
2010-08-09 23:49:31 +00:00
solo81@web.de
a3376bf08c Added 18 successfully tested cards based on rev2155.
Card list -> first comment

- Added tests for "lifeset" (Biorhythm,Blessed Wind)

- Removed test for Hope Charm.

- Optimized all cards with life payment as activation cost or mana cost.

- Optimized all spells with a must choice.
2010-08-08 23:52:34 +00:00
leungclj
b687c6f79e re-include leveler back to _test.txt 2010-08-01 13:13:16 +00:00
leungclj
1aff826a0a test for Twinstrike, don't remember seeing card that allows targeting 2 things.
improved description on Twinstrike too.
2010-08-01 13:01:14 +00:00
wagic.the.homebrew@gmail.com
ce69e23357 Erwan
- minor fix in Zethfox cards addon (Bad lines error from parser)
- Zethfox's patch for {t(target)} as an extra Cost. Works the same way as sacrifice, check Azami, Lady of Scrolls for an example
- fixed compilation on the PSP (sorry!)
2010-08-01 03:21:59 +00:00
solo81@web.de
8159071849 Added 4 successfully tested cards with Hellbent. (card list ->> first comment)
Added 2 tests for hellbent.
2010-07-28 20:45:50 +00:00
solo81@web.de
a537522770 - Added 22 successful tested cards (card list --> first comment)
Zethfox found out that a single sacrifice cost as an addition to a normal manacost can be added to the manacost-line of a card!

Here is a code example from the famous card Natural Order (VIS):

[card]
name=Natural Order
auto=moveTo(myBattlefield) target(creature[green]|myLibrary)
text=As an additional cost to cast Natural Order, sacrifice a green creature. -- Search your library for a green creature card and put it onto the battlefield. Then shuffle your library.
mana={2}{G}{G}{s;notatarget(creature[green]|mybattlefield)}
type=Sorcery
[/card]

I tested this excessively and I have to say: This kind of code leads to absolute 100%ers.


- Added 2 tests for this to save it from being broken by future code changes.


- Removed the land cycle from Visions (Coral Atoll, everglades, etc.).
2010-07-28 18:30:16 +00:00
leungclj
7e5add2b3c Optimized code: Feral Hydra 2010-07-25 08:42:03 +00:00
leungclj
acf06d0181 rename the file, forgot to write a ticket for the issue 2010-07-17 13:42:49 +00:00
leungclj
9fb7114b43 leungclj - test for Skullclamp
When equipped creature is put into a graveyard, draw two cards.
this will also trigger if equipped creature goes else where.
2010-07-16 12:05:02 +00:00
solo81@web.de
d18dbe0ac8 Added Scute Mob.
Thanks to Zethfox!
2010-07-15 14:29:05 +00:00
leungclj@googlemail.com
cf5491a08e leungclj - "fixed" Tolsimir Wolfblood by giving the token milticolour manacost. Test included. 2010-07-12 08:01:13 +00:00
wagic.the.homebrew@gmail.com
fd8645d1a4 Erwan
- JGE updates : main accepts argv/argc. Compilation variables for MP3 and Network support
- Minor fix in Wagic (potentially fixes crashes when using activated abilities several times in onr turn. Couldn't reproduce the issue)
2010-07-11 10:56:12 +00:00
leungclj@googlemail.com
4679741c0c leungclj - Fixed Lightmine field 2010-07-03 08:30:26 +00:00
leungclj@googlemail.com
31619aad06 leungclj - fixed gravity well(ROE). test included. 2010-07-02 18:59:47 +00:00
solo81@web.de
aa33af43b8 Added Zombie Infestation.
Added a test for Zombie Infestation.


Thanks to moxen & Zethfox!
2010-06-28 16:34:24 +00:00
wagic.the.homebrew@gmail.com
5cbc8e4b4a Erwan
- fix issue 425 (Echo)
2010-06-21 12:25:38 +00:00