Commit Graph

2538 Commits

Author SHA1 Message Date
kevlahnota
7a3a8b0490 Refactor some "String.format" to use StringBuilder 2017-09-02 17:35:13 +00:00
Agetian
78d13749d5 - AbilityUtils: fixed compilation (please check, replaced CardUtil.getPluralType with CardType.getPluralType) 2017-09-02 17:06:12 +00:00
Hanmac
3cdf553142 moved hardcoded type plural into text file and moved the getPlural and getSingular functions into CardType class 2017-09-02 16:55:11 +00:00
Indigo Dragon
905b469515 Updated Eternalize keyword so now it's similar to Embalm, as well as specifying that it gains the Zombie type, not replaces 2017-09-02 14:53:15 +00:00
Indigo Dragon
aac3443b78 Updated Madness Reminder Text 2017-09-02 14:46:44 +00:00
Indigo Dragon
bd9b05463e Changing the mana cost 2 to {2} for the [[Rout]] ability
K:You may cast CARDNAME as though it had flash if you pay 2 more to cast it. -> K:You may cast CARDNAME as though it had flash if you pay {2} more to cast it.

This may break something. If so, whoops
2017-09-02 14:27:29 +00:00
Agetian
18a0866735 - Code support for hyphens in Planeswalker emblem names. 2017-09-02 11:05:51 +00:00
Hanmac
be3d4723ef Emblem fixed startwith 2017-09-02 10:28:07 +00:00
Indigo Dragon
a772cf9910 Changes to Emblems
Emblems now read "Emblem Planeswalker" instead of "Planeswalker emblem"
Image name now is "emblem_planeswalker"

If this breaks anything please revert.

