Commit Graph

21316 Commits

Author SHA1 Message Date
Maxmtg
ff489765e2 DeclaresCombatants effect 2013-06-02 17:22:49 +00:00
RedDeckWins
06b7993e3b martyr of bones implemented 2013-06-02 17:19:37 +00:00
Sol
9675fef15e - Convert Sapling of Colfenor to script
- Reveal inside Dig still needs to reveal to the controlling player
2013-06-02 16:44:56 +00:00
Maxmtg
0052257edd PhaseHandler - exracted declareBlockersTurnBaseActions and declateAttackTurnBasedActions, inlined all methods from PhaseUtil 2013-06-02 16:01:37 +00:00
Maxmtg
11061585da 2ns ability of Sovereigns of Lost Alara scripted. Thank you, Swordshine 2013-06-02 15:34:47 +00:00
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
Chris
2cd5d24d5f - Added new card names to changes.txt. 2013-06-02 13:11:09 +00:00
Sloth
d75e33a5da - Updated the quest deck Wolverine 3. 2013-06-02 12:14:50 +00:00
Sloth
19c09dbb8b - Fixed number of cards in the Strom 3 deck. 2013-06-02 11:33:38 +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
swordshine
206c672df0 - Updated scripts 2013-06-02 08:40:22 +00:00
Hellfish
f959c8cce6 *Progenitor Mimic trigger should not be optional 2013-06-02 08:28:28 +00:00
Sloth
cd19bc7427 - Fixed Spreading Plague. 2013-06-02 08:14:49 +00:00
Sloth
2ce19fde18 - Fixed Nim Shambler. 2013-06-02 08:10:20 +00:00
Maxmtg
4e48eb476f play lands from devmode 2013-06-02 07:28:14 +00:00
swordshine
91ec9b6409 - Vapor Snare now uses UnlessCost 2013-06-02 06:48:43 +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
2fbf740c2c - Intervention Pact didn't actually have the lose the game clause in the Card Detail Panel 2013-06-02 01:59:24 +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
58ac7c86ac - Fixed Krosa. 2013-06-01 18:04:13 +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
8e15e424eb - Fixed text of Somnophore. 2013-06-01 15:28:32 +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
swordshine
bfa1379265 - Added Minion of Leshrac and Patron of the Nezumi 2013-06-01 12:59:52 +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
swordshine
877aec25b0 - added new planes in changes.txt 2013-06-01 12:06:01 +00:00
Sloth
ace9303c3f - Make more use of ActivateForSacCost AI function. 2013-06-01 12:03:50 +00:00
swordshine
6542b6085a - Plane: Added Mimano
- Added Grimoire Thief
2013-06-01 11:59:05 +00:00
Hellfish
be10997f8e *Fixed early morning code 2013-06-01 11:55:01 +00:00
Chris
8f3167ec39 - Added new card names to changes.txt. 2013-06-01 11:51:57 +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