Commit Graph

21304 Commits (7a56763a4715aa61024bb31a6f2b5455ea1207ea)

Author SHA1 Message Date
melvinzhang 7a56763a47 compute child desc before executeNextEvent as the executeEvent may alter result of choice[0].toString, for example, in the case of revealing cards 2015-04-29 23:28:28 +08:00
melvinzhang f765a480c6 add new items to 1.61 draft release notes 2015-04-29 23:28:28 +08:00
melvinzhang 9055ec93f6 fix missing call to onAddEvent in AddFirstEventAction 2015-04-29 23:28:28 +08:00
melvinzhang 9ec055af3e include known state in MagicCard.getStateId 2015-04-29 23:28:28 +08:00
melvinzhang 32f6449cc2 catch errors in runnable 2015-04-29 23:28:27 +08:00
ShawnieBoy 0f56f5a8ec reparse scripts missing for ability text 2015-04-28 18:23:33 +01:00
melvinzhang 4f953e2283 submit tasks only if there is still time 2015-04-28 22:40:29 +08:00
ShawnieBoy 3a6484283c reparse scripts missing 2015-04-28 12:18:15 +01:00
ShawnieBoy ac173d1e07 Fix: correct oracle and ability for Beasts of Bogardan - include
nontoken
2015-04-28 11:52:45 +01:00
melvinzhang 8663db9ebe use player.getStateId instead of event.getStateId which is not deterministic as it depends on action.hashcode 2015-04-28 17:35:20 +08:00
melvinzhang e05d10161c fix unquoted $ in command for finding indentation mistakes 2015-04-28 11:09:48 +08:00
melvinzhang b2f78fce56 only generate unique names for nameless permanents in real game to avoid tripping MCTS consistency checker, add isName method 2015-04-27 22:34:36 +08:00
melvinzhang 232065a590 remove AIRevealAction.Hide from ShuffleLibraryAction, call it in executeEvent 2015-04-27 21:02:01 +08:00
melvinzhang 094967c0da add rule to find groovy scripts with non standard indentation 2015-04-27 19:23:20 +08:00
melvinzhang 9f790f4c89 improve indentation 2015-04-27 19:20:45 +08:00
melvinzhang 0de1cc3932 improve indentation 2015-04-27 14:10:50 +08:00
melvinzhang cd4298d4dd improve indentation 2015-04-27 14:03:24 +08:00
melvinzhang 02316b38c5 replace groovy code with card script 2015-04-27 12:55:21 +08:00
melvinzhang d65ec81d2e support 'reveal the top [amount] cards of your library. Put all [cards] revealed this way into your hand and the rest on the bottom of your library in any order.' 2015-04-27 12:54:39 +08:00
melvinzhang 4258ec0e8b improve indentation 2015-04-27 12:36:07 +08:00
melvinzhang e4ac3930d6 improve indentation 2015-04-27 12:02:44 +08:00
melvinzhang 3ffa972f13 limit Varchild's Crusader ability to activate at most once per turn for the AI 2015-04-26 19:48:40 +08:00
melvinzhang 9ed5d5663a construct update task once, ensure it runs at least once 2015-04-26 18:59:25 +08:00
melvinzhang 43222d2c23 update cubes and card value 2015-04-26 16:43:05 +08:00
melvinzhang a6ecbff355 restore original text, limit AI to three activations 2015-04-26 15:44:44 +08:00
melvinzhang f3e6b98288 prevent infinite activation of tap to untap itself 2015-04-26 15:18:59 +08:00
melvinzhang badfa7e021 replace cast with getTargetChoice 2015-04-26 13:52:14 +08:00
melvinzhang 64b994d520 get target choice directly from event 2015-04-26 13:38:14 +08:00
melvinzhang 2b6631d481 event may be null, should use getEvent 2015-04-26 12:53:15 +08:00
melvinzhang 8fb1f2fa47 event may be null, should use getEvent 2015-04-26 12:47:06 +08:00
melvinzhang 83db7942f0 remove added cards from scripts_missing 2015-04-26 11:56:35 +08:00
melvinzhang f99766c48d add Denizen of the Deep 2015-04-26 11:56:35 +08:00
melvinzhang 39520fa0b2 replace groovy code with card script 2015-04-26 11:56:35 +08:00
melvinzhang 32cf839136 add ability 'when [permanent] deals combat damage to an opponent, [effect]' and 'when [permanent] becomes the target of [spell/ability], [effect] 2015-04-26 11:45:03 +08:00
melvinzhang 03b3387555 add getTarget, replace containsInChoiceResults with isTarget 2015-04-26 11:45:03 +08:00
melvinzhang c83b4b61fe add filter 'spell or ability an opponent controls' 2015-04-26 11:45:03 +08:00
melvinzhang 457e38c7ad generalize BounceSelf to BounceIt 2015-04-26 11:44:56 +08:00
melvinzhang 04d3eed3a8 add CombatDamageToOpponent 2015-04-26 11:32:21 +08:00
melvinzhang 3c3edc1a82 improve specificity of CHOICE regex 2015-04-26 11:21:51 +08:00
melvinzhang cdf485dc16 add back Balance with 4e card image and event description 2015-04-26 10:07:17 +08:00
melvinzhang 498a66f159 remove unused filter constants 2015-04-25 20:02:42 +08:00
melvinzhang 9ee51798dc update cards value property 2015-04-25 18:09:00 +08:00
melvinzhang 9715caec1d update cubes 2015-04-25 17:45:36 +08:00
melvinzhang a852611b33 first draft of 1.61 release notes 2015-04-25 17:45:12 +08:00
melvinzhang 458a604227 rename ARG.PERMANENT to ARG.CHOICE 2015-04-25 13:12:27 +08:00
melvinzhang a42727fb0a restore missing effect for Balance in scripts_missing 2015-04-25 12:08:53 +08:00
melvinzhang a944ac56f7 replace duplicate regex with reference to constant in ARG 2015-04-25 12:05:32 +08:00
melvinzhang 1d6ab2940e repalce groovy code with card script 2015-04-25 11:29:16 +08:00
melvinzhang b66dd00aaf replace groovy code with card script 2015-04-25 10:18:59 +08:00
melvinzhang b99136fbc9 support more templates for play mod 2015-04-25 10:11:47 +08:00