Commit Graph

11485 Commits (539deb77170d4bce7fea507bb4722ca9a0995589)

Author SHA1 Message Date
melvin 539deb7717 replace groovy code with card script 2013-10-31 17:30:19 +08:00
melvin e3d44ff1d9 replace groovy code with card script 2013-10-31 17:28:59 +08:00
melvin 8ce1f0f2a5 replace groovy code with card script 2013-10-31 17:27:29 +08:00
melvin dcf9203db1 replace groovy code with card script 2013-10-31 17:25:45 +08:00
melvin 30888b4958 test for checking of whether cost on activated abilities can be paid, especially in cases where the ability's mana cost cannot be paid by the permanent's mana ability 2013-10-31 17:24:36 +08:00
melvin 0ec5f41b5e simplify groovy script 2013-10-31 17:17:46 +08:00
melvin 18f7362cdf pay costs without choices before those with choices so that {T} is before mana cost to avoid cases where {T} cost cannot be paid as permanent was tapped to pay mana cost 2013-10-31 16:35:47 +08:00
melvin 1a78daa84f replace MagicPayManaCostTapEvent with two separate events 2013-10-31 15:30:33 +08:00
melvin 69b01c05e0 remove condition that prevent card from paying for activated ability 2013-10-31 15:23:57 +08:00
melvin d4c3095d12 add custom canPlay method for MagicPermanentActivation to perform more complex checking such as permanent that needs to tap but already tapped to pay for mana cost 2013-10-31 14:35:15 +08:00
melvin c07e0a62a9 remove final from canPlay so it can be overwritten in subclass 2013-10-31 14:34:04 +08:00
melvin 0a97959943 added record and restore method to MagicGame as convienent wrapper for undoing in a regular and AI game 2013-10-31 14:33:46 +08:00
melvin 37c9d5a00e remove empty lines 2013-10-31 13:36:24 +08:00
melvin 38237efe82 merged new cards 2013-10-31 13:18:33 +08:00
melvin e23638966b replace groovy code with card script 2013-10-31 11:10:18 +08:00
melvin dae109700e replace groovy code with card script 2013-10-31 11:09:10 +08:00
melvin 8f11344bcb replace groovy code with card script 2013-10-31 11:08:22 +08:00
melvin ca8d2fb48f replace groovy code with card script 2013-10-31 11:07:41 +08:00
melvin 68dd1862c0 replace groovy code with card script 2013-10-31 11:06:45 +08:00
melvin 0d09ad5923 support 'spirit or arcane effect <effect>' 2013-10-31 11:04:02 +08:00
melvin ce932ae6aa replace groovy code with card script 2013-10-31 10:55:42 +08:00
melvin e799c0e7b3 replace groovy code with card script 2013-10-31 10:54:20 +08:00
melvin 4199505e6a replace MagicGainActivation with general activated ability, added support for custom conditions to MagicRuleEventAction 2013-10-31 10:51:50 +08:00
melvin 7433530ae3 replace groovy code with card script 2013-10-30 20:57:31 +08:00
Jericho Pumpkin 2afbc41748 Add script for Worldly Tutor 2013-10-30 10:49:58 +00:00
Jericho Pumpkin 90f1c96b67 Add script for Sylvan Tutor 2013-10-30 10:49:21 +00:00
Jericho Pumpkin e3120e5b0c Add script for Personal Tutor 2013-10-30 10:48:47 +00:00
Jericho Pumpkin fc1a7c7e14 Add script for Mystical Tutor 2013-10-30 10:48:17 +00:00
Jericho Pumpkin e357ebfa33 Add script for Idyllic Tutor 2013-10-30 10:47:38 +00:00
Jericho Pumpkin 4f86bb8f5a Add script for Enlightened Tutor 2013-10-30 10:47:09 +00:00
Jericho Pumpkin 4a4534f092 Add script for Cruel Tutor 2013-10-30 10:46:27 +00:00
Jericho Pumpkin 39a1bd2afe Add script for Vampiric Tutor 2013-10-30 10:45:52 +00:00
Jericho Pumpkin eb48589f46 Add script for Grim Tutor 2013-10-30 10:45:14 +00:00
Jericho Pumpkin 1e11533ed4 Add script for Diabolic Intent 2013-10-30 10:44:32 +00:00
Jericho Pumpkin 7157700ba9 Add script for Diabolic Tutor 2013-10-30 10:43:59 +00:00
melvin ddc3384ccc specialize GrowSelf to only handle +1/+1 counters, other counters should use ChargeSelf 2013-10-30 17:30:03 +08:00
melvin 5430402d17 catch exception during loading of card abilities so we can report the card name 2013-10-30 17:29:34 +08:00
melvin 043f0dbf98 replace groovy code with card script 2013-10-30 15:16:53 +08:00
melvin ea803a2e15 support 'put <amount> -1/-1 on <chosen>' 2013-10-30 15:11:05 +08:00
melvin d0bc130a55 replace groovy code with card script 2013-10-30 14:48:51 +08:00
melvin 211ca0fb53 correct regex 2013-10-30 14:48:37 +08:00
melvin 4639577577 fix implementation of grow chosen effect 2013-10-30 14:45:32 +08:00
melvin 6f72be4f86 replace groovy script with card script 2013-10-30 14:36:51 +08:00
melvin d28b13b00a replace groovy script with card script 2013-10-30 14:34:17 +08:00
melvin 527f08022b support putting +1/+1 counter on chosen creature 2013-10-30 14:33:37 +08:00
melvin 79c632015f replace groovy script with card script 2013-10-30 14:19:34 +08:00
melvin aa1fa901f1 support 'your end step effect <effect>' 2013-10-30 14:18:37 +08:00
melvin b0a950cafc replace groovy script with card script 2013-10-30 11:56:45 +08:00
melvin a6e3c735c1 support '<choise> draws <amount> cards.' effect 2013-10-30 11:56:04 +08:00
melvin d013c679e9 replace 'return at end' with more general 'end step effect <effect>' ability 2013-10-30 11:49:18 +08:00