Commit Graph

6795 Commits

Author SHA1 Message Date
Maxmtg
ea5a00a2dd Totem Armor turned into replacement effect for Destroy.
PhaseHandler - renamed methods to fix typo
SpellAbility - getType removed, 2 flags used instead
2013-06-04 13:16:54 +00:00
Sloth
22bd56f4c8 - Enabled Reap Intellect for the AI. 2013-06-04 11:58:39 +00:00
Sloth
ddce2bb584 - Fixed triggers on clones leaving the battlefield not firing. 2013-06-04 08:48:35 +00:00
Maxmtg
73223667ee Replacement effects use same reflection-based mechanism as triggers to create and copy instances 2013-06-04 08:18:09 +00:00
Maxmtg
a6ed6d7600 SLayoutIO Will catch more general exceptions - not just the ones related to malformed xml.
FControl.mayShowCard - will show card anyway wihout further checks if game has no human player
2013-06-04 06:15:38 +00:00
Sol
a3c453cb8e - Upgrading Sideboarding to M14 Rules for real this time (Constructed Sideboard can be 0-15 cards instead of 0 or 15 cards, no longer sideboard 1:1) 2013-06-04 02:13:25 +00:00
swordshine
1646f855b9 - Minor update "SearchedLibrary"
- Added Melee
2013-06-04 00:47:36 +00:00
Maxmtg
1f28e96583 filestreams closed on save too 2013-06-03 22:59:21 +00:00
Maxmtg
1bca2ac7ac file deletion now works 2013-06-03 22:51:29 +00:00
Maxmtg
6418060d5f Trying to reload default layout after a failure with user preferred one 2013-06-03 22:28:43 +00:00
Sloth
0f535e4541 - Fixed BecomesTarget sometimes not triggering. 2013-06-03 21:18:17 +00:00
Sloth
d28eacdcf0 - Fixed triggers on tokens leaving the battlefield not firing. 2013-06-03 20:36:54 +00:00
Maxmtg
1001ad7ab9 Reset layout buttons 2013-06-03 20:30:45 +00:00
Hellfish
76a012c716 *Added Archive Trap 2013-06-03 18:47:29 +00:00
Maxmtg
2c6cdc518b must have used constant from matching class, not literal 2013-06-03 13:52:14 +00:00
Sloth
bc389221bf - Added Chain Stasis. 2013-06-03 13:51:52 +00:00
Sloth
74a281035d - Fixed Chain Lightning copies being cast (the spell is copied onto the stack). 2013-06-03 13:17:43 +00:00
Maxmtg
a1d3ba8841 image keys of emblems for planeswalkers needed a prefix 2013-06-03 10:22:41 +00:00
moomarc
7a09e9abb2 - Added Thran Turbine 2013-06-03 09:47:34 +00:00
Maxmtg
49889eb7c9 bugfix: Omnath, Locus of Mana now prevents green mana from being burnt at end of phase 2013-06-03 08:32:49 +00:00
moomarc
21d46db987 - Won't be asked to select/order cards to play from opening hand if there are none to play 2013-06-03 06:06:40 +00:00
swordshine
c3f999bc29 - Skip the "Choose cards to activate from opening hand" step if I have no cards with these effects
- Added Odric, Master Tactician for test
2013-06-03 05:47:21 +00:00
Maxmtg
5b44514fd4 handleLeylinesAndChancellors - scripted all actions performed from opening hand
now you may execute actions from opening hand in any order (rule 103.5)
2013-06-02 22:21:46 +00:00
Maxmtg
eed6f21adb DeclareCombatantsEffect - added until param 2013-06-02 18:26:28 +00:00
Maxmtg
d44a379e8f re-enable buttons for playback input 2013-06-02 18:15:20 +00:00
Maxmtg
809234fda8 DeclareCombatants tested and debugged 2013-06-02 17:42:54 +00:00
Maxmtg
ff489765e2 DeclaresCombatants effect 2013-06-02 17:22:49 +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
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