Commit Graph

2538 Commits

Author SHA1 Message Date
Hanmac
2ca05b5634 add TriggerDamageDealOnce 2017-09-18 05:28:02 +00:00
Agetian
ae66502fd5 - Fixed the em-dashes in CardFactoryUtil code. 2017-09-16 15:28:55 +00:00
Agetian
613238e0f9 - Fixed the interaction of Tribute with effects like Solemnity. 2017-09-16 11:04:53 +00:00
Agetian
236a7c91d5 - Comment fix. 2017-09-16 10:18:05 +00:00
Agetian
c6bae2116a - Added an extra mode to DamageDone trigger (OnlyOnce$ True) that tries to count the damage only once. Currently will do it in combat, but will not yet do it for noncombat simultaneous damage like Aura Barbs (feel free to improve).
- Effectively this replaces the double trigger setup for Enrage and other cards that require such a count (e.g. Fungusaur and friends).
2017-09-16 10:17:14 +00:00
Indigo Dragon
05d42d9518 Replace many " - " with "—" 2017-09-16 06:56:28 +00:00
kevlahnota
7e982b327b Refactor some String.replace to use TextUtil.fastReplace 2017-09-15 09:01:58 +00:00
Agetian
bd10364d27 - Simultaneous combat damage pass 1: "deals combat damage to X" card update 2017-09-15 05:52:08 +00:00
Agetian
36721dde56 - A tweak to the previous commit. 2017-09-15 05:14:05 +00:00
Agetian
6a74bd841a - Improved TriggerCombatDamageDoneOnce to propagate the amount of damage dealt to targets.
- Corrected Armadillo Cloak and Fungusaur as implementation examples for simultaneous combat damage (simultaneous noncombat damage like Aura Barbs is still impossible as of yet, feel free to improve if you know how).
2017-09-15 05:12:55 +00:00
Agetian
74980f84d5 - A more generic implementation of AF MustAttack. 2017-09-14 04:19:03 +00:00
kevlahnota
8c90fb3c15 Planchase Mod for mobile Forge. Uses BG art of current planes when a player planeswalk. 2017-09-14 00:45:52 +00:00
Agetian
452bdd7b4f - NPE prevention in ControlGainAi. 2017-09-13 16:41:10 +00:00
Agetian
37ebb5731d - Added Ydwen Efreet.
- Forge is now at 100 unsupported cards total.
2017-09-13 16:35:11 +00:00
Agetian
b8d0019ece - Added Dulcet Sirens. 2017-09-13 15:37:33 +00:00
Agetian
0b7fc67c3f - Experimental: for Dingus Egg, do not check the time stamp of the card that changed zone (fixes interaction with Sacred Ground). Should this be the default behavior for ChangesZone triggers that do not seem to care for how many times the card had changed zones before the trigger resolves? 2017-09-13 14:52:09 +00:00
Agetian
a0abaf62b4 - [XLN] Added Trove of Temptation. This card is ugly, so certain side effects in corner cases are probably still possible. Currently implemented as a keyword-like ability similar to "no more than X creatures can attack each turn" etc., but maybe is better as a global rule, I'm not sure (and not sure how to properly convert it to a global rule either...). Assistance and improvements are welcome. 2017-09-13 08:59:35 +00:00
Agetian
b026111ef8 - Attempting to fix generation of keyword text with long descriptions. 2017-09-13 06:46:18 +00:00
Agetian
f19c9183f0 - Decouple MustAttackEntity from MustAttackEntityThisTurn for Alluring Siren. 2017-09-12 16:34:37 +00:00
Agetian
5af3384b02 - Improved implementation for Alluring Siren. 2017-09-12 11:07:46 +00:00
Agetian
ba6079164c - Attempting to fix a concurrent exception on an accidental quick reentry of addAttackingBand. 2017-09-11 09:55:26 +00:00
Agetian
9eddb37c3e - As Foretold: a simpler check for split half CMCs. 2017-09-10 16:50:19 +00:00
Agetian
6a262ea604 - A hacky workaround for the interaction between As Foretold and split cards. Seems to work in general cases, for both non-Aftermath and Aftermath splits, but a better solution is most certainly needed and welcome. 2017-09-10 16:25:32 +00:00
Agetian
1d93fccbb3 - As Foretold: simplified implementation of copyWithDefinedMana 2017-09-10 13:42:16 +00:00
Agetian
f8786bcd47 - Ancestral Vision and similar cards should also be castable without paying their mana cost (117.6a). 2017-09-10 11:46:34 +00:00
Agetian
8af3fe3db8 - Attempting to fix an issue with fastlands and slowlands ETBing in the wrong state when entering the battlefield together with other lands at the same time.
- Fixed an issue with LastStateBattlefield/LastStateGraveyard not returning anything unless at least some ability has been played.
2017-09-10 11:32:42 +00:00
Agetian
09c1db9afe - As Foretold: allow interaction with spells that initially have no mana cost (e.g. Ancestral Vision). 2017-09-10 11:28:07 +00:00
Agetian
4429e36c3f - Improved copyWithDefinedMana such that the defined mana cost is added to spells that initially have no mana cost.
- TODO: it's still impossible to cast e.g. Ancestral Vision via As Foretold, even though it should be possible according to a ruling. Not sure how to fix, help is welcome.
2017-09-10 07:53:27 +00:00
Agetian
0b8a3cfcea - Emblems should be colorless. 2017-09-10 06:19:07 +00:00
Agetian
2a5badbc7c - Added As Foretold. 2017-09-10 05:54:43 +00:00
Indigo Dragon
a45848cbe3 Added reminder text to chief_engineer.txt and maelstrom_nexus.txt.
Also changed modular so that it now has the correct "dies" wording on trigger.
2017-09-09 10:05:35 +00:00
Agetian
84694773a2 - Added Territorial Hellkite. 2017-09-08 19:55:51 +00:00
Agetian
5264873645 - [XLN] Added Search for Azcanta / Azcanta, the Sunken Ruin.
- Minor fix in Welcome to the Fold.
2017-09-08 16:03:21 +00:00
Indigo Dragon
89ab049391 Changed some keyword reminder texts so that they are more dynamic with {%d:numbers).
Also updated suspend reminder text in CardFactoryUtil. It used to have this weird stock "Three Time Counters". Now it's fixed. Except it has Suspend counters in "1 counters" instead of "a counter"/"3 counters" instead of "three counters". Any improvements are welcome.
2017-09-08 11:07:58 +00:00
Indigo Dragon
aa6e4c5b53 Added reminder texts for Delve, Dredge, Split second, Devoid, Totem armor, Afflict, Bushido, Poisonous, Rampage, Cascade, Conspire, Dredge (again), Flashback*.
*Flashback required changes to the actual Flashback code. Now it works with an em-Dash. I'll possibly apply similar changes to other keywords with em-Dash cast mode.
2017-09-08 08:24:46 +00:00
Agetian
3ae7fe7f04 - Added Arguel's Blood Fast / Temple of Aclazotz, Chart a Course, Commune with Dinosaurs, Fell Flagship, Grazing Whiptail, Growing Rites of Itlimoc / Itlimoc, Cradle of the Sun, Otepec Huntmaster, Skittering Heartstopper, Thundering Spineback.
- Temporary implementation of an Explores trigger linked to AB Dig (until AB Explore is implemented).
2017-09-08 04:41:35 +00:00
kevlahnota
3e4b5830be Fixes Warning in Log - unmappable character for encoding UTF-8 2017-09-07 22:43:28 +00:00
Agetian
17c1fc79e1 - Fixed spells with Bestow not getting "unbestowed" when they are countered and go to graveyard. 2017-09-07 18:08:51 +00:00
Agetian
c05f54c105 - Fixed non-UTF-8 encoding in CardFactoryUtil. 2017-09-06 15:25:20 +00:00
Indigo Dragon
1c91f345fc Added em-Dash for Suspend 2017-09-06 15:03:49 +00:00
Agetian
e9479dd24f - Using em-dash for Awaken generated description. 2017-09-06 14:24:29 +00:00
Agetian
d676412291 - Fixed description generation for KW Devour. 2017-09-06 14:19:49 +00:00
Indigo Dragon
5fd5d032ef Updates to Keywords again 2017-09-06 13:56:27 +00:00
Indigo Dragon
8f57a55286 Updates to keywords
So it's not the End of the World
2017-09-06 12:47:46 +00:00
Indigo Dragon
bf7b9a7057 CHANGES TO KEYWORDS !!!DANGER!!!
I'm messing with powers I don't understand. Here I go.

