Files
wagic/projects/mtg
zethfoxster 76f1591b58 removed WParsedInt "morethanfour", "plusone","plustwo","plusthree"
added 2 things
first plus/plusend, minus/minusend
written many ways damage:type:*:myhandminus2minusend
would deal damage equal to the cards in my hand -2
damage:type:creature:mybattlefieldplustype:creature:opponentbattlefieldplusend
damage equal to the number of creatures in my battlefield plus the number of creatures in opponents battlefield.

now there are special cases where we need to know the value BEFORE applying multipliers. life: is one of them. I added "math/mathend"

auto=@each opponent upkeep:target(opponent) life:-mathtype:*:myhandminustype:*:opponenthandminusendmathend opponent
in the example above, without "math" the "-" would be used for the first section of the minus parsed int, instead of being applied as a multiplier for the total of the number.

this is extremely flexible, and can contain any Wparsed int in both parts, you can add or subtract and use the differences between to values as the value of the parsedInt.
2016-07-04 10:43:07 -04:00
..
2016-06-26 19:26:52 +08:00
2012-05-19 19:40:32 +00:00
2012-05-20 14:18:24 +00:00
2015-09-13 23:50:21 +02:00
2016-07-03 17:07:22 -04:00
2012-05-07 05:09:12 +00:00
2015-10-03 21:39:54 +08:00
2014-01-18 14:23:26 +01:00
2014-03-11 17:19:05 +01:00
2012-01-07 23:38:10 +00:00