Also added some colons to oracle texts for some planeswalkers.
2017-09-02 05:52:02 +00:00
Agetian
99775194fd - Electrostatic Pummeler AI: teach the AI to pump the Pummeler to save it from dying to direct damage spells. 2017-08-30 17:16:00 +00:00
Agetian
379461820b - Adhering to Java 7 feature set for the purpose of Android compatibility. 2017-08-30 03:19:23 +00:00
Agetian
85c18ce07b - Somewhat better RememberedWithSharedCardTypes, hopefully would work more reliably in case of 3+ cards tested at the same time for shared card type [not currently seen on any card]. 2017-08-29 15:57:30 +00:00
Agetian
3fe548d8b7 - [XLN] Added Rowdy Crew. 2017-08-29 15:49:30 +00:00
Agetian
4c31e1a4b5 - Minor counter abbreviation tweak. 2017-08-29 08:33:25 +00:00
Agetian
1a93e8f331 - [XLN] Added Revel in Riches, Sleek Schooner, Treasure Map // Treasure Cove.
- Added Picture SVars to card in Upcoming.
- Fixed Emperor's Vanguard (should work well enough until Hanmac finishes the code for Explore as a separate effect).
2017-08-29 05:46:08 +00:00
Agetian
fb0acb6a8b - [XLN] Jace, Cunning Castaway: the clones should be immediately activatable as soon as they hit the battlefield. 2017-08-28 19:26:54 +00:00
Agetian
c2a7f19d38 - [XLN] Added Jace, Cunning Castaway. 2017-08-28 18:35:31 +00:00
Agetian
0a5fe2e2af - Some implementation clarifications. 2017-08-28 18:32:05 +00:00
Agetian
f6e5256ae4 - Planeswalker rule: restore the "go to graveyard on 0 loyalty" functionality. 2017-08-28 18:30:25 +00:00
Agetian
46aefe6b8a - [XLN] For now, commenting out the Planeswalker Rule code since it won't apply post-Ixalan. 2017-08-28 17:52:17 +00:00
Agetian
af7ef111b4 - [XLN] Planeswalker uniqueness no longer matters ( http://magic.wizards.com/en/articles/archive/feature/ixalan-mechanics ), planeswalkers are Legendary instead. 2017-08-28 17:39:45 +00:00
Agetian
04e33448e0 - [XLN] Added Admiral Becket Brass. 2017-08-28 17:30:17 +00:00
Agetian
b488ff053a - Fixed RevealEffect crashing for cards like Vizkopa Confessor. 2017-08-28 15:21:45 +00:00
Agetian
04f24faf32 - Experimental: attempting to fix card flickering (power/toughness, jumping between rows) by selectively updating the view for P/T and types after all static effects for all cards have been processed instead of aggressively updating the entire state view during each static effect operation (might also make the game run a bit faster on mobile).
- Volrath's Shapeshifter: do not copy the target's set code and rarity.
2017-08-28 14:06:28 +00:00
Agetian
d0579b5f75 - ChangeCombatantsEffect: attempt to account for the new rule for Ulamog, the Ceaseless Hunger + Portal Mage interaction in multiplayer games. Currently achieved by rigging the triggering info on the stack instance, which may not be optimal. Feel free to propose a better solution. 2017-08-27 18:17:21 +00:00
Agetian
1d19f56de8 - Experimental: do not reset the paid hash in resetOnceResolved since it appears to be cleared in other SA operations when needed, and aggressively clearing it breaks transient payment info (e.g. Orator of Ojutai + revealed Dragon card). 2017-08-27 18:15:19 +00:00
Agetian
586abb5466 - Use updateAbilityTextForView as a limited form of updating the text part of the view in order to update changed card text (e.g. lands affected by Blood Moon, creatures affected by Humility) while avoiding flickering side effects.
- Volrath's Shapeshifter: fixed a concurrent modification when removing temporary triggers.
2017-08-26 17:12:08 +00:00
Agetian
d33b642b8e - A more universal CounterAi fix, accounting for sources producing multiple mana. 2017-08-25 05:49:00 +00:00
Agetian
a1b2a5149d - Volrath's Shapeshifter: run a limited update for ability and keyword text such that the changed text is always visualized (e.g. things like Rally triggers). 2017-08-24 15:09:18 +00:00
Agetian
21c7c74b31 - Attempting to fix Dragon Presence cards, part 1: "dragon presence" apparently cares about the current battlefield state, not the LKI (from Gatherer: "you must control a Dragon as you are finished casting the spell to get the bonus. For example, if you lose control of your only Dragon while casting the spell (because, for example, you sacrificed it to activate a mana ability), you won’t get the bonus"). Also fixes Orator Ojutai not drawing a card at all when a Dragon is present on the battlefield. 2017-08-24 13:29:46 +00:00
Agetian
05258a5b48 - Some improvement to the AI for "remove X counters": made the Baku cards that are marked as RemRandomDeck (but not RemAIDeck) playable by the AI again, albeit some of them rather suboptimally. Quillmane Baku is not supported (but was already marked RemAIDeck). 2017-08-24 10:28:43 +00:00
Agetian
7a8267a772 - A less reckless default AILogic PayEnergyConservatively for Longtusk Cub and Bristling Hydra (gives the AI a chance to use the energy for something else when possible). 2017-08-23 12:53:44 +00:00
Agetian
99ce6cf29d - isValid: A player who lost the game leaves it and can't be a valid target of spells or abilities. 2017-08-22 06:59:59 +00:00
Agetian
e14952607d - Fixed Kilnspire District. 2017-08-22 06:55:17 +00:00
Agetian
de3efa0fe7 - Fixed a typo. 2017-08-22 06:09:50 +00:00
Agetian
e7c30da23c - Improved prompt for Wand of Ith. 2017-08-22 04:33:56 +00:00
Agetian
92b985d24d - Experimental: attempting to improve the AI choice for all-in assault for battlefield situations where the defender will have several, but not enough, defenders with evasion (e.g. Flying).
- Currently only enabled for the Experimental AI profile for the testing period.
2017-08-21 17:07:46 +00:00
swordshine
c063ccfa02 - C17: Added Portal Mage 2017-08-20 15:31:20 +00:00
Agetian
9cd878bad1 - More Volrath's Shapeshifter QoL. 2017-08-20 05:12:17 +00:00
Agetian
4c816eabc1 - Reverting an accidental experimental test line commit. 2017-08-20 04:24:38 +00:00
Agetian
d28cbf3863 - Some Volrath's Shapeshifter fixes and QoL improvements. 2017-08-20 04:23:11 +00:00
swordshine
8a347e71ed - C17: Added Alms Collector 2017-08-20 03:26:18 +00:00
Agetian
a0bb52ff5f - Added Volrath's Shapeshifter with rudimentary, simple AI support.
- Was tested in most typical circumstances, including cloning it. However, may not yet be perfect in some corner cases. Improvements are welcome.
2017-08-19 18:05:44 +00:00
Agetian
19bea70dc0 - Added an implementation note. 2017-08-19 09:18:14 +00:00
Agetian
322a7020e3 - Better fix for Aluren: detect zone granting permissions from the MayPlay card options themselves, not by card name.
- Fixed Qasali Ambusher.
2017-08-19 09:15:09 +00:00
Agetian
242444ecc9 - Attempting to fix Aluren. 2017-08-19 07:31:42 +00:00
Blacksmith
a249eeab22 [maven-release-plugin] prepare for next development iteration 2017-08-18 17:07:15 +00:00
Blacksmith
712e7dbeb8 [maven-release-plugin] prepare release forge-1.6.2 2017-08-18 17:07:05 +00:00
Agetian
5970c575c8 - [C17] Added Mirri, Weatherlight Duelist.
- Not sure if oneBlockerPerOpponent is better off as a global rule or a keyword, feel free to change it to a keyworded implementation if appropriate.
2017-08-18 11:32:22 +00:00
Maxmtg
7f31fd5092 Split forge script handlign code 2017-08-17 21:10:06 +00:00