Commit Graph

10969 Commits (d5999049c8186dccc8274192e3c7a22e668559ae)

Author SHA1 Message Date
melvin d5999049c8 support 'pn loses <amount> life.' pattern 2013-10-19 13:35:12 +08:00
melvin 95672c65d2 fix createMay not using MagicMayChoice 2013-10-19 13:26:52 +08:00
melvin aaf3e4b3a1 remove combine method, add create factory to each trigger class 2013-10-19 13:24:46 +08:00
melvin 5fd20a5987 remove getEvent in MagicDiesTrigger, implement should override executeTrigger
instead

added combine static factory method to compose a trigger with MagicSourceEvent
2013-10-19 13:10:30 +08:00
melvin b06bacb09a single token may be specified with 'a' or 'an' 2013-10-18 16:13:25 +08:00
melvin e28e37922d separate regex for one token and many tokens due to additional s in tokens 2013-10-18 16:11:54 +08:00
melvin 669957b902 replace groovy script with ability in card script 2013-10-18 15:51:52 +08:00
melvin 781841b74b replace groovy script with ability in card script 2013-10-18 15:39:21 +08:00
melvin c546fef168 replace groovy script with ability in card script 2013-10-18 15:36:41 +08:00
melvin 84f5f34c3b replace groovy script with ability in card script 2013-10-18 15:34:55 +08:00
melvin c67eb75360 replace groovy script with ability property 2013-10-18 15:14:19 +08:00
melvin eaa4a1d560 fix regex to allow 'counters' 2013-10-18 15:12:27 +08:00
melvin 17a9b44c2f added Fabled Hero 2013-10-18 15:01:44 +08:00
melvin 0674018dc7 added Centaur Battlemaster 2013-10-18 15:00:18 +08:00
melvin 78202c0224 using amount in action otherwise only one counter will be added 2013-10-18 14:57:25 +08:00
melvin d1e04ef48f generalize grow self rule to allow putting more than one counter 2013-10-18 14:56:35 +08:00
melvin 71dedf4069 replace groovy script with ability property 2013-10-18 14:55:01 +08:00
melvin 7e917d18de add 'heroic effect <effect>' to ability property 2013-10-18 14:45:06 +08:00
melvin 3ed512f092 introduce MagicSourceEvent abstraction to remove duplicate code 2013-10-18 14:16:47 +08:00
melvin 069d6703bb abstract parsing of cost to event to separate method 2013-10-18 12:33:22 +08:00
melvin c18977c950 replace {D} with 'Discard a card' 2013-10-18 11:54:28 +08:00
melvin 8d87769f25 replace groovy code with ability in card script 2013-10-17 21:03:42 +08:00
melvin c926e31e23 replace groovy code with ability in card script 2013-10-17 21:01:21 +08:00
melvin c417879b2b fix captalization of token names 2013-10-17 20:49:29 +08:00
melvin e302d1b2df find tokens in a case insensitive way 2013-10-17 20:48:17 +08:00
melvin d39490eabc merged new card 2013-10-17 20:46:34 +08:00
ember hauler ac034ef8fe Add script for Chronomaton 2013-10-17 09:18:26 +00:00
melvin bfd3525086 merged new card 2013-10-17 17:15:51 +08:00
melvin eca12d4b4f replace groovy script with ability property 2013-10-17 16:44:26 +08:00
melvin 617937fa21 remove check_tokens from checks as it can no longer infer token names from script 2013-10-17 16:29:53 +08:00
melvin 5f77717853 replace groovy script with ability property 2013-10-17 16:28:37 +08:00
melvin c6dda57e44 use canonical name for token image name as it may contain forward slash 2013-10-17 16:27:46 +08:00
melvin 3dfcc0d2f2 improve error message 2013-10-17 16:27:19 +08:00
melvin 32c2a7510c made getCanonicalName public 2013-10-17 16:27:07 +08:00
ember hauler f6ce131203 Add script for Traumatize 2013-10-17 08:21:51 +00:00
melvin 337627046b support put token effect 2013-10-17 15:57:17 +08:00
melvin e02d35fc23 replace groovy script with ability property 2013-10-17 15:51:50 +08:00
melvin efbfb17cb6 fix description 2013-10-17 15:51:44 +08:00
melvin d32c2af53f replace groovy script with ability property 2013-10-17 15:34:45 +08:00
melvin 0d2cb1d289 replace groovy script with ability property 2013-10-17 15:32:39 +08:00
melvin 252dc58be7 use long form of pay life cost 2013-10-17 15:30:12 +08:00
melvin cd19aafd94 ensure that mana cost text is fully matched 2013-10-17 15:29:47 +08:00
melvin ff4af7fe17 replace sacrifice cost with long form 2013-10-17 15:08:09 +08:00
melvin f63ca74d4b replace {SG} with 'Sacrifice a Goblin' 2013-10-17 15:05:43 +08:00
melvin b6311d3426 replace {SA} with 'Sacrifice an artifact' 2013-10-17 15:04:37 +08:00
melvin bbf25a4ce7 replace {SC} with long form 'Sacrifice a creature' 2013-10-17 15:02:49 +08:00
melvin d9e565a91f support multiple counter types 2013-10-17 15:02:28 +08:00
melvin 442ebeffe7 replace groovy script with ability property 2013-10-17 14:46:24 +08:00
melvin 5c74093401 replace groovy script with ability property 2013-10-17 14:45:33 +08:00
melvin 4d40178d9a replace groovy script with ability property 2013-10-17 14:44:51 +08:00