Files
wagic/projects/mtg/include
omegablast2002@yahoo.com a26f872ff3 add restriction for checking what alternative cost was paid. combined with if/ifnot ability becomes a very powerful tool.
paid(blah)
auto=if paid(alternative) then damage:3 target(creature)
auto=if paid(alternative) then life:10 target(player)
auto=ifnot paid(alternative) then damage:3 controller
auto=ifnot paid(alternative) then life:4 opponent

it can be used any place a restriction can be used. 
rearranged the constants for the payment type keywords to match the order we int the alternatePayment array on a card, added keywords for the remaining payment types, 

    "notpaid",
    "paidmana",
the 2 above pretain to paying the real manacost of a card
it checks the mana={1} cost line and is not joined to the other types.

    "kicker", 
    "alternative", 
    "buyback", 
    "flashback", 
    "retrace", 
    "facedown",
    "suspended"

note: all test pass in this revision.
2013-01-15 02:11:05 +00:00
..
2011-12-11 13:48:24 +00:00
2011-09-01 20:03:26 +00:00
2011-12-18 09:40:35 +00:00
2012-06-01 23:36:18 +00:00
2011-10-02 09:05:39 +00:00
2011-10-02 14:11:30 +00:00
2013-01-05 03:05:53 +00:00
2012-03-21 14:41:38 +00:00
2011-12-11 13:48:24 +00:00
2011-07-04 19:09:19 +00:00
2013-01-05 05:01:31 +00:00
2012-08-26 08:10:15 +00:00
2012-01-30 09:23:56 +00:00
2011-09-17 21:27:36 +00:00
J :
2010-02-27 18:49:03 +00:00