Commit Graph

3159 Commits

Author SHA1 Message Date
solo81@web.de b336bc85d4 1) Optimized the code of 38 cards based on rev2262.
Cards with FLASHBACK are finally 100%. Here is one example to see the changes:

OLD:

[card]
name=Lava Dart
auto=damage:1 target(creature,player)
autograveyard={S(mountain|mybattlefield)}:copy(this) && moveTo(mystack)
text=Lava Dart deals 1 damage to target creature. -- Flashback - Sacrifice a Mountain. (You may cast this card from your graveyard for its flashback cost. Then exile it.)
mana={R}
type=Instant
[/card]


NEW:

[card]
name=Lava Dart
target=creature,player
auto=damage:1
flashback={S(mountain|mybattlefield)}
text=Lava Dart deals 1 damage to target creature. -- Flashback - Sacrifice a Mountain. (You may cast this card from your graveyard for its flashback cost. Then exile it.)
mana={R}
type=Instant
[/card]


2)Added 21 successfully tested cards based on rev2262. Most of these cards have BUYBACK.


Tests for both keywords will follow in one of the next revisions.
2010-09-10 22:13:41 +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
leungclj 1f01b10010 leungclj - corrected "Leyline of Vitality" description. 2010-09-07 09:14:03 +00:00
omegablast2002@yahoo.com 00453513fa added phage the unstoppable, removed phage from my addon, this version uses no counter, tokens, or workarounds :) 2010-09-06 23:13:06 +00:00
omegablast2002@yahoo.com 8ba887689e readded Rhox Meditant please read comment 2010-09-06 22:42:21 +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
omegablast2002@yahoo.com 972e7d7207 fixed dragonsoul knight's and its variants, it will now correctly give a P/T bonus. 2010-09-04 08:59:33 +00:00
solo81@web.de 3eb8e64a3e Added 43 successfully tested cards based on rev2234 + tests. 2010-09-03 23:17:17 +00:00
omegablast2002@yahoo.com ea1b538882 fixed strenght of night, it was coded incorrectly. 2010-09-03 11:27:28 +00:00
linshier c7fc2b934d Cleaned up addition parsing works in general language file loader, only the language file for deck description now can control where a line ends by using '@' ('@' is translated into '\n' in the memory). 2010-09-02 07:49:41 +00:00
omegablast2002@yahoo.com 7d61e0693e removed draw:1 controller from card "lay bare" 2010-09-02 01:33:09 +00:00
omegablast2002@yahoo.com 7ead8eae9a fixed a typo in the mtg.txt 2010-09-02 01:30:01 +00:00
omegablast2002@yahoo.com 8b205c741f changed Lichenthrope, that ability was renamed to wilting 2010-09-02 01:26: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 498967ec66 added virulent sliver 2010-08-31 17:41:08 +00:00
omegablast2002@yahoo.com 527eb9d8f1 Chainer,Dementia Master added 2010-08-31 01:46:15 +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
wagic.jeck 33d0577366 Jeck - Removed redundant Jade theme. To use Jade, select Gemstones and set style to Jade instead of Dynamic. 2010-08-28 11:03:24 +00:00
wagic.jeck 8114944db9 Jeck - Added theme substyles, which are chosen dynamically based on the player's deck composition. Also added lazy unit test for booster packs, though there should be a better way to framework this. 2010-08-28 10:51:38 +00:00
omegablast2002@yahoo.com 24ae404c3a player requested "bazaar trader" allow yourself as a target also. 2010-08-27 13:27:02 +00:00
omegablast2002@yahoo.com 3bda949ad5 fixed all "cohort" creatures, they were giving thier bonus "for each" colored creature matching the aslongas. 2010-08-27 11:22:48 +00:00
solo81@web.de a856d2908e Added 4 cards based on rev2206.
Fixed several card bugs.

Added some missing info to some sets.
2010-08-26 23:11:13 +00:00
omegablast2002@yahoo.com a9850317ff added leyline of meek, Anticipation. [token] WORKS!!! ive mentioned before. 2010-08-24 01:44:53 +00:00
solo81@web.de e59b883011 Added 8 cards based on the last 2 revisions.
Added 4 additional successfully tested cards.


Card list --> first comment
2010-08-23 23:06:44 +00:00
omegablast2002@yahoo.com d31a7f74d4 fixed identity crisis 2010-08-22 11:18:33 +00:00
omegablast2002@yahoo.com 70ec1d4c8c added turnabout, with the new parser tools its 100% now. 2010-08-21 22:40:10 +00:00
omegablast2002@yahoo.com d111614a41 optimized a few cards to use name(..i hate ability ability ability as menus D: 2010-08-21 22:34:49 +00:00
solo81@web.de a28b3fd708 Added 51 successfully tested cards. Most of these cards profit from the latest additions. Card list --> first comment 2010-08-21 21:33:58 +00:00
omegablast2002@yahoo.com 6ce502f88c misinformations 3'rd return was missing a type= 2010-08-20 00:11:30 +00:00
omegablast2002@yahoo.com 0f34b88d08 added card Ashnod's Transmogrant 2010-08-19 11:10:25 +00:00
omegablast2002@yahoo.com eac8afbfb8 corrected typo in card-Memnarch 2010-08-18 10:28:37 +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 5d42bfa88f 1) Added a support for MANACOST CHANGING cards. (by Zethfox)
Two example codes:

