Commit Graph

1679 Commits

Author SHA1 Message Date
wagic.the.homebrew@gmail.com
da07370243 Erwan
- (Finally) adding "must" abilities. Usage is as natural as possible, check Aven cloudchaser in 10E.
2010-01-06 14:22:41 +00:00
wagic.jeck
50169eb5fb Jeck - Metadata edits.
* Set names redacted pending further research.
* Blocks assigned "safe", vaguely similar words.
2010-01-06 09:52:18 +00:00
wagic.jeck
3cdae99e46 Jeck - Rudimentary metadata for all current sets. 2010-01-06 00:06:43 +00:00
wagic.jeck
bd0e139e6d Jeck - Minor update to trophy room, moved metadata into cards.dat
* updated daily build
* Card spoiler now sorts by collector's number.
* Metadata looks for "[m" (for speed reasons), I've been using "[meta]" in files. No sets currently use metadata.
2010-01-05 23:32:31 +00:00
wagic.the.homebrew@gmail.com
2285821d36 Erwan
-fix issue 252 (equipment goes to graveyard)
2010-01-05 13:48:17 +00:00
wagic.the.homebrew@gmail.com
2ea7de5a3a Erwan
- removed Channel and Shield of the ages, which technically solves issues 174 and 178...
2010-01-05 12:56:43 +00:00
solo81@web.de
21307ef1f7 Added several successfully tested cards (MIR).
Note: Rampant Growth was missing in the todo_dat!?
2010-01-04 21:56:48 +00:00
wagic.the.homebrew@gmail.com
3e33e2b756 Erwan
-fix issue 270
2010-01-04 13:51:39 +00:00
solo81@web.de
441b8a0f3a Added some cards (MRQ) 2010-01-04 13:51:37 +00:00
wagic.jeck
4ea8234f79 Jeck - quick fix to issue 285. Meant to do this later today with some other stuff, but had it ready now, so...
Eventually, the WDataSource stuff will need to be analyzed more in depth. WSrcMTGSet is very similar (though simplified) in functionality to the deck data wrapper stuff.
2010-01-04 12:59:57 +00:00
wagic.the.homebrew@gmail.com
7f46793031 Erwan
- fix issue 289 and issue 265. Please verify the fix.
2010-01-04 12:29:54 +00:00
solo81@web.de
c33e748f30 Fixed Glassdust Hulk (ARB) && Ogre Warrior (GPT) 2010-01-04 11:52:54 +00:00
solo81@web.de
ced7b570ce Fixed Magma Phoenix (M10) 2010-01-04 11:32:45 +00:00
solo81@web.de
756af5e135 Fixed Pledge of Loyality (INV) 2010-01-04 11:30:06 +00:00
solo81@web.de
0bac62d3d1 Added several successfully tested cards. 2010-01-03 12:16:36 +00:00
wagic.the.homebrew@gmail.com
73e3c24c5c Erwan
- fix issue 274 (kudzu)
2010-01-03 11:56:31 +00:00
wagic.the.homebrew@gmail.com
23fe54ae6f Erwan
- fix issue 153 (Tokens should go to graveyard)
- "token" keyword can now be used in the parser with things such as Creature[-token] for "noncreature token"
- Let's stop using "token" as a type
2010-01-03 10:08:36 +00:00
wagic.the.homebrew@gmail.com
69c5dee979 Erwan
- IMPORTANT: Legendary is not an ability anymore, creating cards with super types should be much more natural. You can now say "type=Snow Land", and stuff like that. No backward compatibility!!!
2010-01-03 03:11:30 +00:00
solo81@web.de
79a98e1c8f Small corrections 2010-01-03 02:51:41 +00:00
solo81@web.de
3f35d6e573 Added several successfully tested cards (INV). 2010-01-03 02:42:49 +00:00
solo81@web.de
c045f4e01b Added several successfully tested cards (ICE). 2010-01-02 15:53:55 +00:00
Psyyringe
e748a40302 Psyringe - fixed 3 cards:
Crosswinds (USG) - wrong manacost, also copy/pasted to the wrong position in the file
Akroma's Blessing (ONS) - cycling was in an auto= rule instead of an autohand= rule
Riptide Crab (INV) - was missing vigilance

