Maxmtg
bf5bd91e9a
GameLog - attack and block are powered by events.
...
Combat - renamed some methods, extracted aside blocker costs
2013-06-02 15:08:37 +00:00
Sloth
620e1ac0cf
- Fixed Cleanup Phase Triggers not firing.
2013-06-02 09:37:36 +00:00
Maxmtg
46a249a238
temporarily inlined PhaseUtil.handleDeclareAttackers and handleAttackingTriggers,
...
fixed multiple triggering for Souverigns of the Lost Alara, extracted method for their 2nd ability
2013-06-02 09:25:57 +00:00
Maxmtg
4e48eb476f
play lands from devmode
2013-06-02 07:28:14 +00:00
Maxmtg
0db4131009
Deleted 2 steps that never existed in original game rules: COMBAT_DECLARE_ATTACKERS_INSTANT_ABILITY and COMBAT_DECLARE_BLOCKERS_INSTANT_ABILITY
2013-06-02 06:41:12 +00:00
swordshine
d89c998b66
- Added Gemstone Caverns
2013-06-02 05:50:52 +00:00
Sol
ebb3e3c375
- Wasnt ready to commit that...
2013-06-02 02:09:46 +00:00
Sol
9b068efb4a
- Upgrading Sideboarding to M14 Rules (Constructed Sideboard can be 0-15 cards instead of 0 or 15 cards)
2013-06-02 01:54:01 +00:00
Maxmtg
98b3079d8f
GameLog uses a common observable
2013-06-02 00:10:20 +00:00
Maxmtg
84a9732541
CStack updates are also driven by events. CStack no longer observable
2013-06-01 23:58:25 +00:00
Maxmtg
f137ac390f
CMessage is not Observer, PhaseHandler is not a MyObservable
...
FControlGameEventHandler updates CMessage as events arrive
2013-06-01 22:40:23 +00:00
Maxmtg
7fae9ed8b8
Added option "10x Faster" for AI vs AI
...
DigEffect uses reveal instead of guidialog.choose
2013-06-01 21:58:36 +00:00
Maxmtg
60f3b788b4
MagicStack - cleanup (made some methods private, inlined whatever is short and single-time used or was accessor to field)
...
AbilityUtils.resolve does not need extra parameter usedStack - Stack class can call finishResolving from its own code
HumanPlaySpellAbility - managed to simplify the code by groupping all prerequisites collection into a single exression
2013-06-01 21:40:11 +00:00
Maxmtg
d55d7919dc
added paymentPurpose parameter to payManaOptional so that AI had a chance to decide what is the mana paid for
2013-06-01 19:46:14 +00:00
Sloth
f296b18b01
- Improved getWorstLand AI.
2013-06-01 17:50:37 +00:00
Maxmtg
712e356ae1
made method in PlayerController to pay optional costs, like propaganda and some upkeeps.
2013-06-01 16:27:39 +00:00
Sloth
8ade32e6ea
- Added Prowling Pangolin.
2013-06-01 16:19:12 +00:00
Sloth
50b58fdbe8
- Cleanup.
2013-06-01 14:42:09 +00:00
Sloth
cee57ff48f
- Changed order of original / Buyback / Kicker spells for the AI.
2013-06-01 14:40:30 +00:00
Sloth
157f1e0e43
- Fixed multiple state triggers going onto the frozen stack.
2013-06-01 14:31:22 +00:00
Maxmtg
e561713058
Api-based SpellEffects and Ai classes are all stateless (except the one for tokens) - this allows me to pre-create their instances in ApiType enum members and use same instance multiple times.
2013-06-01 13:11:58 +00:00
Maxmtg
38d1744f16
changed parameters consumed by HumanPlay.payCostDuringAbilityResolve - it does not really need a surrogate ability.
...
AiController.confirmAction - spread choices made for specific apis among their matching XxxxxAi classes - to avoid a huge switch and keep all related code in a single place.
2013-06-01 12:55:08 +00:00
Sloth
ace9303c3f
- Make more use of ActivateForSacCost AI function.
2013-06-01 12:03:50 +00:00
Hellfish
be10997f8e
*Fixed early morning code
2013-06-01 11:55:01 +00:00
Hellfish
b2f356b133
*Made ReplaceMoved work with zone lists for origin and destination.
2013-06-01 10:31:17 +00:00
moomarc
e5774dbaa9
- fixed offerings for AI
2013-06-01 09:11:52 +00:00
moomarc
824818e6ae
- removed unused methods
2013-06-01 08:29:51 +00:00
moomarc
1ac1e83f4c
- moved handleConvokedCards and handleOfferings out of main inputs (no longer changes game state from EDT thread)
2013-06-01 07:55:34 +00:00
Sloth
0bfbf986c7
- AI will now use Transform abilities.
2013-06-01 07:35:02 +00:00
Sloth
e80f5aacb6
- Improved knownOriginCanPlayAI.
2013-06-01 07:19:23 +00:00
swordshine
735bcaef21
- Added Furnace Layer, Mirrored Depths and Kharasha Foothills(PC2 set is over 90% implemented)
2013-06-01 00:43:15 +00:00
Maxmtg
ef6d584f0a
removed an unneeded parameter
2013-05-31 23:31:37 +00:00
Maxmtg
e612c7f01a
GameAction.moveTo(final Zone zoneTo, Card c, Integer position) now demands to be run from non-edt
...
GuiDisplayUtil - warped tutor functions in game.getAction.invoke() to run in aux game thread.
"Manual Breakpoint" - removed because EDT won't give accurate information on player zones.
2013-05-31 23:13:38 +00:00
Maxmtg
f412e5ccf3
got sick and tired of 7-parameter function choosePermanentsToSacrifice - made 2 overloads with 4 params.
...
When min = 0 cancel button is enabled
2013-05-31 22:29:46 +00:00
Sol
262fbf5728
- Exalted will now display both the triggering host and the attacker on the stack.
2013-05-31 21:56:27 +00:00
moomarc
ebce943f38
- Implemented <SubType> Offering ability from BOK.
...
- Added Patron of the Akki, Patron of the Kitsune, Patron of the Moon and Patron of the Orochi
2013-05-31 17:20:41 +00:00
Agetian
913ba50b58
Fixed a bug that caused the spell event sounds not to be played.
2013-05-31 16:29:05 +00:00
Sloth
42ba9a3f6d
- Reduced the TAKE_BEST_THRESHOLD in BoosterDraftAI.
2013-05-31 13:21:57 +00:00
Sloth
80f98a4697
- Fixed AI evaluating basic lands as the highest possible picks in draft mode.
2013-05-31 13:14:46 +00:00
Sol
bdefbe8a84
- Thanks for pointing out that Reveal was in GameAction Max.
2013-05-31 13:00:35 +00:00
Sloth
cc5249c6fb
- AI will now aggressively sacrifice stolen creatures to gain life.
2013-05-31 11:44:27 +00:00
Maxmtg
0d4c4cd9f4
chooseCardsToRevealFromHand - moved function to player controller
...
RevealEffectBase disbanded
2013-05-31 07:40:11 +00:00
Sol
e7ae35a147
- Extracted reveal to players function into Game.
...
- Cascade will no longer call GuiChoose for AI vs AI matches
2013-05-31 02:25:35 +00:00
Maxmtg
49c4db353d
a small cleanup
2013-05-30 20:01:40 +00:00
Maxmtg
55d1aae94d
AI vs AI playback now catches spell-cast event
2013-05-30 14:08:35 +00:00
Maxmtg
406a87a347
AS vs AI playback control bugfix (end paused game)
2013-05-30 13:53:45 +00:00
Maxmtg
92ed246e83
AI vs AI playback controls - almost working
2013-05-30 13:49:15 +00:00
Maxmtg
e3f34ff833
shows decks from shop on double click
2013-05-30 12:32:11 +00:00
Maxmtg
e210260aa0
bugfix for concede on play/draw
2013-05-30 12:28:00 +00:00
Maxmtg
4052f179d4
A slow-down to AI vs AI games (not finished yet),
...
Closing the window during AI vs AI match leads to a draw
2013-05-30 12:24:34 +00:00