Commit Graph

5816 Commits

Author SHA1 Message Date
swordshine
4e57d64659 - Converted Nebuchadnezzar and Brilliant Ultimatum 2013-04-04 10:31:03 +00:00
Maxmtg
0dc4bb0f10 stack descriptions for spells with X in cost fixed (X is displayed correctly) 2013-04-04 07:10:56 +00:00
Sloth
27ae91a1cf - Cleanup of Combat class.
- Added some infrastructure for "BecomesBlocked" effects.
2013-04-04 06:59:03 +00:00
Maxmtg
8124378853 limited announce list to 9 due to harder selection of numbers above 10 2013-04-04 06:28:39 +00:00
Maxmtg
e518027ff5 combineCosts - bugfix 2013-04-04 06:12:33 +00:00
Maxmtg
5b98f34a6d focus on OK after creature selection 2013-04-04 06:01:57 +00:00
Maxmtg
f333535721 joinHomogenous 2013-04-04 05:56:18 +00:00
Maxmtg
e1d1bb45d6 removed language routines from GameState, moved to land library. 2013-04-04 05:43:14 +00:00
Maxmtg
628260b1fb minor rearrange of statements 2013-04-04 05:26:32 +00:00
Maxmtg
16414982a8 the 'state' of GameState added - named it GameAge
this should prevent wrong inputs before mulligan (problem reported by sol)
2013-04-04 05:16:46 +00:00
Maxmtg
3b88eae063 InputControl.java - getActualInput: moved stack extraction to top. so that mulligan input is returned only with empty stack. 2013-04-04 04:28:04 +00:00
Maxmtg
43553e7b3b Sacrifice effect will try to include SacValid$ into message for easier understanding of what input wants you to do 2013-04-04 04:25:30 +00:00
Maxmtg
609f99a2b6 BugReporter will print crashed thread ID 2013-04-04 04:24:17 +00:00
Sloth
e5b20fbb8a - runWaitingTriggers will now call checkStaticAbilities before triggers are checked (experimental). 2013-04-03 22:05:42 +00:00
Maxmtg
e3eb4dd972 simultaneous announces for X and multikicker work now.
Comet storm scripted, Strength of Tajuru scriptable.
possible side effect: AI can may become unable to cast spells with X in their cost. (see ComputerUtilMana.java:242)
2013-04-03 20:59:31 +00:00
Maxmtg
d4d19f4f65 Tested consume_spirit.txt with Announce with X that must be colored - works! 2013-04-03 19:12:55 +00:00
Maxmtg
7ffd8008d5 fix2 2013-04-03 19:07:42 +00:00
Maxmtg
6c292fd067 bugfix for announced X 2013-04-03 19:04:09 +00:00
Maxmtg
e7365a8068 bugfix, CostPartMana tried to take color of X into account 2013-04-03 18:54:11 +00:00
Maxmtg
a787b9a075 CostPartMana - rearrange and cleanup,
InputPayManaOfCost now takes ManaCostBeingPaid as parameter
AbilityUtils - workaroud about StringUtils.isNumeric that returned false for negative numbers
2013-04-03 18:16:18 +00:00
Maxmtg
7d3ee5635a CostPartMana now contains a ManaCost instance, no more strings 2013-04-03 17:57:01 +00:00
moomarc
4a5d500f97 - Added Blazing Effigy 2013-04-03 17:09:39 +00:00
Maxmtg
e7b1a07742 had to move setActivatingPlayer to an earlier moment because player was needed yet at the point of costs check 2013-04-03 15:18:52 +00:00
Maxmtg
0d00496afe same as previous 2013-04-03 15:14:00 +00:00
Maxmtg
8586768dcd fixed a bug with incorrect recognition of numbers written as +N (titanic growth was affected) 2013-04-03 15:13:31 +00:00
swordshine
d69dd49bb1 - Simplified some codes and and stack descriptions 2013-04-03 11:01:59 +00:00
Maxmtg
8be07d95f2 cleanup of AbilityUtils.calculateAmount - if amount is pure integer, it's returned right away (that means no svars may be named after valid numbers)
former parseMath renamed and no longer returns an array of one string (just return the string)
2013-04-03 09:35:09 +00:00
swordshine
25388ecda8 - Vanguard: Added Jhoira of the Ghitu Avatar 2013-04-03 08:43:51 +00:00
Maxmtg
d9e3978bab the remaining 2 methods used to play human's spells also moved to HumanPlayer
GameActionPlay.java eliminated.
2013-04-03 07:19:05 +00:00
swordshine
10f4be4c97 - vanguard: Added Peacekeeper Avatar and Stonehewer Giant Avatar 2013-04-03 06:59:40 +00:00
Maxmtg
b8107ac97f SpellAbility cost adjustment moved to ManaCostBeingPaid
the adjustment modifies the instance of ManaCostBeingPaid it was called on (all callers do create a new instance anyway and call this first)
2013-04-03 06:59:25 +00:00
Maxmtg
8368b4c8c6 GameActionPlay.playXXX => HumanPlayer (the only one who used them)
GameActionPlay.setSplitCardState => Card class (a logical place and will require less parameters)
2013-04-03 05:32:09 +00:00
Maxmtg
9f83c38d75 copy-pasters must die!
(moved after mulligan actions to MatchController (temporary))
2013-04-03 05:14:35 +00:00
swordshine
4481fb72bd - Vanguard: Added Akroma, Angel of Wrath Avatar and Eight-and-a-Half-Tails Avatar 2013-04-03 00:22:36 +00:00
swordshine
24145e7da8 - Added Heroism 2013-04-03 00:20:08 +00:00
Sloth
36cbb95d3c - Improved Encode AI. 2013-04-02 22:34:18 +00:00
Sloth
d725eda5bc - Fixed chooseAndPlaySa not setting activating player. 2013-04-02 21:55:19 +00:00
Maxmtg
1f9e4b07e3 GuiChoose.order is also always invoked by EDT.
Found a right wrapper class to pass Callables to EDT,
2013-04-02 20:21:11 +00:00
Hellfish
a7a6a199e8 *How did I misread the part about shuffling exiled cards back in after mulligan? Jeez. 2013-04-02 20:15:14 +00:00
Maxmtg
81b988ae14 GuiChoose invokes ListChooser from EDT thread. 2013-04-02 19:54:17 +00:00
Hellfish
02cff88cf9 *Fixed enabling/disabling of buttons in partial paris mulligan. 2013-04-02 19:27:51 +00:00
Hellfish
f760d39e7e *Added support for Partial Paris Mulligan. 2013-04-02 19:13:44 +00:00
Maxmtg
3e0cd0ad44 Player.playSpellAbility moved to HumanPlayer since that method is used only for it.
Removed a restriction that made impossible to play abilities from opoonent's cards
2013-04-02 19:00:50 +00:00
moomarc
f7a5217d69 - Improved stack description for hidden origin ChangeZone abilities. Probably still room for improvement, but it should be way better than it was. 2013-04-02 13:55:33 +00:00
moomarc
18266580a3 - Fixed the hidden origin ChangeZone abilities that use a target (stack descriptions still need to be reworked but that has been an issue for a while) 2013-04-02 10:33:19 +00:00
swordshine
69978b40e9 - Converted Karma to script 2013-04-02 09:41:00 +00:00
swordshine
1f42e9cc70 - Added Runed Halo 2013-04-02 07:57:59 +00:00
Maxmtg
2e98741d87 reveting incorrect implmentation of damage dealt by general calculation 2013-04-02 06:20:21 +00:00
Hellfish
3d57a98d3c *Some Commander infrastructure added 2013-04-02 06:15:58 +00:00
swordshine
d83b6b7e66 - Added Cut the Tethers 2013-04-02 05:29:40 +00:00