Thanks to Raphael_Carlo for the bug reports
2010-01-02 12:00:23 +00:00
wagic.the.homebrew@gmail.com
0494e3eb33 Erwan
- Fixed language loading (previously broken with primitives code)
2010-01-02 07:05:39 +00:00
wagic.the.homebrew@gmail.com
57f2f582ab Erwan
- Update to fr_cards. Needs spell checking, and test of performance/crashes on a PSP (1MB file...)
2010-01-02 06:01:17 +00:00
Psyyringe
c1097a2a58 Psyringe - fixed Spell Snare (DIS), thanks to baldersmashed for the bug report. 2010-01-01 17:46:13 +00:00
Psyyringe
3c11ab01ac Psyringe - fixed the 4 Tainted lands in TOR. The previous code made the ability available even when it shouldn't be there, and also worked only for one activation (due to an engine bug, see issue 282). The new code is closer to what the card is supposed to do, and works more than once. 2010-01-01 17:12:11 +00:00
Psyyringe
6956074877 Psyringe - fixed Mirri the Cursed (PLC). Temporarily fixed Reiver Demon (MRD). Thanks to Raphael_Carlo for the bug report.
Important: I just realized that the fix to Reiver Demon will probably lead to problems later on. The problem is this: Reiver Demon has an ability "When yu play this from your hand ...". This was coded as @moveto(this|mybattlefield) from(mayhand). Which doesn't work, because the card doesn't actually enter the battlefield from the hand, it enters from the stack. So, "@moveto(this|mybattlefield) from(maystack)" has the desired effect. However, IIUC, spells played from anywhere else (e.g. from the graveyard, if they allow that) should be placed on the stack to. Hence, the "fixed" trigger will also fire in this case, which is wrong.

This means that we can't actually code "played from ..." entirely correct at the moment. Is there a solution for this?

According to the rules, only a copy of a spell enters the stack (never the spell itself), so could the "from()" part access where the card actually came from?

Do we need an @played trigger to differentiate between moving a card and actually playing it?
2010-01-01 13:33:22 +00:00
Psyyringe
62065e4602 Psyringe - fixed Vengeful Dead (SCG). Thanks to mickey_brown for the bug report. 2010-01-01 12:44:39 +00:00
Psyyringe
53d8960b5d Psyringe - fixed Golgari Germination (RAV), thanks to mickey_brown for the bug report. 2009-12-31 23:36:04 +00:00
Psyyringe
b8a2051f95 Psyringe - removed Cabal Ritual, it's a TOR card (and already present there). Thanks to baldersmashed for the bug report. 2009-12-31 20:03:17 +00:00
solo81@web.de
ef9a90ba68 Added several successfully tested cards. 2009-12-31 17:01:05 +00:00
wagic.jeck
2dcf55c45d Jeck - Quick fix to issue 279. Requires testing, see issue for details. 2009-12-31 05:12:35 +00:00
Psyyringe
ea31a5cf1c Psyringe - fixed Seismic Shudder (ZEN), thanks to mickey_brown for the bug report. Fixed Dragon Roost (ONS) - a character was missed during copy/paste and broke the card. 2009-12-30 21:11:54 +00:00
solo81@web.de
245661d52e Added Mangara of Corondor (TSP) Tested and Working. 2009-12-30 20:14:55 +00:00
solo81@web.de
12c2eaf073 Added RECURRING NIGHTMARE (EXO) Tested and working!
Added Serrated Biskelion (STH) Tested and working.
2009-12-30 19:38:42 +00:00
solo81@web.de
d9462ecfc1 Several bug fixes, removed some cards, added 1 card (P02) 2009-12-30 17:42:18 +00:00
solo81@web.de
9900b2ec76 Removed Morselhoarder (SHM)
Fixed Consumptive Goo (SCG), code tested successfully ingame.
2009-12-30 13:25:42 +00:00
solo81@web.de
2e3d1041e3 Fixed Miraculous recovery (VIS)
Fixed Purge (DST)

