Commit Graph

3335 Commits

Author SHA1 Message Date
guzhenjie1@gmail.com
737de5f4de Corrected Dingus Staff and Shoreline Salvager.
Updated Ohran Viper.
2011-04-02 16:51:59 +00:00
guzhenjie1@gmail.com
9fb40001a7 Updated Angelic Renewal. 2011-04-02 16:36:30 +00:00
guzhenjie1@gmail.com
feae8656a7 Corrected Opaline Bracers and text of Suntouched Myr.
Updated Infused Arrows.
2011-04-02 15:03:07 +00:00
wagic.the.homebrew@gmail.com
17f90bce66 Reduced size of Christmas theme preview, in the hope to minimize crashes on the PSP in the user settings page 2011-04-02 07:58:39 +00:00
omegablast2002@yahoo.com
fb3aac32ee sygg, river cutthroat p/t were incorrect...was 2/2...correct 1/3 2011-04-01 18:54:15 +00:00
omegablast2002@yahoo.com
155b909bfd had to add this eff return becuase ai suddenly became retarded with the addition "teach" and the use of auras. 2011-04-01 18:36:36 +00:00
guzhenjie1@gmail.com
5f3018d6fa Corrected Karn, Silver Golem.
Updated Karn's Touch, Spawning Pool and Stalking Stones.
2011-04-01 16:24:12 +00:00
omegablast2002@yahoo.com
89dcf9600f wormfang drake added oneshot. 2011-04-01 12:57:00 +00:00
omegablast2002@yahoo.com
14e4775d54 cleaned up the alias change i made earlier today. 2011-04-01 11:14:06 +00:00
omegablast2002@yahoo.com
84234999af corrected diamond valley code 2011-04-01 10:57:31 +00:00
guzhenjie1@gmail.com
b27967170b Fixed Prismatic Lace 2011-03-31 22:45:54 +00:00
omegablast2002@yahoo.com
750f9c89cf removed un-need .c_str() call. 2011-03-31 17:24:49 +00:00
omegablast2002@yahoo.com
dba143983c fixed wall of root and found a engine limitation....if a mana producer needs to have a "limit:number" then you NEED to have "all(this)" before it as follows for example
auto={C(-0/-1,1)}:all(this) Add{G} limit:1
other wise it parsed as a non=activated ability, don't worry tho, i change activated manaproducers a long time ago so that they dont use the stack, so all this will do is enable using "limit:"...
2011-03-31 17:16:21 +00:00
omegablast2002@yahoo.com
2277e9906b updated the card creating this effect "it can attack as though it didn't have defender" to use "canattack" 2011-03-31 16:44:43 +00:00
omegablast2002@yahoo.com
dbc5376135 added "abilities=canattack"
Warmonger's Chariot
6/15/2010: The second ability doesn't cause the equipped creature to lose defender. It just lets it attack.
2011-03-31 16:39:28 +00:00
omegablast2002@yahoo.com
f5c3f76f0b updated soft codes for the hard coded cards removed from svn. 2011-03-31 16:17:11 +00:00
omegablast2002@yahoo.com
3789c947a3 had to update this test since the hard coded living artifact was actually incorrect. 2011-03-31 16:16:09 +00:00
omegablast2002@yahoo.com
476a74340a little bit of hard code clean up, soft coded the following cards and removed thier hard codes
Angelic Chorus
Lavaborn Muse
Pestilence
Living Artifact
Hypnotic Specter
there is test for each of these.
btw living artifact hard code was wrong, it was allowing you to remove counters at any phase, the soft code is actually correct. updated living artifact test to the correct version in next rev
also fixed a case where "thatmuch" was never set, i now also store the amount on the source of the trigger as well.
2011-03-31 16:15:30 +00:00
omegablast2002@yahoo.com
6572a11848 changed the way aliases set id.
the old method was fine when wagic only supported 200 cards, this is so far from the case now. this will avoid bugs being introduced when we add support for a card in soft code.
what this was essentially doing was it would load every set but the hardcode card as soft code, and if you used the card which was originally hard coded, you get a bug where soft and hard code are both loaded.
2011-03-31 14:50:44 +00:00
omegablast2002@yahoo.com
eb010093fe code change for life and limb,
auto=lord(*[saproling;forest]) transforms((saproling forest creature land,setpower=1,settoughness=1,newability[{t}:add{g}]))

this is close enough for me, its 99% correct in my books, you can declare either forest and saprolings as attackers, target them as thier respective new types, the only thing that is not correct about it is that they can tap for mana the turn they come into play, however they have summoning sickness and can not attack.

