Commit Graph

2083 Commits

Author SHA1 Message Date
omegablast2002@yahoo.com
3b9b79bb6e fixed an issue where Ai was able to target you when you had shroud. thanks mnguyen! 2010-08-26 10:57:48 +00:00
omegablast2002@yahoo.com
20e563e5ed adjust green poison counter to only display when player poisoned. 2010-08-26 06:19:36 +00:00
omegablast2002@yahoo.com
e644aaae3a added poison support, guicounter, "infect" ability, poisonous ability. 2010-08-25 18:56:34 +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
1e4b5b356f added support for player shroud using subtype. 2010-08-22 20:17:43 +00:00
omegablast2002@yahoo.com
140200246e tweaked leylines 2010-08-22 18:23:46 +00:00
omegablast2002@yahoo.com
aa1521b613 added support for cards like leyline using subtype=leyline 2010-08-22 17:09:37 +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
69cd29e2c4 added set color artifact to the list of color you can set 2010-08-20 01:46:26 +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
3f1bc8a90e myhopes to condense the transforms code was not successful, altho test suite passed all test. 2010-08-19 11:02:36 +00:00
omegablast2002@yahoo.com
e0c523d07f rewrote transformsFOREVER to be better handled and condense previous code. 2010-08-19 01:00:03 +00:00
omegablast2002@yahoo.com
19e07a649f added support for transfroming after being moved. ie:card"raise from the grave" 2010-08-18 23:13:43 +00:00
omegablast2002@yahoo.com
5ef6091ca6 corrected an issue with types when not assigning colors using transforms 2010-08-18 13:57:56 +00:00
omegablast2002@yahoo.com
eac8afbfb8 corrected typo in card-Memnarch 2010-08-18 10:28:37 +00:00
omegablast2002@yahoo.com
af048ca230 slight tweaks to transforms( 2010-08-18 01:47:10 +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
omegablast2002@yahoo.com
251684136c daily build/included daily build eboot 2010-08-17 20:12:38 +00:00
omegablast2002@yahoo.com
8a11d818cb modified transforms( ability. mods in first comment. 2010-08-17 19:41:23 +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
omegablast2002@yahoo.com
667df139ed increase menutext char array from 25 -> 50. 2010-08-15 13:37:34 +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
linshier
8247c22ff0 Fixed loading/option-saving slowdown brought in by Chinese support to other languages. 2010-08-15 11:57:31 +00:00
linshier
4c4310ac1e Fixed a missing Chinese font bug. In the patch r2145 which introduced Chinese support, options[Options::LANG] is tested to determine which language wagic is using, while on some PSP2000 system the value would be upper case so that the code will lost itself with 'CN' option and no words will be displayed. 2010-08-15 11:50:46 +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
solo81@web.de
897114af70 Added the new zone "OPPONENTHAND" (by Zethfox).
Zethfox: "Opponenthand gui access, cards that target(*|opponenthand) can now be coded as such, target chooser will activate allowing you to click the new icon under the avatar of the opponent and open the opponents hand Gui so you may select the target card."

Cards in opponents hand are only viewable when target choosing would allow you to enter that zone! ;)


- Added the new keyword "NAME". (by Zethfox). 
When used in an autoline it replaces an autoline's "ability" text with a custom ability name. 
The basic phrase is: "auto=name(whatever you want) &&".

Example card:
[card]
name=Order of the Stars
abilities=defender
auto=choice name(white) && counter(0/0,1,White) all(this)
auto=choice name(blue) && counter(0/0,1,Blue) all(this)
auto=choice name(black) && counter(0/0,1,Black) all(this)
auto=choice name(red) && counter(0/0,1,Red) all(this)
auto=choice name(green) && counter(0/0,1,Green) all(this)
auto=this(counter{0/0.1.White}) protection from white
auto=this(counter{0/0.1.Blue}) protection from blue
auto=this(counter{0/0.1.Black}) protection from black
auto=this(counter{0/0.1.Red}) protection from red
auto=this(counter{0/0.1.Green}) protection from green
text=Defender (This creature can't attack.) -- As Order of the Stars enters the battlefield, choose a color. -- Order of the Stars has protection from the chosen color.
mana={W}
type=Creature
subtype=Human Cleric
power=0
toughness=1
[/card]

The popup window for this card will now contain a list with 

"white,"blue","black","red" and "green" 
instead of 
"ability","ability","ability","ability","ability".

This will make a lot of cards much easier to handle!


- Added 42 successfully test using one (or both) new keywords.
Card list --> First comment


Note that we did not add tests for both new keywords:
It is simply not possible to write them yet! They will follow as soon as they are possible. We guarantee that everything we submitted in this revision has been tested excessively!
2010-08-13 00:38:56 +00:00
leungclj
fb3733a947 added missing "]" to line: 18776, 33985, "(" to line 43308, ")" to line 7594, 18776, 23862, 28399, 37885. 2010-08-12 19:57:02 +00:00
leungclj
02903ec9e8 added missing "}" to line: 13005, 13006, 19169, 31385, 42935, 47481 and removed an extra ] @ line 25187 2010-08-12 15:44:23 +00:00
leungclj
083cec787b added missing "]" @ line 489 and line 6040 2010-08-12 15:08:00 +00:00
solo81@web.de
b0337db057 Fixed Giant Growth & Aether Vial. 2010-08-12 12:06:03 +00:00
wagic.laurent
54943eaf8f Laurent - added ARC, daily build, borderline.txt, modified mtg.txt added scheme_todo.dat
Added ARC (although the set does not have official abbreviation. I putted the scheme in a separate todo.dat, mainly because I'm lazy of adding all the scheme alphabetically ordered into the todo.dat. Some cards do not have official ID now I've used ID from the numbering sequence of ARC that were unusued, will provide a full list later for tracking purpose.
modified the m11 cards.dat name, otherwise it does not load correctly.
moved some cards from mtg.txt into a "borderline.txt", probably some others should be added...
Daily build
2010-08-11 22:15:10 +00:00
leungclj
50093b4cda removed the "|" from Hickory Woodlot. 2010-08-11 12:46:03 +00:00
solo81@web.de
8a72e76bcf Fixed some small typos from the last revisions
Thx to leungclj!!!
2010-08-10 11:27:50 +00:00
leungclj
15d20a4cd3 improved card description, changed a few "E" to "--" 2010-08-10 11:06:29 +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