Commit Graph

20580 Commits

Author SHA1 Message Date
swordshine
8810a67f7a - vanguard: Added Sliver Queen Avatar 2013-04-03 07:48:44 +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
swordshine
fc15876846 - Fixed a typo 2013-04-03 05:20:27 +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
swordshine
9679890ede - Fixed Jihad (IsPresent is not used in static abilities) 2013-04-03 00:19:14 +00:00
Sloth
6e3d39b9ce - Updated some SVars. 2013-04-02 22:41:21 +00:00
Sloth
36cbb95d3c - Improved Encode AI. 2013-04-02 22:34:18 +00:00
Sloth
c4ee8cb931 - Fixed Mercadian Atlas. 2013-04-02 22:18:10 +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
bcc11d2391 - Converted Splitting Headache to proper Charm 2013-04-02 15:32:08 +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
swordshine
397d2ce3cd - Some stack descriptions 2013-04-02 12:06:04 +00:00
Chris
e5b51cef2f - Added new card names to changes.txt. 2013-04-02 11:44:28 +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
moomarc
d9778c9cfa - added Chooser and DefinedPlayer params to some ChangeZone hidden origin cards 2013-04-02 07:44:39 +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
67817aaecd - Added Delay 2013-04-02 05:51:56 +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
Maxmtg
e1d6825341 fixed script for castigate 2013-04-01 20:35:14 +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
Chris
26ca62653c - Added new card names to changes.txt. 2013-04-01 12:42:29 +00:00