Maxmtg
7cd1e65ecb
use unboxed types if possible
2013-05-22 04:14:38 +00:00
Maxmtg
79b92d40dc
bugfix
2013-05-22 04:04:02 +00:00
Maxmtg
3a2b9d17d9
bugfix
2013-05-22 03:55:57 +00:00
Maxmtg
0a03727d6e
AI won't gain priority during UNTAP step
2013-05-22 03:32:59 +00:00
Sol
695b446c60
- Added the capability to play Challenges vs predetermined decks (along with a few other related options to disallow specific quest mode things)
...
- Added Sorin vs Tibalt, and Tibalt vs Sorin as examples of Challenges that force you to use a specific Deck. (They seemed to be the best duel deck compatibility for the AI).
2013-05-22 03:12:54 +00:00
Hellfish
30454f3cab
*Fixed NPE when spectating AIvAI into game 2+
2013-05-21 20:51:40 +00:00
Sloth
8ac75ba23c
- Cleanup in ComputerUtilMana.
2013-05-21 17:30:42 +00:00
Maxmtg
5a1c4980cb
cast was unneed
2013-05-21 16:40:44 +00:00
Sloth
3873ad9633
- Fixed and improved AI mana payment.
2013-05-21 16:35:10 +00:00
Sloth
e470cf95e3
- Fixed AI using a card to pay for its own ability.
2013-05-21 11:46:10 +00:00
Maxmtg
7b8efdd38e
Mulligan code moved to GameAction
...
UI will no longer ask you to keep or re-deal in ai-vs-ai games
2013-05-21 10:49:22 +00:00
Sloth
763e51e645
- Improved MillAi.
2013-05-21 09:51:40 +00:00
swordshine
c04ce7e5c4
- M14: added Grim Return, Scourge of Valkas, and Windreader Sphinx
2013-05-21 08:46:28 +00:00
Maxmtg
7c5eae6e42
Added support for AI vs AI matches
2013-05-21 08:26:27 +00:00
Maxmtg
364667855d
Allies - initialization
2013-05-21 06:57:56 +00:00
Maxmtg
13dc9fedd9
Allies list added to player, all relations (like isOpponent) will be based on it
2013-05-20 20:49:33 +00:00
Maxmtg
3fd671c7e7
ReplacementEffect optional choice and confirm shuffle effect moved to PlayerController
2013-05-20 20:08:22 +00:00
Maxmtg
933368338b
one less call to isHuman
2013-05-20 19:13:56 +00:00
Maxmtg
55afc18103
fixed Boros Battleshaper
2013-05-20 15:07:51 +00:00
Maxmtg
84534836ce
removed more calls to isHuman/isComputer
2013-05-20 12:20:49 +00:00
Maxmtg
96694641b9
Dig: reveal optional remembers if you've chosen to reveal the card.
...
uses playerController to decide whether to reveal or not
2013-05-20 12:04:00 +00:00
Maxmtg
736950339d
confirmAction - added a enum parameter for cases when no API is avaliable
...
ChooseTypeEffect - moved choose logic into ComputerUtil
2013-05-20 11:33:09 +00:00
Maxmtg
45db708e5f
Triggers - always ask or accept: moved to base PlayerController class, VStack allows to choose only for controlled triggers
2013-05-20 10:09:25 +00:00
Maxmtg
ba1dc538d6
Duplicate triggers problem solved (Mana Vortex req'd 2 lands, Emrakul gave 2 extra turns)
2013-05-20 09:44:07 +00:00
Maxmtg
20fab7e307
a couple of fields moved to base class
2013-05-20 08:49:53 +00:00
Maxmtg
9c10ec02a8
trigger does not really need a name
2013-05-19 22:08:53 +00:00
Maxmtg
a60ac3bcde
improve ability choice
2013-05-19 21:57:14 +00:00
Maxmtg
9a66973dc4
fix bug in mana express choice from colorset
2013-05-19 21:51:07 +00:00
Maxmtg
fe02d5c6fc
Triggers: someone has mindlessly copy-pasted method 'getCopy'. I've implemented it in base class (using reflection to get the right instance) and as mindlessly removed the duplicated code
2013-05-19 21:35:20 +00:00
Maxmtg
8791cd9400
input class for phyrexian dreadnought - from annonymous to nested
2013-05-19 21:06:32 +00:00
Maxmtg
b78cc19e1c
CostPutCounter - input is based on select cards
...
CostRemoveCounter removed a variable (using a field from super class instead)
2013-05-19 20:50:30 +00:00
Maxmtg
0936352729
renamed 2nd mulligan class
2013-05-19 20:48:57 +00:00
Maxmtg
5246badd68
removed references to CMatch in a few inputs,
...
InputPayCostBase merged with its single descendant
2013-05-19 20:08:46 +00:00
RedDeckWins
d287394e30
Fix QuestEventDuelManager, remove java 7 diamond operator usage.
2013-05-19 19:36:16 +00:00
Maxmtg
5d16825183
delete duplicate method
2013-05-19 18:49:40 +00:00
Maxmtg
9f00358333
remove warnings
2013-05-19 18:49:26 +00:00
Maxmtg
4da3f550ed
QuestEventChallenge are keyed by id in their storage.
...
The storage reader will print a warnings in console when you are trying to load a second object with same id.
2013-05-19 18:30:50 +00:00
Maxmtg
d1e058c4b2
finished replacing inplace deck chooser with component
2013-05-19 13:33:47 +00:00
Maxmtg
e3de88856f
deck panel display
2013-05-19 13:22:32 +00:00
Maxmtg
84674aeb86
Quest duels and challenges stored in separate arrays.
...
When you chose a quest challenge from Home screen, you also get all extra creatures on battlefield
Deck generation now able to correctly generate decks of definite + random color
MyRandom uses SecureRandom
2013-05-19 13:17:30 +00:00
Maxmtg
28deb7d70a
added cardsUsed list to test manacosts
2013-05-19 10:18:31 +00:00
RedDeckWins
f39e6e9fc3
implement bronze horse. added IsTargetingSource property.
2013-05-19 04:21:40 +00:00
Maxmtg
c4c2865647
Allow player to start quest with cards defined in a cube. (uniqueness ignored)
2013-05-18 22:57:49 +00:00
Maxmtg
ccf9fd4600
crown_of_empires - uses a common variable, not a custom condition to check for M12 empire parts.
...
Removed special conditions from spellability/SpellAbilityCondition.java
adjusted visibility for a few methods
Zone: cotains(predicate<Card>) method added, still don't know if it's correct to put it there.
2013-05-18 22:38:36 +00:00
Maxmtg
323fbcfb92
idle_thoughts.txt use a common condition check,
...
a dedicated condition 'ConditionCardsInHand' removed
2013-05-18 21:37:36 +00:00
Sloth
b3244f372d
- Improved AI dealing with Armored Transport.
2013-05-18 09:13:35 +00:00
Maxmtg
bdc11dd9e7
made a few methods with descriptive names to wrap that payManaCost with 5 parameters
...
corrected the extra mana calculation for Nether Void and Spelltithe Enforcer
2013-05-18 06:57:02 +00:00
Maxmtg
591b05d1de
@TriggerReplacementBase.meetsCommonRequirements a check for ManaNotSpent was fetching a wrong parameter
2013-05-18 05:47:37 +00:00
swordshine
ec0f47ee84
- M14: Added Shadowborn Apostle and Shadowborn Demon
2013-05-18 05:43:38 +00:00
Maxmtg
ebc75a9e62
added checkStaticAbilities before subAbilities resolve (fixes: Platinum Emperion targeted by Swords to Plowshares)
2013-05-18 05:40:48 +00:00