Commit Graph

7529 Commits (96af2283ebc0759bc0934433b13a105524e9f393)

Author SHA1 Message Date
melvin 94d9a2ce97 added apply and update methods to MagicGame and MagicPlayer 2013-02-10 12:35:06 +08:00
melvin 096794537c fixed existing card scripts that refer to card code that have been converted to groovy code 2013-02-08 13:43:49 +08:00
melvin 2ed9f440f8 convert smallest 99 card code to groovy code to serve as examples 2013-02-08 13:11:43 +08:00
melvin 5f9fa1bcbc added magic.card to implicit imports of groovy scripts 2013-02-08 13:11:21 +08:00
melvin c7eca4a19e allow multiple card names to be specific in required_card_code and requires_groovy_code, separate by a single comma without any space 2013-02-03 16:45:48 +08:00
melvin 274a2d1c14 added "creature you control" and "creature opponent control" for enchant 2013-02-03 12:13:36 +08:00
melvin b3e71e1638 added Curse of Chains 2013-02-03 12:07:57 +08:00
melvin f0c1792b75 Added test for Storm 2013-02-03 12:00:53 +08:00
melvin b4f734f126 only handle spells being played in MagicPutItemOnStackAction, remove it from MagicStackGetChoicesEvent. Fixes targetted storm spells copying one to many times 2013-02-03 11:59:03 +08:00
melvin 1070854074 remove white border around card pic pop up
fixes issue 319
2013-02-03 10:36:39 +08:00
melvin c29ecf50bd added two test scenarios 2013-02-03 10:08:46 +08:00
melvin 00d93cb3a2 tap Kessig Wolf Run first when paying for its second ability.
fixes issue 322.
2013-02-03 10:03:41 +08:00
melvin 3fce5d96b7 change Infiltration Lens effect to use WhenBlocks trigger instead of
WhenBecomesBlocked so that it triggers the correct number of times

fixes issue 329
2013-01-30 22:39:54 +08:00
melvin 3a707dc613 Sphinx of Lost Truth only cause player to discard if it was NOT kicked.
fixes issue 327.
2013-01-30 21:13:36 +08:00
melvin cb17e04962 remove target hint for Arcbound Fiend's ability, fixes issue 328 2013-01-30 08:50:42 +08:00
melvin 3fe6012b5c correct comment 2013-01-29 16:27:14 +08:00
melvin 47ec2f6cad remove unused class 2013-01-29 16:24:45 +08:00
melvin 3f9b237d01 replace DelayedViewer and DelayedViewersThread with swing.Timer 2013-01-29 16:20:00 +08:00
melvin b60cdf0cb5 convert tab to spaces 2013-01-29 16:15:58 +08:00
melvin ce27639863 added basic evolve creatures 2013-01-27 13:56:37 +08:00
melvin 03764f77f3 remove unused variable 2013-01-27 13:56:14 +08:00
melvin 991fc0ead5 added 'evolve' mechanic to ability 2013-01-27 09:50:17 +08:00
melvin c0489e5455 Added tag 1.34 for changeset f8327b52b2ab 2013-01-26 22:09:37 +08:00
melvin 3af15f3d20 use more general Set interface instead of EnumSet 2013-01-26 22:08:41 +08:00
melvin 8bdea4f90c use more general Set interface instead of EnumSet 2013-01-26 21:55:30 +08:00
melvin 786f204602 fixed wrong year 2013-01-26 21:28:03 +08:00
melvin 8360be4f96 added source files for brown theme 2013-01-26 21:13:13 +08:00
melvin fe3e695832 updated README for 1.34 release 2013-01-26 20:44:30 +08:00
melvin 0f51a7959f updated cubes 2013-01-26 20:42:54 +08:00
melvin 3afd4882ed remove unused class 2013-01-20 21:04:26 +08:00
melvin c2bc97bce3 remove cardCounter from MagicPlayer 2013-01-20 18:16:17 +08:00
melvin 779c401b19 move more specific case first 2013-01-20 16:22:05 +08:00
melvin 2fa15c465e replace last bit of card specific in the engine with groovy script 2013-01-20 15:44:37 +08:00
melvin 8a840b5767 add getComeIntoPlayTrigger to MagicPermanent, made MagicPlayer.getCount private 2013-01-20 14:52:37 +08:00
melvin a307f19f59 add more auto imports for groovy script 2013-01-20 12:55:52 +08:00
melvin 725b436ada correct reference to target choice 2013-01-20 12:45:49 +08:00
melvin 984aa4dbe6 use method from MagicPermanent directly 2013-01-20 10:50:16 +08:00
melvin 1fc8163069 use method from MagicPermanent directly 2013-01-20 10:32:04 +08:00
melvin ebd9612dfe use method from MagicPermanent directly 2013-01-20 10:31:42 +08:00
melvin 556fffd874 implement Legend rule using LegendaryTargetFilter 2013-01-20 10:30:50 +08:00
melvin e9945a37fa call method on MagicPermanent instead of getting MagicCardDefinition 2013-01-20 10:30:19 +08:00
melvin 3e25833191 call method on MagicPermanent instead of getting MagicCardDefinition 2013-01-20 10:29:40 +08:00
melvin 1c73cb47be add more methods that delegate to cardDefinition 2013-01-20 10:28:58 +08:00
melvin 8d3eec6f71 call method of MagicPermanent instead of calling through to underlying MagicCardDefinition 2013-01-20 10:02:09 +08:00
melvin 1a509184f8 updated card code to use Set<MagicAbility> 2013-01-19 19:13:47 +08:00
melvin 692d4b234d replace long representation of multiple MagicAbility with Set<MagicAbility> 2013-01-19 17:02:56 +08:00
melvin 231e40356f incorporate incomplete scripts into score computation 2013-01-18 17:27:34 +08:00
melvin 747f7cb257 move Sinister Strength from incomplete to scripts 2013-01-15 13:18:52 +08:00
melvin 578a092ccf added property overwrite_color to card script 2013-01-15 13:17:52 +08:00
melvin 2253e551b9 added 'switch pt <mana cost>' to ability, remove groovy script with ability in card script 2013-01-14 15:17:24 +08:00