Following changes to menace that removed reminder text by removing the keyword.equals("Menace"), I conclude that you can add reminder text by inserting the keyword.equals("Keyword"). This is part one if it works, as it is for all the simple keywords that don't rely on numbers or costs (Compare Devoid with Awaken)

If this doesn't work, and everything breaks, burn it.
2017-09-06 12:06:01 +00:00
Indigo Dragon
90b5531041 Updated Keyword Reminder Texts
Notes: Technically, all the reminder texts here were the texts as described by Magic Comprehensive Rules 702. Keyword Abilities. However nobody actually follows the rules when making simple reminder text for actual cards. If people are confused over advanced situations where creatures become noncreature permanents but the reminder text specifies "creature", they should consult the overriding Comprehensive rules. Therefore; I feel justified in simplifying these 'reminder' texts.
2017-09-06 10:47:33 +00:00
Agetian
c67a2bd458 - Added an Explores trigger (not used anywhere yet, can be used in the upcoming Explore effect later). 2017-09-05 18:05:33 +00:00
Indigo Dragon
d33770f107 Update Convoke Reminder text to include the "(Your creatures can help cast this spell. ", similar to Improvise.
Also updated Frenzy Sliver and Virulent Sliver. Frenzy Sliver is done, while Virulent sliver needs a few more tweaks in an upcoming Keyword update.
2017-09-03 09:50:04 +00:00
kevlahnota
9426c531e3 More Refactoring of String.format 2017-09-03 08:11:28 +00:00
kevlahnota
8b3ff137d1 Refactor strings enclosed in parentheses, transform P/T to strings 2017-09-03 02:01:34 +00:00