im am not going to change the attack/block rules or manaproducer reactToClick just to satisfy this bug in the only card in MTG that does this.
2011-03-31 13:50:48 +00:00
guzhenjie1@gmail.com
1b77a78cc7 Fixed a typo in Ronin Warclub and text of Sphere of the Suns. 2011-03-31 12:46:13 +00:00
wrenczes@gmail.com
8add655df7 Formatting cleanup, modified a function to pass by const reference. 2011-03-31 11:08:58 +00:00
wrenczes@gmail.com
64d421b8b8 Fixed a namespace collision that was causing compile errors in VS2010. bind() was being interpreted as std::bind(), not the winsock bind() call. 2011-03-31 11:07:50 +00:00
wrenczes@gmail.com
e7f2ae4e6e Added a Boost::recursive_mutex variant to the threading support. Also bumped up the default stack size of a worker thread to 256K, and moved the thread priority slightly down as 0x12 is pretty aggressive for a default value. 2011-03-31 10:37:41 +00:00
wagic.the.homebrew@gmail.com
3c691b6741 - Fix for issue 614 (removed hardcoded Howling Mine)
- Fix for issue 615 (Linux/PSP compilation error)
2011-03-31 09:38:04 +00:00
omegablast2002@yahoo.com
27c9391876 added Goatnapper 2011-03-31 00:05:19 +00:00
omegablast2002@yahoo.com
d47a31ca47 i keep adjusting this sorry! changed it to a rfind instead, to more correctly build a newability. 2011-03-30 23:57:52 +00:00
omegablast2002@yahoo.com
728410743f removing empty entries from newabilitieslist. 2011-03-30 23:36:48 +00:00
omegablast2002@yahoo.com
792357b36d string was sending an extra char. 2011-03-30 22:22:40 +00:00
omegablast2002@yahoo.com
257de9962a just cleaning up a memleak i created, moving the parsing of the "newability" in transforms into the resolve rather then creating an object that might not be used. 2011-03-30 22:10:45 +00:00
omegablast2002@yahoo.com
3f39b19c87 fix wrap in vigor,
all(creature|mybattlefield) regenerate
this code works, please do not remove the card again. i added this card once before.
2011-03-30 20:16:43 +00:00
omegablast2002@yahoo.com
4ef328890d more MTGToDO clean up and added:
Endless Scream
Everflowing Chalice
Evolution Vat
Gemini Engine
2011-03-30 19:54:39 +00:00
omegablast2002@yahoo.com
6881787d7d moved parsing of the power and toughness for token gen into the resolve. 2011-03-30 19:25:48 +00:00
omegablast2002@yahoo.com
cba0c1218f slight adjustments to transforms parsing to allow for newability to also be a transforms. xx wasnt being set in a couple cases, removed the space i added to the 3 variables so they can be anywhere in the line. 2011-03-30 17:45:05 +00:00
guzhenjie1@gmail.com
8557e441b0 Fixed Goblins of the Flarg, Spawning Pool and Waterspout Djinn.
Fixed typo in Moonlace, Sensei Golden-Tail and Spike Tiller.
Updated Jeweled Spirit and Recurring Nightmare.
2011-03-30 14:39:00 +00:00
omegablast2002@yahoo.com
d38fd0afbd Mwonvuli Ooze was only giving 1/1 per age counter. 2011-03-30 14:34:00 +00:00
omegablast2002@yahoo.com
13e5bdb754 Yore-Tiller Nephilim changed it from *|mygraveyard ====> creature|mygraveyard 2011-03-30 13:51:40 +00:00
omegablast2002@yahoo.com
86a69c869f cleaned up TODO.txt a bit...found some missed gems in there :D
Temporary Insanity
Tower of Coireall
Tower of the Magistrate
Transguild Courier
Unified Strike
Vampiric Sliver
Verdeloth the Ancient
Veteran's Voice
Warbreak Trumpeter
Waterspout Djinn
Weight of Spires
Wild Growth
Withering Wisps
Wrap in Vigor
Yore-Tiller Nephilim
Zirilan of the Claw
Zombie Mob
2011-03-30 04:17:19 +00:00
omegablast2002@yahoo.com
a645b06433 tiny change, just changed a line to allow ninjutsu to be targeted. 2011-03-30 04:13:28 +00:00
omegablast2002@yahoo.com
948dd212a8 "xx" value wasnt being set if used in activated abilities. >:( why do i need to find out WAY later about these thing. i know someone has come across it becuase there was a morph card which uses {x}{x} that wasnt added because of it. 2011-03-30 03:11:06 +00:00
omegablast2002@yahoo.com
63979190cd revised "type:" variable in card code to use new syntax.
added a few new cards i found along the way:
Ersatz Gnomes
Extravagant Spirit
Ghastly Demise
Ghostfire
Moonlace

color "artifact" is actually colorless, it does not add the subtype artifact to cards.
2011-03-30 01:04:01 +00:00
omegablast2002@yahoo.com
d25424cb6c 3 changes
1st 
had to revise the syntax for my "type:" variable it is now type:blah:location, using the pipe line created nasty returns in some combinations of abilities as the parser confused the pipeline in type: with the one in TC.
2nd
more of a correction then a bug fix, i noticed that upcost had instances where it could still trigger its effect in the draw phase becuase the condiational for the ability resolve was in the update, i left the class mostly untouched but move the resolve out of update and into a receiveEvent for upcost, which triggers only once after you declared that you are leaving the upkeep before draw step begins.
3rd
reworked the construction of multiability to only produce a single multiability with all the abilities in the string instead of nested multiabilities, it is considerabily easier to debug and creates 1/3 less objects for the engine to deal with in comparison to the old method.
2011-03-30 01:01:11 +00:00
omegablast2002@yahoo.com
696237310f Tomb of Yawgmoth removed un-needed lord ability. 2011-03-29 21:32:26 +00:00
omegablast2002@yahoo.com
64e42d2570 removed an autoline that snuck in on lotus petal. 2011-03-29 20:31:59 +00:00
omegablast2002@yahoo.com
37e4ba11c0 updated transforms code to use double bracketing.. transforms((effect))...to avoid errors while parsing the ability. 2011-03-29 20:28:57 +00:00
omegablast2002@yahoo.com
f0d104363f first moved regenerate lower on the parser, 2nd fixed an unforeseen bug with the newability subkeyword and the parser, i now store the string value of the transforms ability and remove it from the main string until transforms is parsed, if I leave it during the whole parsing any ability listed above transforms will not work correctly when granted with this ability.
also noticed issues with transforms parsing which i was able to easily correct by making it parse transforms in double brackets, transforms((effects))...updated primitive in next revision.
test suite passes, and varified that the fix doesn't effect how "&&" ability works with transforms.
2011-03-29 20:28:03 +00:00
guzhenjie1@gmail.com
827360d226 Reverted Otherworldly Journey and updated Spawning Pool by using Zeth's new code. 2011-03-29 14:35:20 +00:00
omegablast2002@yahoo.com
54b370db4e reverted the change to the prevent damage cycle of cards. there is a reason they use prevent: instead of "preventalldamage"..for starters "preventalldamage" never worked for permanents which is why i created "fog" 2nd prevent: recreates this cycles ability far better. in the terms of not having strange edge cases where it doesnt work correctly, like that which is seen in preventalldamage.
[card]
name=Spore Frog
auto={S}:fog oneshot
text=Sacrifice Spore Frog: Prevent all combat damage that would be dealt this turn.
mana={G}
type=Creature
subtype=Frog
power=1
toughness=1
[/card]

as we all remember spore frog was originally a issue ticket, preventalldamage was not working in all cases, or the effect stuck permanently.

as general advice, a card is "supported" if it is atleast 99% correct. this change was un merited as they showed no issues and had no tickets open.

and i know im not to "revert" anyones changes, but it will be MY email box that gets hit with 5 new bug reports concerning these cards. and i just don't have time to mess around with things that were a nonissue.
2011-03-29 12:48:16 +00:00
guzhenjie1@gmail.com
3c891ee271 Changed following cards to use "notatarget" instead of "target".
Boggart Mob
Changeling Berserker
Changeling Hero
Changeling Titan
Lightning Crafter
Mistbind Clique
Nova Chaser
Supreme Exemplar
Unstoppable Ash
Wormfang Drake
Wren's Run Packmaster

Updated following cards using new code "while".
Goblins of the Flarg
Last Laugh
Ronom Serpent
Skeleton Ship
Synod Centurion
Tethered Griffin

Updated following cards with code "prevent:999" to "preventalldamage".
Divine Light
Endure
Ethersworn Shieldmage
Safe Passage
Trained Pronghorn
2011-03-29 11:00:39 +00:00
guzhenjie1@gmail.com
07679c6205 Fixed following cards:
Artifact Ward
Balduvian Horde
Champion Lancer
Cho-Manno, Revolutionary
Desert Nomads
Forfend
Ghostly Wings
Glacial Chasm
Glimmervoid
Grixis Charm
Minotaur Explorer
Pillaging Horde
River of Tears
Spawning Pool
Thran Quarry
Veteran Swordsmith

Fixed typo in following cards:
Bloodstoke Howler
Deep Wood
Leonin Squire
Otherworldly Journey
Pit Keeper
2011-03-29 10:50:19 +00:00