Commit Graph

7500 Commits (7a9df2a936ed287c2ae7a38e180ea06e3f93511a)

Author SHA1 Message Date
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
melvin 1e83239e11 move Scythe Tiger incomplete to scripts by adding groovy script 2013-01-13 21:54:28 +08:00
melvin abcd64e5c6 add choice and trigger imports to groovy script 2013-01-13 21:53:01 +08:00
melvin 81439d5471 move Dreadwing from incomplete to scripts by adding untap ability as groovy script 2013-01-13 21:42:52 +08:00
melvin ec769c237f move Colossus of Sardia from incomplete to scripts by adding untap ability as groovy script 2013-01-13 21:37:23 +08:00
melvin 8bda6e5a8e added MagicManaCost.NINE 2013-01-13 21:37:02 +08:00
melvin 6c86e94a5f move Windreaver from incomplete to scripts by providing groovy script for switch pt ability 2013-01-13 10:53:18 +08:00
melvin 0e99edb87c increase activation choice from 3 to 6 2013-01-13 10:52:19 +08:00
melvin a9341ac5b4 added more imports for groovy scripts 2013-01-13 10:32:58 +08:00
melvin ac9c06f2a5 added rule to check for correspondence of card script and groovy script 2013-01-13 10:14:58 +08:00
melvin aa2a640545 added 'return to owner's hand <mana cost>' to script, replace card code with script 2013-01-13 10:10:57 +08:00
melvin 40dcc3298a move Spirit of the Night from incomplete to scripts by creating groovy script 2013-01-13 09:55:18 +08:00
melvin 284c32c3d6 automatic imports for groovy scripts 2013-01-13 09:54:46 +08:00
melvin b0160e533f added 'charge at upkeep' to ability script, replace code for AEther Vial and Golden Urn with script 2013-01-12 11:21:31 +08:00
melvin a4283d7a03 improved description for Realm Razer to indicate that returned cards will be tapped 2013-01-12 11:10:33 +08:00
melvin 2e1ba82aaa merge duplicate ability property 2013-01-12 11:09:12 +08:00
melvin 564a79b5d5 replace card code with 'leaves return exile' script 2013-01-12 11:08:21 +08:00
melvin 870ec1a5af add 'tap prevent damage 1' to ability, replace code for Samite Healer with script 2013-01-12 10:54:53 +08:00
melvin 067ccde1df move prevent 1 activation from Abuna Acolyte to Samite Healer 2013-01-12 10:47:44 +08:00
melvin 266b9e46e2 added 'untap <mana cost>', move Morphling from incomplete to scripts 2013-01-12 10:37:23 +08:00
melvin c6651dace0 added TARGET_LAND_OR_NONBLACK_CREATURE, move Befoul from incomplete to scripts 2013-01-12 09:58:30 +08:00
melvin a70a5b4757 added 'tap add charge' to ability, move Mirrodin's Core from incomplete to scripts 2013-01-12 09:52:07 +08:00
melvin 21c5b4670d assert that no args are given for core abilities 2013-01-12 09:38:41 +08:00
melvin ae0ffda66f remove reference to Control_Magic.S, use card script 'control enchanted' instead 2013-01-11 14:10:18 +08:00
melvin 5ab9e6ff76 move Archwing Dragon's code into MagicAtEndOfTurnTrigger, add 'return at end' ability 2013-01-11 13:26:55 +08:00
melvin 5b85268818 remove code for Control Magic 2013-01-11 13:21:21 +08:00
melvin 416d808f5b move Control Magic's code into MagicStatic, add 'control enchanted' ability 2013-01-11 13:20:22 +08:00
melvin 988a81a037 remove Rancor's card code, add 'die return to owner's hand' ability 2013-01-11 11:45:57 +08:00
melvin 10b26b35ca fixed: Cloudheath Drake missing flying ability 2013-01-11 09:40:09 +08:00
melvin 5baeb0bf68 for automatic mana selection, if number of sources equal to min cost, further check that each source only has one mana activation 2013-01-11 09:35:23 +08:00