Commit Graph

3345 Commits

Author SHA1 Message Date
wagic.the.homebrew@gmail.com
77a1e98bc3 Adding test for issue 616 (Rainbow Efreet phase out) 2011-04-03 03:17:36 +00:00
omegablast2002@yahoo.com
ee0231f4da shroud is not a case for it, sorry! 2011-04-02 22:34:37 +00:00
omegablast2002@yahoo.com
3deae0137e changing a int type for pspsdk to stop complaining. 2011-04-02 22:22:34 +00:00
omegablast2002@yahoo.com
785aa505b2 added O-Naginata which was previously not added becuase the rule in the previous commit was not followed. 2011-04-02 22:16:19 +00:00
omegablast2002@yahoo.com
10e576f4b7 Rules correction for equipment, if at any point the currently equipped card is no longer a valid target for the equipment, ie:it was attached to a manland, hidden enchantment, has restrictions in equipment tc such as can't enchant vampires and target became a vampire, ect
the equipment is supposed to fall of as a statebased effect.

this is also true for auras, tho the fix for auras will be alot more complex, and im not reffering to the "protected against" bug which we have reason to not fix.
this is a rule that states

303.4b - If an Aura is enchanting an illegal object or player, the object it was attached to no longer exists, or the player it was attached to has left the game, the Aura is put into its owner's graveyard. (This is a state-based action. See Rule 704.) [CompRules 2009/07/08]

an aura that targets a creature that suddenly becomes a land and loses creature is supposed to fall off, an aura that targets a green creature that suddenly becomes black and loses green is supposed to fall off.

this rule is the same for both auras and equipment, but due to how we handle auras, only equipments will be fixed in this commit.
2011-04-02 22:11:32 +00:00
omegablast2002@yahoo.com
29ae982253 added Demonspine Whip to demonstrate both fixes in action. 2011-04-02 21:02:48 +00:00
omegablast2002@yahoo.com
67ebd964e1 2 bug fixes;
first, while hunting down easter eggs in the todo.dat i started trying to code some un-added equipment...noticed that thisforeach was exhabiting strange behavior.
what was happening was in the changed line, abilities.size() was a non-static number, so on most abilities, thisforeach was actually stopping prematurely. which explains why there was no test added for thisforeach, becuase it really wasnt working correctly.
what i did to correct the issue was set "i" as an unsigned int = abilities.size()..this way abilities being added don't stop it prematurely in the process of adding the matches.

2nd, this one is geared towards equipment only, it is a bug fix, not a "lets recode all equipment to use this"...i noticed that alot of equipment was suffering from double entries of activated abilities, the first entry was always targeted at the equipment and did nothing in most cases, the 2nd was always added during the getabilities call.
to fix, i added autoskill= ...what this line is used for it activated abilities or abilities that otherwise shouldnt exist when the card is not equipped, it is called on when getabilities function is called by equip() and for removel purposes.
2011-04-02 21:01:33 +00:00
omegablast2002@yahoo.com
7d0ff5aa34 add banshee blade 2011-04-02 19:07:20 +00:00
omegablast2002@yahoo.com
e23ce580fe fixed a bug with sunburst and sunburst cards which contained x. 2011-04-02 18:30:55 +00:00
guzhenjie1@gmail.com
0fa410cab0 Fixed Withering Wisps.
Updated Pyrohemia.
2011-04-02 17:48:32 +00:00
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