Added ...tatatataaaa: Shauku Endbringer (MIR)! I tested this Vampiric Lady Gaga of Doom successfully ingame.
2009-12-30 13:07:40 +00:00
Psyyringe
1125a2aeaf Psyringe - fixed a typo in "mountainhome" that prevented it from working. This is probably the bugfix of the century considering that the number of cards with Mountainhome in Wagic (and actually in the whole Magic universe) is exactly zero. ;) 2009-12-30 01:11:23 +00:00
solo81@web.de
74d74d7c35 Small fix from last revision 2009-12-29 18:20:28 +00:00
solo81@web.de
79b248a152 Added many cards with "cantbeblockedby". 2009-12-29 18:17:06 +00:00
solo81@web.de
830b2a12c7 Added some cards with activation restriction "asSorcery". 2009-12-29 13:22:45 +00:00
Psyyringe
c5e5e6a8c2 Psyringe - removed Tower o Coireall, a remnant of my testing which slipped through in r1639. Thanks to Dr. Solomat for noticing that! 2009-12-29 12:36:01 +00:00
solo81@web.de
e361eecdd2 Fixed Fog Bank (USG).
Fixed Vampiric Spirit (P02).
2009-12-29 12:26:23 +00:00
Psyyringe
1f2a5bd4bd Psyringe - softcoded Great Defender (LEG), provided test script. 2009-12-29 00:39:16 +00:00
Psyyringe
219c69914a Psyringe - fixed Angel of Mercy (P02), it couldn't fly. Thanks to garlen for the bug report. 2009-12-28 20:02:09 +00:00
Psyyringe
49536fce44 Psyringe - introducing new ability: cantBeBlockedBy(T). T can be any targez specification, like "wall", "creature[flying]", etc. See added cards for examples. Note: This ability currently has the same restrictions as "protection from(T)", i.e. it can't be used in activated abilities or instants/sorceries. It *can* be used for creatures,auras, and other continuous abilities (e.g. an enchantment which grants "unblockable by walls" to all rats should be possible, although I didn't test that). There are 47 cards which use the phrase "can't be blocked by", so we should be able to get another fair mount of cards out of that.
Notes to programmers:
1. This feature uses an awful lot of copy-pasta, using "protetcion from()" as a base. While I'm learning the architecture, it's easier for me to have a dedicated single-purpose piece of code to work with, than trying to create multi-purpose code. I'm aware that this isn't a very elegant approach though, and I hope to be able to refactor additions like this into multi-purpose code once I have a better understanding of the architecture as a whole.

2. Please check the questions I'll add in my next code comments, specifically about AI integration and activated abilities / instants / sorceries.

3. I did have a crash (with the debugger complaining about stack corruption around the cd variable) during testing. I wasn't able to reproduce it though. I did have to clean the solution in-between when I updated to the primitives system, so perhaps there was this cleaning solved whatever corruption was in my files. I'm mentioning the issue in case someone has an idea on where my code might be risky (I'm still probne to making beginners mistakes).
2009-12-28 18:19:17 +00:00
Psyyringe
365c854e90 Psyringe - fixed toughness of Mountain Yeti, thanks to garlen for the bug report 2009-12-28 17:09:26 +00:00
wagic.the.homebrew@gmail.com
3ba9d84889 Erwan
- Italian update by icarus
- Portuguese update by vesgo
2009-12-28 13:15:34 +00:00
wagic.the.homebrew@gmail.com
b366994397 Erwan
-manual test for issue 140
2009-12-28 13:04:24 +00:00