Commit Graph

2117 Commits

Author SHA1 Message Date
wagic.the.homebrew
c633dc805f - Adding "connected cards" color rendering
- Made "booster" check mod-dependent in test suite
2011-09-23 07:24:24 +00:00
solo81@web.de
83cdf5c151 1) Removed all "{0}" from the upcost bracket of all cards with Echo. Once it was needed to work around a bug, but now that the bug is fixed.
2) Updated all {X}-spells with x targets. They are using "prex" instead of "x" now. Their code is now completely   
following the official rules.

3) Changed the code of most cards which search your library for a land card and put it onto the battlefield tapped.
They are using "and((tap))" now. More cards will be changed to that in upcoming revisions.

4) Added 2 tests to save "prex".
2011-09-22 23:34:11 +00:00
wagic.the.homebrew
ee4c7e23bd - fixed memory leaks introduced in previous revision
- removed incorrect casts of MTGCardInstance into Spell objects.
- AI Test system now allows you to put decks in ai/bakaA and ai/bakaB instead of ai/baka. This allows to let AIPlayerBaka and AIPlayerBakaB play with specific decks
- Test suite speed improvement. Improved the card name cache. Test suite now runs in 850 seconds instead of 950 on my machine.
- minor code cleanup
2011-09-22 04:43:05 +00:00
omegablast2002@yahoo.com
997b154d46 volcanic eruption updated to use prex 2011-09-21 20:28:01 +00:00
guzhenjie1@gmail.com
5abc1293ce Corrected Crumbling Colossus. 2011-09-18 15:52:44 +00:00
omegablast2002@yahoo.com
2b8d174bfa Reveillark updated 2011-09-18 06:58:29 +00:00
guzhenjie1@gmail.com
0fd6b8caae Corrected Guardians' Pledge, Osai Vultures, Quietus Spike and Squall Drifter. 2011-09-13 12:56:10 +00:00
omegablast2002@yahoo.com
c39c94c71a commented out puresteels ability. 2011-09-13 05:06:10 +00:00
omegablast2002@yahoo.com
3c7a6abbeb changed avatar of discord to a better version. 2011-09-12 18:40:33 +00:00
omegablast2002@yahoo.com
0e52a20b8b heres a shocker, first time ever...zeth removes a card from wagic supported....
puresteel paladin...removed from supported...added to unsupported. 
I have no idea why, but this card has cause a surge of completely different bug reports, crashes, strange interactions between cards, you name it...im surprised we didn't receive a report that it caused someone dog to die of heartworms....

anyways if i find some time, i will debug this pandora's box of a code and see why exactly it causes such strange difficult to reproduce bugs.
2011-09-12 15:41:44 +00:00
guzhenjie1@gmail.com
e453cfadd7 Corrected Tezzeret's Gambit. 2011-09-12 08:07:23 +00:00
solo81@web.de
70208685f1 Optimized the card code of Merfolk Looter and 15 similar cards.
Now they no longer need a token workaround, but work as cards on their own.
2011-09-11 22:25:29 +00:00
solo81@web.de
e9f16d371b Card text update. -- The phrase "is put into a graveyard from battlefield" has been officially changed to "dies" a relatively long time ago.
This change does only affect creatures. Non-creature permanents keep the old wording.
2011-09-11 21:44:32 +00:00
solo81@web.de
fc52b31326 Added 15 tests to secure the latest card code package for future changes. 2011-09-11 16:07:33 +00:00
omegablast2002@yahoo.com
89d6936eb0 Shimian Specter....aparently everyone on the forums uses this card. 2011-09-11 08:03:57 +00:00
omegablast2002@yahoo.com
cabd82e736 there was a set of bad chars infront of the grade in unsupported.txt that was causing it to load the cards. 2011-09-09 17:28:39 +00:00
solo81@web.de
3b073f863f Added 3 that should have been part of my last commit. 2011-09-06 23:13:55 +00:00
guzhenjie1@gmail.com
95d6fa297a Corrected Mycoloth and Nantuko Cultivator. 2011-09-06 13:47:14 +00:00
omegablast2002@yahoo.com
df4aa9f6c2 changed gemhide sliver to a better version. thanks kevlahnota 2011-09-04 05:42:05 +00:00
omegablast2002@yahoo.com
42e10cd233 fixed typo in harrow. 2011-09-04 05:31:01 +00:00
wagic.the.homebrew
bc3250fadc - Added 493 missing cards in unsupported.txt, removed some duplicates from unsupported that have since then been coded
-- Most of the added cards are from recent sets and unhinged.
- removed Cinder Seer from Borderline as it seems a more accurate version is in crappy


