Files
wagic/projects/mtg/include
Psyyringe 5c3b3f1d03 Psyringe - added quantifiable target restrictions. Whenever you use square brackets [] to specify attributes of a target, you can use the operators <=, >= and = to specify quantities for power, toughness, and/or converted manacost. See added cards for examples.
Limitations:
- Operators for "greater than", "less than", "unequal" have not been implemented, but if a card actually needs them, you can use a preceding minus sign to negate a comparison. Example: -power=3 means "power not equal to 3", -toughness<=3 means "toughness>3".
- You can't use spaces when specifying such restrictions. Write "power<=3" instead of "power <= 3"
- You now need to use a space before the "<" and ">" commands that count the matches for lord(), foreach(), all() and aslongas(). So far we always did use spaces in front of them without actually needing to, now we need to.
- manacost restrictions don't take "X" costs into account. Example: Mistmeadow Skulkin (FUT) has protection from manacost>=3. Blaze has a converted manacost of 1, but when you cast it with an X of 2, then it actually has a converted manacost of 3 while on the stack, and Mistmeadow Skulkin would be protected from it, but currently it isn't.

Please review the code, I'll add a few remarks/questions of my own.
2009-12-26 01:50:33 +00:00
..
2009-07-11 15:59:51 +00:00
2009-11-21 07:26:26 +00:00
2009-09-30 15:02:57 +00:00
J :
2009-08-22 05:59:43 +00:00
2009-12-13 22:12:14 +00:00
2009-12-03 02:05:03 +00:00
2009-12-22 15:04:56 +00:00
2009-07-11 15:59:51 +00:00
2009-11-21 07:26:26 +00:00
J :
2009-08-22 06:39:29 +00:00
2009-09-30 15:02:57 +00:00
2009-09-29 14:07:14 +00:00
2009-12-03 02:05:03 +00:00
J :
2008-11-12 13:45:42 +00:00
2009-02-16 13:46:14 +00:00
2009-12-13 22:12:14 +00:00
2009-11-14 11:35:29 +00:00
2009-07-26 06:08:39 +00:00
2009-11-21 07:26:26 +00:00
J :
2009-06-15 00:56:30 +00:00
2009-12-13 09:33:51 +00:00
2009-12-13 22:12:14 +00:00
2009-11-23 08:25:27 +00:00
2009-12-06 04:47:29 +00:00
2009-12-13 22:12:14 +00:00
2009-12-13 22:12:14 +00:00
J :
2009-08-22 06:01:52 +00:00
J :
2009-08-22 05:59:43 +00:00
2009-09-22 06:15:32 +00:00
J :
2009-08-22 06:01:52 +00:00
J :
2009-09-22 07:39:24 +00:00
2009-11-21 07:26:26 +00:00
2009-10-04 06:01:00 +00:00
J :
2009-10-19 13:36:42 +00:00
2009-09-26 10:03:52 +00:00
2009-11-21 07:26:26 +00:00
J :
2008-11-12 13:45:42 +00:00
J :
2009-05-23 08:34:50 +00:00
2009-12-13 10:18:37 +00:00
2009-12-12 11:09:13 +00:00
2009-12-06 04:47:29 +00:00
2009-11-18 13:14:08 +00:00
2009-07-18 14:26:58 +00:00
2009-12-06 04:47:29 +00:00
2009-12-12 11:09:13 +00:00
J :
2009-12-17 17:44:27 +00:00
J :
2009-08-22 06:01:52 +00:00
2009-12-06 04:47:29 +00:00
2009-12-03 02:05:03 +00:00
2009-12-13 22:12:14 +00:00
2009-11-14 11:35:29 +00:00
J :
2009-08-22 05:59:43 +00:00
J :
2009-08-31 02:00:33 +00:00
2009-11-14 11:35:29 +00:00
2009-12-06 11:34:00 +00:00
2009-11-23 08:25:27 +00:00
2009-11-23 08:25:27 +00:00
2009-10-19 11:37:47 +00:00
J :
2009-09-04 13:22:15 +00:00
2009-07-11 15:59:51 +00:00
2009-12-13 22:12:14 +00:00
2009-12-06 04:47:29 +00:00
2009-11-23 08:25:27 +00:00
2008-12-16 14:20:03 +00:00
2009-12-22 10:58:55 +00:00
J :
2009-09-05 11:44:34 +00:00
2009-11-15 09:31:33 +00:00
2009-10-01 13:33:40 +00:00
2009-11-23 08:25:27 +00:00