Commit Graph

314 Commits (509aecd0e99bd7b52b2f173b1c833037442395ee)

Author SHA1 Message Date
melvin 40c2245586 generalized SpellRestriction 2012-11-04 09:53:24 +08:00
melvin c3d325bdf0 added with infect to SpellRestriction 2012-11-04 09:50:23 +08:00
melvin faef9e26fb allow singular for PoisonAction and MillAction 2012-11-04 09:48:56 +08:00
melvin 8d80b04548 added PoisonAction 2012-11-04 09:46:59 +08:00
melvin 931e539f55 generalize GainAction to allow permanent 2012-11-04 09:44:12 +08:00
melvin 95c1b3b6c5 allow duration at start of effect 2012-11-04 09:35:07 +08:00
melvin 0f5f069369 added Metalcraft 2012-11-04 09:33:50 +08:00
melvin 49fb9e6f4d added if damage would be dealt to 2012-11-03 22:37:33 +08:00
melvin 7642c0065b move this turn to Duration 2012-11-03 22:28:27 +08:00
melvin 2e7c632bae added prevent dealt to and dealt by 2012-11-03 22:25:47 +08:00
melvin b4b128646a handle both damage and combat damage 2012-11-03 22:24:08 +08:00
melvin 8136292951 added prevent all damage dealt by SelectPermanent this turn 2012-11-03 22:21:58 +08:00
melvin bea2c98fb8 added prevent all damage dealt to SelectPermanent this turn 2012-11-03 22:21:21 +08:00
melvin b810f6dabd added miracle 2012-11-03 22:18:12 +08:00
melvin 63421c5407 added put on the bottom 2012-11-03 22:01:57 +08:00
melvin 1a4413df88 added ReanimateAction 2012-11-03 22:00:17 +08:00
melvin e3ff8cb604 added token copy 2012-11-03 21:57:42 +08:00
melvin ffc7509f72 added multikicker 2012-11-03 21:56:30 +08:00
melvin 7cdf07dde4 generalized SpellEffect 2012-11-03 21:31:42 +08:00
melvin 22891c115c generalized control restriction 2012-11-03 21:23:35 +08:00
melvin 97051b0416 added at the beginning of each player's upkeep 2012-11-03 21:17:04 +08:00
melvin e351b74bbb added mill action 2012-11-03 21:14:50 +08:00
melvin b244cbb5e5 added untap symbol 2012-11-03 21:11:57 +08:00
melvin a9615aa612 added gain control of and as long as 2012-11-03 19:40:35 +08:00
melvin f951d598b5 added age counter 2012-11-03 18:55:59 +08:00
melvin fa71d49f05 added deals dmage equal to number of counters 2012-11-03 18:54:23 +08:00
melvin efdc49edd4 added each opponent 2012-11-03 18:51:17 +08:00
melvin 07c88c27f6 added deals damage equal to its power 2012-11-03 18:47:28 +08:00
melvin 14fb0e89a4 move duration to SingleEffect 2012-11-03 18:44:13 +08:00
melvin f07f7e8ac5 added 'an opponent controls' to PermanentRestriction 2012-11-03 13:37:22 +08:00
melvin 9d5258cf5f added 'if you do' 2012-11-03 13:35:21 +08:00
melvin 4f6dcfc387 generalized permanent restriction 2012-11-03 13:32:31 +08:00
melvin 320e839975 added more types to Tribal 2012-11-03 13:25:46 +08:00
melvin 4983de710c generalized PreventAction 2012-11-03 13:23:48 +08:00
melvin 7b3fc5d7d0 generalized DamageReceiver 2012-11-03 13:18:37 +08:00
melvin 002adea0f0 added 'its controller' to SelectPlayer and PayManaAction 2012-11-03 13:08:50 +08:00
melvin 6392a43411 added all other to SelectOp 2012-11-03 12:58:23 +08:00
melvin a19cf18f1c added pentavite and scarecrow to Tribal 2012-11-03 12:55:57 +08:00
melvin d670cada5b improve matching of names 2012-11-03 12:54:16 +08:00
melvin 903bf03af6 move creature subtypes to Tribal 2012-11-03 12:42:20 +08:00
melvin 64f511aed5 added level up 2012-11-03 12:37:01 +08:00
melvin 5dcfeb4c9b added replicate 2012-11-03 12:10:01 +08:00
melvin 50846bd507 added saproling and goblin to Tribal 2012-11-03 12:09:02 +08:00
melvin 07676d75fe generalized regenerate 2012-11-03 12:07:22 +08:00
melvin ecc507103f generalized damage receiver and creature restriction 2012-11-03 12:02:36 +08:00
melvin 89b315b60b added 'without' to creature restriction 2012-11-03 11:54:13 +08:00
melvin 60900003fb generalized 'with' creature restriction 2012-11-03 11:52:29 +08:00
melvin c16db93627 added fade to CounterType 2012-11-03 11:50:19 +08:00
melvin 56110665ca generalize SelectSpell 2012-11-03 11:21:36 +08:00
melvin 23ccf82ce5 added when you cast 2012-11-03 11:20:15 +08:00
melvin 08cc77404d generalize deals damange action 2012-11-03 11:17:27 +08:00
melvin 6deba90dd1 added blocked and blocks trigger 2012-11-03 11:16:04 +08:00
melvin 84a0407eb5 added sacrifice unless pattern 2012-11-03 11:04:35 +08:00
melvin a0b775d5cc allow sacrifices in SacrificeAction 2012-11-03 10:59:29 +08:00
melvin aeb67ae5b3 merged StaticAbility with Action 2012-11-03 10:52:44 +08:00
melvin f6af3657a5 added human and elf to tribal 2012-10-29 22:41:53 +08:00
melvin 099d3aad54 added basic to LandRestriction 2012-10-29 22:39:58 +08:00
melvin 3d65e024a5 generalize regenerate 2012-10-29 22:39:16 +08:00
melvin d1b724d63c creature in GainsAction is optional 2012-10-29 22:37:42 +08:00
melvin bf1cebcbba creature in GainsAction is optional 2012-10-29 22:37:05 +08:00
melvin 45938390d1 allow combining PumpAction and GainsAction 2012-10-29 22:33:38 +08:00
melvin ec1c091ad4 added effect, then effect pattern 2012-10-29 22:29:53 +08:00
melvin e692a09cb3 added verse counter, deal damange to creature 2012-10-29 22:27:48 +08:00
melvin 4e63f8b2f3 added rampage 2012-10-29 22:16:52 +08:00
melvin ebb9099789 generalized ManaSource 2012-10-29 22:15:19 +08:00
melvin cdccf8a846 added more ManaSource 2012-10-29 22:10:17 +08:00
melvin 7d5f93cf5a allow effect and effect in SpellEffect 2012-10-29 17:52:34 +08:00
melvin a9bf1fcec5 added that to SelectOp 2012-10-29 17:29:40 +08:00
melvin 0b7045229e added SingleEffect, simplified SpellEffect 2012-10-29 17:26:48 +08:00
melvin 170e5b3c84 allow x as Number 2012-10-29 17:20:20 +08:00
melvin 52a1425cdb made SelectOp optional 2012-10-29 17:16:29 +08:00
melvin a7b16ba33a generalize GainAction 2012-10-29 17:10:48 +08:00
melvin c34c981407 added black to creature restriction 2012-10-29 17:08:16 +08:00
melvin 433a0fe505 added more creature restrictions 2012-10-29 17:07:36 +08:00
melvin 3fd0985514 replace player from Action, allow player infront of Action in SpellEffect 2012-10-29 17:04:37 +08:00
melvin 12d22f6d57 added each player 2012-10-29 16:44:02 +08:00
melvin 4aa160eae5 allow lose life 2012-10-29 16:42:46 +08:00
melvin c7bc3bfc5e added BeginningEndStepTrigger 2012-10-29 16:39:28 +08:00
melvin 30a18df3e1 added BecomesTargetTrigger 2012-10-29 16:37:29 +08:00
melvin 8534797dbf Added more patterns to DoesntUntapAction 2012-10-29 16:34:22 +08:00
melvin 7c14580850 added DoesntUntapAction 2012-10-29 16:30:12 +08:00
melvin ee2cc8405f added black or red to CreatureRestriction 2012-10-29 16:08:22 +08:00
melvin e5c2dab822 added converted mana cost x to creature restriction 2012-10-29 16:05:34 +08:00
melvin 3afac70236 added ShuffleAction 2012-10-29 16:03:09 +08:00
melvin 674faeca60 added put into graveyard trigger 2012-10-29 15:59:19 +08:00
melvin 4bb897ff23 added ally to CreatureRestriction 2012-10-29 15:57:47 +08:00
melvin 581f3136b2 added ally enters the battlefield trigger 2012-10-29 15:56:54 +08:00
melvin 0a3826eeef added other to SelectOp 2012-10-29 15:55:19 +08:00
melvin 815eb37b41 added during an opponent's turn SpellRestriction 2012-10-29 15:49:11 +08:00
melvin 8343d7fdff add each to SelectOp 2012-10-29 15:46:13 +08:00
melvin fd7f83457b generalize target of deal damage 2012-10-29 15:45:15 +08:00
melvin 8dabe078c0 added loses to GainAction 2012-10-29 15:37:53 +08:00
melvin 0b62660246 added tap or untap to TapAction 2012-10-29 15:35:37 +08:00
melvin eceafdaee2 allow get 2012-10-29 15:34:33 +08:00
melvin 7ebb4b5f59 allow @ and it for SelectCard 2012-10-29 15:33:21 +08:00
melvin 32bf6f5a35 added optional action to SpellEffect 2012-10-29 15:28:21 +08:00
melvin 2d20373b0e added more SpellRestrictions 2012-10-29 15:26:09 +08:00
melvin e0492d31e3 added put on its owner's library to BounceAction 2012-10-29 15:16:30 +08:00
melvin 5542d4f466 added equipment to Artifact 2012-10-29 15:13:07 +08:00
melvin 13f471c6b0 add artifact as CreatureRestriction 2012-10-29 15:11:35 +08:00
melvin 01af70f494 added ControlAction 2012-10-29 14:14:07 +08:00
melvin 9dc58210fe added 'you gain' 2012-10-29 14:10:15 +08:00
melvin ab80119534 allow both @ and it 2012-10-29 14:05:45 +08:00
melvin e1005fb073 added the as SelectOp 2012-10-29 14:04:28 +08:00
melvin e23a9fb567 remove actions specific to enchanted/equipped, make enchanted/equipped part of SelectOp 2012-10-29 13:59:10 +08:00
melvin e5f9566873 added you control to LandRestriction 2012-10-29 13:53:17 +08:00
melvin a5a2b44bcf allow that player in SelectPlayer 2012-10-29 13:51:17 +08:00
melvin f32cf2cbac added when leaves the battlefield trigger 2012-10-29 13:48:52 +08:00
melvin df6f1b80c5 added attacks, deals combat damage triggers 2012-10-29 13:46:25 +08:00
melvin 0f6c3b949a added when dies trigger 2012-10-29 13:44:37 +08:00
melvin 204cdbd783 added at beginning of upkeep trigger 2012-10-29 13:43:35 +08:00
melvin 17b09ff6ce added prevent all combat damage 2012-10-29 13:41:50 +08:00
melvin ec292746ff added enchanted/equipped has 2012-10-29 13:40:41 +08:00
melvin 0d0db4268f use all lowercase in parser 2012-10-29 13:36:37 +08:00
melvin e5caf31024 added discard a card at random 2012-10-29 12:34:33 +08:00
melvin b697f747f5 discard choose at most one card 2012-10-29 12:33:26 +08:00
melvin 3de449b18e added discard action with target 2012-10-29 12:21:51 +08:00
melvin b01a5423b8 added Devour 2012-10-29 12:17:45 +08:00
melvin b07110bcc4 added Soulshift and Fading 2012-10-29 12:16:50 +08:00
melvin 7ecfe9d8df allow A or B as mana source 2012-10-28 22:00:15 +08:00
melvin fdfebcb018 added an to SelectOp 2012-10-28 21:56:23 +08:00
melvin 265ecf3301 generalized PumpAction 2012-10-28 21:52:29 +08:00
melvin 20c73cae6c added more protection 2012-10-28 21:46:35 +08:00
melvin b39b680d30 allow multiple action as spell effect 2012-10-28 21:44:01 +08:00
melvin ac113be728 added SelectPlayer 2012-10-28 21:41:17 +08:00
melvin ada97b2b15 added more types to Tribal and added LandRestriction 2012-10-28 21:38:41 +08:00
melvin 887179ce94 allow plural for types and added all to SelectOp 2012-10-28 21:28:54 +08:00
melvin 513ff5c9f7 added X to Count, added +1/+0 to CounterType 2012-10-28 21:22:37 +08:00
melvin 8891799333 increased count to ten 2012-10-28 21:20:36 +08:00
melvin 6ab1900dce added untap 2012-10-28 21:18:16 +08:00
melvin 9587a6019e include @ in SelectPermanent 2012-10-28 21:16:51 +08:00
melvin b4d3d38936 rename Select* to Restricted* 2012-10-28 21:14:02 +08:00
melvin 998117b245 added put counter 2012-10-28 21:07:41 +08:00
melvin e0760b8e4c added CounterType 2012-10-28 21:02:31 +08:00
melvin 02f10a6028 added ChangeCounterAction and PutTokenAction 2012-10-28 20:58:19 +08:00
melvin bd688b200c combine lost life and gain life to change life 2012-10-28 20:53:02 +08:00
melvin fc97de709a added gain life action 2012-10-28 20:50:47 +08:00
melvin 94bbfc6ca6 added LostLifeAction 2012-10-28 20:50:01 +08:00
melvin d6c92c751e rewrite SpellEffect as Action follow by EOS 2012-10-28 20:46:40 +08:00
melvin 997df0e513 added discard as a activation cost 2012-10-28 20:41:27 +08:00
melvin e004b50066 added additional permanent and card restrictions 2012-10-28 20:36:42 +08:00
melvin 71d5c8b998 added return to battlefield 2012-10-28 20:34:07 +08:00
melvin f95f5a0533 Added return card action and select card 2012-10-28 20:30:34 +08:00
melvin 8eaeeb37f7 added pay life to activation cost 2012-10-28 19:00:22 +08:00
melvin 7ea62bea8e generalize draw action 2012-10-28 18:57:50 +08:00
melvin 1174780678 use single rule to represent all activated abilities 2012-10-28 18:56:35 +08:00
melvin 5d655447b7 added damage preventation 2012-10-28 18:49:34 +08:00
melvin feafdf24e3 added totem armor, enters with +1/+1 counters 2012-10-28 18:46:15 +08:00
melvin 55de84e55e added vanishing 2012-10-28 18:35:58 +08:00
melvin aac324ffc1 added equip and equip pump 2012-10-28 18:34:39 +08:00
melvin 0c6ff6f414 added modular and more hybrid mana 2012-10-28 18:32:08 +08:00
melvin a8a16fea2b added hybrid cost, generalized pump action rule 2012-10-28 18:08:46 +08:00
melvin 09d7107ee6 added kicker, enchanced rule for mana cost 2012-10-28 17:55:50 +08:00
melvin c02b7571aa added cumulative upkeep 2012-10-28 17:52:05 +08:00
melvin 0cdecd17bc Added buyback, persist 2012-10-28 17:50:47 +08:00
melvin c4c2b102d8 added protection from green, pump enchanted creature 2012-10-28 17:47:08 +08:00
melvin af523fc518 added SacrificeAction, rename SelectionOp to SelectOp 2012-10-28 17:42:57 +08:00
melvin 34a2c8c19e improve rule for mana cost 2012-10-28 17:35:18 +08:00
melvin d7ddfdf76b added list of parsable rules 2012-10-28 17:27:23 +08:00
melvin 3ecc969408 rename EOR to EOS and EOT to EOR 2012-10-28 17:27:04 +08:00
melvin babf91d14b added ManaSource rule, simplify AddManaAction rule 2012-10-28 15:35:12 +08:00
melvin 5a2c6d9bbe added more rules support in parser 2012-10-28 15:30:18 +08:00
melvin 4e2979695d rename TargetPerm as SelectPermanent, allow union expression as SelectPermanentUnion 2012-10-28 14:13:06 +08:00
melvin 92a2fad303 started parsing expression grammar for MTG rules text 2012-10-28 13:31:38 +08:00