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
Maxmtg
1d4b6cc88a
remove diamond operator in ManaCostBeingPaid
...
remove setKeywords from Player (the method was never referenced and has been added by checkstyle enforcing)
compare static abilities - a slight optimization
2013-05-18 05:23:40 +00:00
Maxmtg
0df9763ec1
AI & Human mana payment, ManaPool, ManaCostBeingPaid refactored.
...
The game uses a byte with flags set instead of color names in more cases.
2013-05-17 18:45:06 +00:00
Sloth
e3bbf15a9c
- Cleanup in ComputerUtil.
2013-05-17 11:43:57 +00:00
Maxmtg
a44f27d280
minor rearrangement (just need to get these out of files-to-commit list)
2013-05-16 06:21:15 +00:00
Sloth
7dd6df890e
- Fixed AI of Death by Dragons.
2013-05-15 20:57:08 +00:00
Sloth
d62941f5ad
- Improved LifeLoseAi.
2013-05-15 18:01:52 +00:00
Sloth
73f81361a0
- Added a default logic to ProtectionEffect AI.
2013-05-15 17:15:35 +00:00
Sloth
848fd460dc
- Added a castSpellInMain1 AI function that currently checks for Cipher subAbilities and BuffedBy SVars.
2013-05-15 14:50:41 +00:00
RedDeckWins
1577f9110d
war tax implemented. propaganda combat check now looks in the command zone as well.
2013-05-15 04:49:56 +00:00
Maxmtg
37655012ad
SpellAbilityStackInstance keeps original activating player and restores it on getSpellAbility call
2013-05-15 04:11:23 +00:00
Maxmtg
77e9ebc456
more resilent quest loader - handles situations like 'I took quest save from my friend who has all duel decks added to setdata.txt, and this quest fails to load on my machine dues to missing cards'
2013-05-15 04:03:09 +00:00