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
swordshine
aa46a48888
- Converted "DifferentCardNames", ready for new DGM card Maze's End
2013-04-02 05:21:53 +00:00
swordshine
0567c7a3a5
- Improved AI for Cleansing
2013-04-02 02:06:44 +00:00
swordshine
3714ccc14a
- CounterEffect: Renamed "RememberTargets" (we have another "RememberTargets" in AbilityUtils)
...
- Added Fold into AEther, Hinder, and Swift Silence
2013-04-02 00:48:12 +00:00
Maxmtg
49f288197d
Added player's loss condition for 21 damage from generals
2013-04-01 21:49:12 +00:00
Maxmtg
998c8dae8b
minor - write a logical sentence in a single line
2013-04-01 21:18:33 +00:00
Maxmtg
e797ce337a
removed couple of methods, whose results can be derived from other members
2013-04-01 21:17:31 +00:00
Maxmtg
7666f67067
InputSelectTargets - added targeted cards' highlighting, corrected target selection for divide as you choose
2013-04-01 20:56:37 +00:00
Hellfish
7009df7ea0
*Fixed Color Identity for cards like Transguild Courier and DFC's.
2013-04-01 20:01:47 +00:00
Maxmtg
5f19620d82
iteration of all subabilities to select targets is made in spellability/SpellAbilityRequirements.java
...
input/InputSelectTargets.java doesn't ask for more targets if all damage (or other thing) has been already 'divided as you choose'
TargetSelection does not use cancel, it returns false instead
2013-04-01 19:57:58 +00:00
Maxmtg
dec594f7d0
Won't crash if precon deck didn't have the 'set' value
2013-04-01 18:35:45 +00:00
Hellfish
91fb2a8f8c
*Removed ColorIdentity field from ICardCharacteristics,CardRules and scripts.
...
*Added experimental Oracle Color Identity parser.
2013-04-01 18:13:42 +00:00
Maxmtg
7811880919
Simplified and partially inlined chooseCardFromStack
...
changed return type of zone.getPosition to unboxed int
2013-04-01 18:02:48 +00:00
Hellfish
680821cd95
*Reinstated Soul Seizer fix
2013-04-01 17:02:08 +00:00
Maxmtg
e329fe22c5
Renamed TargetChooser.java back into TargetSelection (for Sol)
...
CostSacrifice - removed input, using a common one
other list-related costs use getDescriptiveType method from base class
InputPayManaExecuteCommands won't reset manaCost because the class is not reusable anyway.
2013-04-01 15:27:02 +00:00
Maxmtg
b532e7147e
static utility methods dealing with ability targets moved from TargetChooser to SpellAbility as instance methods
2013-04-01 15:06:20 +00:00
Maxmtg
0700036b96
InputSelectTargets moved to separate class,
...
SpellAbilityRequirements - all options are passed as parameters to fillRequirements
2013-04-01 14:47:38 +00:00
Hellfish
96d3f0c3e8
*Fixed a Soul Seizer crash.
2013-04-01 12:41:16 +00:00
Maxmtg
9d4a18f0c2
Targeting code fixed to support fireballs and other spell with multiple targets.
...
Some classes had references to ArrayList instead of list, this was also changed
2013-04-01 09:56:12 +00:00