[card]
name=Alabaster Leech
auto=lord(*[white]|myhand) white:+1
autoexile=all(*|myhand) resetcost
autograveyard=all(*|myhand) resetcost
autohand=all(*|myhand) resetcost
autolibrary=all(*|myhand) resetcost
text=White spells you cast cost {W} more to cast.
mana={W}
type=Creature
subtype=Leech
power=1
toughness=3
[/card]

[card]
name=Helm of Awakening
auto=lord(*|myhand) colorless:-1
auto=lord(*|opponenthand) colorless:-1
autoexile=all(*|myhand) resetcost
autograveyard=all(*|myhand) resetcost
autohand=all(*|myhand) resetcost
autolibrary=all(*|myhand) resetcost
text=Spells cost {1} less to cast.
mana={2}
type=Artifact
[/card]

autoexile=all(*|myhand) resetcost
autograveyard=all(*|myhand) resetcost
autohand=all(*|myhand) resetcost
autolibrary=all(*|myhand) resetcost

----> This code section is necessary, because manacost altering cards will keep their effect even when they have left the battlefield. RESETCOST erases all alterations which have no existing source on the battlefield anymore.


2) Added the new keyword TRANSFORM, which is similar to BECOMES. The main difference is that you can change single parameters of a permanent (color,type,...).

Example codes:

[card]
name=Memnarch
auto={1}{U}{U}:target(*) transforms(artifact)
auto={3}{U}:moveTo(myBattlefield) target(arifact)
text={1}{U}{U}: Target permanent becomes an artifact in addition to its other types. (This effect lasts indefinitely.) -- {3}{U}: Gain control of target artifact. (This effect lasts indefinitely.)
mana={7}
type=Legendary Artifact Creature
subtype=Wizard
power=4
toughness=5
[/card]

[card]
name=Dralnu's Crusade
auto=lord(goblin) 1/1
auto=lord(goblin) transforms(zombie,black)
text=Goblin creatures get +1/+1. -- All Goblins are black and are Zombies in addition to their other creature types.
mana={1}{B}{R}
type=Enchantment
[/card]

Important notes concerning TRANSFORM:
- IF YOU TARGET A CREATURE THE EFFECT IS PERMINENT.
- IF YOU TARGET THE SOURCE THE EFFECT IS UNTIL END OF TURN. 
- IF YOU USE LORD THE EFFECT LAST TIL PERMINENT SOURCE LEAVES PLAY.

These restrictions will probably be changed in the near future!


3) Added 57 successfully tested cards.
Card list ---> first comment


4) Changed the name of several tokens: "()" used to cuase crashes when used in the name-line.


5) Added the new keyword NONBATTLEZONE for leaves play trigger optimizing. It can be used to replace the phrase "EXILE,GRAVEYARD,HAND,LIBRARY".

I will add tests for test suite in one of the next revisions!!



####### TEST SUITE PROVEN ########
2010-08-17 00:23:48 +00:00
linshier e8431047de Fixed some of tools/neofont generation code to make neofont a monospace one. 2010-08-15 12:40:27 +00:00
linshier 14f2b6288a Added a new feature for Chinese support: using icons to display the mana cost in the rule description. Updated the Chinese language file for more cards' tranlation and the case fixing like 'Konda Lord of Eiganjo'. 2010-08-15 12:13:48 +00:00
solo81@web.de 6b680cd041 Fixed Boggart Birth Rite. 2010-08-14 20:03:57 +00:00
solo81@web.de 7aebe54107 Fixed Blood Rites (missing ")" ). 2010-08-14 19:55:37 +00:00
solo81@web.de 2c0867ea0c Added 6 cards (card list --> first comment).
All these cards are creatures which have a certain effect when being cast ("played" from owners hand).

Their code profits from the fact that KICKER is not optional in Wagic: This means that whenever you are able to pay Myojin's kicker cost for example (in this case it is {0} --> rate: 100%), it will enter the battlefield with a Divinity counter on it.
- Myojin won't get the Divinity counter
----> when brought into play from the hand with cards like Elvish Piper.
----> when brought into play from any other zone.
2010-08-14 17:58:48 +00:00
solo81@web.de eb22a5f543 Added "From the Vault: Relics" (FVR).
This small set includes one new card, Sword of Body and Mind, which will also be in the upcoming "Scars of Mirrodin".
2010-08-14 17:08:16 +00:00
solo81@web.de 78af5386b3 Fixed almost 40 card coding errors posted by 840126. 2010-08-14 10:13:07 +00:00
omegablast2002@yahoo.com 41fd255990 fixed confirmed bug with Bramblewood Paragon 2010-08-14 04:30:01 +00:00
omegablast2002@yahoo.com 815ce90942 fixed Chronozia crash , door to nothing added auto=tap 2010-08-14 04:14:12 +00:00
omegablast2002@yahoo.com a83610b347 Optimizted coding for 2 card. cards in first comment 2010-08-14 01:50:30 +00:00
omegablast2002@yahoo.com f7fb6b8b82 2010-08-14 01:35:47 +00:00
wagic.laurent 8fb8dc2b69 Laurent - small correction to ARC - Daily build 2010-08-14 00:10:56 +00:00