*** Removed from unsupported.txt because they also exist in other files:
Ancient Ooze was in supported files but also in unsupported ones
Blood Moon was in supported files but also in unsupported ones
Custody Battle was in supported files but also in unsupported ones
Deglamer was in supported files but also in unsupported ones
Flourishing Defenses was in supported files but also in unsupported ones
Fylgja was in supported files but also in unsupported ones
Glowering Rogon was in supported files but also in unsupported ones
Magus of the Unseen was in supported files but also in unsupported ones
Mana Chains was in supported files but also in unsupported ones
Mana Echoes was in supported files but also in unsupported ones
Melira's Keepers was in supported files but also in unsupported ones
Nullmage Advocate was in supported files but also in unsupported ones
Orim's Thunder was in supported files but also in unsupported ones
Overwhelming Instinct was in supported files but also in unsupported ones
Preeminent Captain was in supported files but also in unsupported ones
Protean Hydra was in supported files but also in unsupported ones
Renewing Touch was in supported files but also in unsupported ones
Renounce was in supported files but also in unsupported ones
Riptide Survivor was in supported files but also in unsupported ones
Rise from the Grave was in supported files but also in unsupported ones
Sky Hussar was in supported files but also in unsupported ones
Tatterkite was in supported files but also in unsupported ones
Tidal Warrior was in supported files but also in unsupported ones
Twigwalker was in supported files but also in unsupported ones
Wu Scout was in supported files but also in unsupported ones
2011-09-03 09:23:41 +00:00
guzhenjie1@gmail.com
79546bb00a Corrected Reality Spasm and Slithery Stalker.
Corrected name of Oros the Avenger and Teneb the Harvester in CMD card.dat
2011-09-02 13:18:11 +00:00
solo81@web.de
e296e0c381 Added 222 cards based on rev3869 (thanks to Zeth!) and months of play-testing.
Examples:

# COUNTER-MOVING CARDS #

[card]
name=Ghave, Guru of Spores
auto=counter(1/1,5)
auto={1}{C(1/1,-1),creature|mybattlefield}:token(Saproling,Creature Saproling,1/1,green)
auto={1}{S(creature|mybattlefield}:counter(1/1,1) target(creature)
text=Ghave, Guru of Spores enters the battlefield with five +1/+1 counters on it. -- {1}, Remove a +1/+1 counter from a creature you control: Put a 1/1 green Saproling creature token onto the battlefield. -- {1}, Sacrifice a creature: Put a +1/+1 counter on target creature.
mana={2}{B}{G}{W}
type=Legendary Creature
subtype=Fungus Shaman
power=0
toughness=0
[/card]

# IF...THEN #

[card]
name=Goblin Goon
auto=@each my attackers:if type(creature|opponentbattlefield)~morethan~type(creature|mybattlefield) then transforms((,cantattack)) ueot
auto=@each my blockers:if type(creature|opponentbattlefield)~morethan~type(creature|mybattlefield) then transforms((,cantblock)) ueot
text=Goblin Goon can't attack unless you control more creatures than defending player. -- Goblin Goon can't block unless you control more creatures than attacking player.
mana={3}{R}
type=Creature
subtype=Goblin Mutant
power=6
toughness=6
[/card]

[card]
name=Pulse of the Tangle
auto=token(Beast,Creature Beast,3/3,green)
auto=if type(creature|opponentbattlefield)~morethan~type(creature|mybattlefield) then moveto(myhand)
text=Put a 3/3 green Beast creature token onto the battlefield. Then if an opponent controls more creatures than you, return Pulse of the Tangle to its owner's hand.
mana={1}{G}{G}
type=Sorcery
[/card]

# MULTIKICKER #

[card]
name=Joraga Warcaller
auto=kicker counter(1/1,kicked)
kicker=multi{1}{G}
auto=thisforeach(counter{1/1.1}) lord(other elf|myBattlefield) 1/1
text=Multikicker {1}{G} (You may pay an additional {1}{G} any number of times as you cast this spell.) -- Joraga Warcaller enters the battlefield with a +1/+1 counter on it for each time it was kicked. -- Other Elf creatures you control get +1/+1 for each +1/+1 counter on Joraga Warcaller.
mana={G}
type=Creature
subtype=Elf Warrior
power=1
toughness=1
[/card]

# PROLIFERATE #

[card]
name=Contagion Clasp
auto=counter(-1/-1,1) target(creature)
auto={4}{T}:target(proliferation) proliferate
text=When Contagion Clasp enters the battlefield, put a -1/-1 counter on target creature. -- {4}, Tap: Proliferate. (You choose any number of permanents and/or players with counters on them, then give each another counter of a kind already there.)
mana={2}
type=Artifact
[/card]

# MULTI-TARGET #

[card]
name=Argothian Elder
auto={T}:target(<2>land) untap
text={T}: Untap two target lands.
mana={3}{G}
type=Creature
subtype=Elf Druid
power=2
toughness=2
[/card]

[card]
name=Aven Augur
abilities=flying
auto={S}:target(<upto:2>other creature) moveTo(ownerhand) myUpkeepOnly
text=Flying -- Sacrifice Aven Augur: Return up to two target creatures to their owners' hands. Activate this ability only during your upkeep.
mana={3}{U}
type=Creature
subtype=Bird Wizard
power=2
toughness=2
[/card]

[card]
name=Bone Harvest
target=<anyamount>creature|mygraveyard
auto=moveTo(mylibrary)
auto=@next upkeep:draw:1 controller
text=Put any number of target creature cards from your graveyard on top of your library. -- Draw a card at the beginning of the next turn's upkeep.
mana={2}{B}
type=Instant
[/card]

Test suite tests will follow on weekend.

Have fun!
2011-09-01 21:06:45 +00:00
guzhenjie1@gmail.com
67bbaa8f06 Corrected Hystrodon. 2011-08-25 12:14:30 +00:00
guzhenjie1@gmail.com
14bd7b7a24 Corrected Galepowder Mage. 2011-08-16 15:35:32 +00:00
guzhenjie1@gmail.com
b2f1252e50 Corrected Puresteel Paladin. 2011-08-11 15:44:17 +00:00
guzhenjie1@gmail.com
22305c2d27 Added missed subtype of Greatsword, Kite Shield and Swiftfoot Boots. 2011-08-05 16:47:23 +00:00
omegablast2002@yahoo.com
bcfc790cda fixed a typo in the rules, it works in current tho i imagine this could have been the cause of a couple wonky problems.
we created lord target chooser with "mountains" instead of "mountain"<--actual land name.
2011-08-05 09:38:28 +00:00
guzhenjie1@gmail.com
af18fb0172 Corrected mana cost of Personal Sanctuary. 2011-08-03 13:01:03 +00:00
guzhenjie1@gmail.com
32a5b7bb92 Corrected rarity of Thran Golem and Throne of Empires. 2011-08-01 15:21:53 +00:00
wagic.the.homebrew
fe4b0a11e3 - JP Translation update by Shilf
- put tutorials back in Rules/classic, to help debugging the bug with controls
2011-07-30 03:38:39 +00:00
wagic.the.homebrew
794be140ce - graphical representation of counters. see graphics/counters/quest.jpg for an example
- rewrote some code dealing with text formatting for a card when rendering in text mode. I could swear my code has been reverted. If somebody has good reason to believe we should re-process the string formatting on every frame, please let me now. I believe my change can help rendering speed of text mode a lot.
- counters change to vector instead of array
2011-07-29 17:43:45 +00:00
omegablast2002@yahoo.com
a26125ee4c readded arbor elfs ability. 2011-07-26 17:23:01 +00:00
omegablast2002@yahoo.com
c1ac119af5 fixed dark depths with while tag. 2011-07-26 16:39:50 +00:00
omegablast2002@yahoo.com
1f049bdd0c caribou range fixed...typo in the cost...please test cards before adding them, it is very obvious that cards are being added without so much as testing their abilities when i have done 6 typo fixes since release...typos that deemed the card completely un-usable...such as caribou range which would sacrifice the enchantment if you wanted to gain a life. 2011-07-26 15:29:02 +00:00
omegablast2002@yahoo.com
8c99022deb corrected fresh meat, tho it still has a problem...currently we don't keep a count of token creatures that went to the grave...i might look into it later on, tho very very very few cards actually care about this....so if it requires too much code impact, then it will remain simply counting the cards which exist in the grave. 2011-07-26 15:22:42 +00:00
omegablast2002@yahoo.com
c52b8b6983 Reveillark fix...since apparently everyone is reporting this....
if you are going to use the trigger + ability from trigger effect...make sure you create the trigger before you remove the card from play...otherwise the trigger never gets a chance to see it's source leaving play.
2011-07-26 15:14:37 +00:00
omegablast2002@yahoo.com
42d2ff8661 removed a typo in "dark depths" 2011-07-23 11:14:45 +00:00
omegablast2002@yahoo.com
691914247f updated the kicker workaround into real support...kicker workaround for "if casted" should not be needed any longer...
fixed binding grasp text.
2011-07-23 10:37:27 +00:00
guzhenjie1@gmail.com
48fe3251ce Corrected a typo of Goblin Tunneler. 2011-07-22 16:28:29 +00:00
guzhenjie1@gmail.com
41474ae6f7 Corrected a typo of Maelstrom Djinn.
Corrected three typo and added two missed cards in M12 card.dat.
2011-07-22 14:38:16 +00:00
Xawotihs
49944b629d Commit the 0.16.0 version without tutorials activated 2011-07-20 20:28:44 +00:00
omegablast2002@yahoo.com
e080b59db9 fixed the bringers of dawn...fixed avatar of fury... 2011-07-20 18:41:37 +00:00
omegablast2002@yahoo.com
262c31b708 fixed fresh meat, and umbral mantle 2011-07-18 13:14:52 +00:00
solo81@web.de
d81afa93c5 Corrected Giant Shark. 2011-07-15 13:24:40 +00:00
guzhenjie1@gmail.com
9f80620f0a Corrected Sky Swallower. 2011-07-14 14:12:11 +00:00
guzhenjie1@gmail.com
69e55dfcbf Corrected Decree of Justice. 2011-07-13 13:43:47 +00:00
wagic.the.homebrew
d834d20c24 Fixed an incorrect card line the game was complaining about 2011-07-13 13:16:22 +00:00
wagic.the.homebrew
a44cd87ca3 Adding Kaio's latest wallpaper 2011-07-13 13:12:54 +00:00
omegablast2002@yahoo.com
7775a1e39f bringer of the red dawn:changed test to include a clean up step 2011-07-12 17:10:23 +00:00