Agetian
a07ff51c68
- [C17] Added 9 cards implemented by Marek (all tested ingame).
2017-08-08 12:23:56 +00:00
Agetian
d2f9eeab12
- Rudimentary prediction for Insult // Injury double damage effect for the AI (currently done in a way similar to how several other effects are predicted, which is (a) suboptimal - needs to be figured out from the replacement effect itself; (b) needs to be moved out from the Card and Player classes into the AI class, probably ComputerUtilCombat). Feel free to improve.
2017-08-08 10:00:04 +00:00
Agetian
4fb1c866da
- AI: Avoid infinitely activating AF Untap on another permanent that will then be used to untap the first one (e.g. 2x Kiora's Follower)
2017-08-08 04:44:05 +00:00
Agetian
174d1f7838
- Puzzle mode improvements: no triggers will now run when the game state is set up; triggers will run in combat if attackers are declared.
2017-08-08 04:07:18 +00:00
Agetian
64f39dcb79
- Fixed Glarecaster and Mirrorwood Treefolk.
2017-08-07 08:01:14 +00:00
Agetian
ae29fef6d4
- Solution attempt #2 for the delayed trigger activator bug: store the original delayed trigger activator and restore it before running the trigger if a stored value was found, in case it was previously overwritten by the AI routines (fixes e.g. Rainbow Vale).
2017-08-07 03:43:38 +00:00
Agetian
f0af71d8c0
- Removed an experimental test line.
...
- Fixed Hazduhr the Abbot out of sight trigger definition.
2017-08-04 10:39:05 +00:00
Agetian
b65fed7a0d
- Minor fix in description generation.
2017-08-04 10:23:45 +00:00
Agetian
364205cd9b
- Added Hazduhr the Abbot.
2017-08-04 10:22:41 +00:00
Agetian
230644141a
- Removed a debug print line.
2017-08-03 19:40:29 +00:00
Agetian
480fa113b7
- Account for "schemes can't be set in motion this turn" when trying to set the scheme in motion again.
2017-08-03 19:39:44 +00:00
Agetian
9016d937a3
- Added My Laughter Echoes.
...
- Some improvements to AF SetInMotion which may be necessary to support Bow To My Command (seems almost scriptable, but the tap unless cost won't work).
2017-08-03 19:38:40 +00:00
Agetian
f571685648
- Chain of Smog should be optional.
...
- Added Chain of Acid.
2017-08-03 13:29:14 +00:00
Agetian
701d363e3c
- FIXME: correct the host card of a RepeatSubAbility since sometimes it's set incorrectly after an interaction, such as after a copy effect has been applied to a SA with Repeat/RepeatEach (e.g. the original Clone Legion not resolving correctly after its copy from Swarm Intelligence resolves). Couldn't figure out why this issue is happening, please assist if possible in determining the source of the problem and fixing it such that this workaround hack is unnecessary.
2017-08-03 13:00:06 +00:00
Hanmac
24e2e29894
CardFactoryUtil: fixed Eternalize and nonManaCost
2017-07-30 06:07:43 +00:00
Agetian
fceea79323
- Fixed interaction between put/remove counter as a part of cost payment and cards that trigger on things dying from counters (e.g. Necroskitter + a creature dying to a -1/-1 counter placed as a part of cost payment).
2017-07-29 13:36:09 +00:00
Hanmac
0b85346ac4
TriggerHandler: try to fix Splendid Reclamation and Valakut
2017-07-29 05:11:22 +00:00
Agetian
53f0544da8
- Alternative Cost for spells should be added to all spells on the card, not only the first spell ability (fixes interaction with split cards, among possibly other things).
2017-07-28 13:45:14 +00:00
Agetian
acfdf23c22
- Fixed the player's max hand size in Puzzle Mode being equal to 0 by default (now set to 7 per the default MTG rules).
...
- Fixed the "Turns:X" parameter not working correctly in Puzzle Mode.
2017-07-26 12:58:04 +00:00
Agetian
92a760541b
- Fixed StaticAbilityContinuous applying negative P/T bonuses for cards like Death's Shadow when player's life was negative (incorrect under the new rules).
2017-07-25 15:13:14 +00:00
Agetian
f9e987e933
- Reverted several Java 8 functions to their Java 7 counterparts for Android compatibility.
2017-07-25 03:12:04 +00:00
Blacksmith
1668717cf8
[maven-release-plugin] prepare for next development iteration
2017-07-22 00:46:25 +00:00
Blacksmith
0e3163dd62
[maven-release-plugin] prepare release forge-1.6.1
2017-07-22 00:46:15 +00:00
Agetian
cb82da915c
- Checking a list for empty is not needed for a "for" loop.
2017-07-21 12:35:22 +00:00
Agetian
a9f8c3c4a6
- Fix imports.
2017-07-21 05:46:38 +00:00
Agetian
355396dc47
- Fixed "Players can't sacrifice creatures to cast spells or activate abilities" not being restricted to the actual cost of spell/ability, causing e.g. Angel of Jubilation and Gatekeeper of Malakir (kicked) or Innocent Blood to not interact correctly.
2017-07-21 05:45:26 +00:00
Agetian
99315691dd
- Do not reset playerXProperty to 0 in all cases (fixes Bloodghast, Guul Draz Specter and other similar cards that care for the player-based condition).
2017-07-19 15:03:47 +00:00
Hanmac
6a2cf634d0
GameAction: removed unused Unearth code
2017-07-18 15:53:47 +00:00
Agetian
d071c091fd
- Put the NPE guard back in.
2017-07-18 03:59:14 +00:00
Agetian
a94d8ac86b
- Looks like specific exception for Card objects is not necessary when displaying Remembered objects since Card.toString is already routed through CardView.toString when appropriate.
2017-07-18 03:54:08 +00:00
Agetian
bbe04e61ea
- Simplified the code for displaying the Remembered cards. Already takes care of face-down cards (only shows their hidden ID, not their ordinary ID), and does it in a better way, displaying the hidden ID so that it's possible to track effects of cards such as Windbrisk Heights to their remembered face-down card in exile.
2017-07-18 03:29:42 +00:00
Hanmac
45a262780c
GameAction: reset manifested cards back to normal if they are prevented
2017-07-17 20:31:27 +00:00
Hanmac
3793398741
AbilityUtils: add Maxto param which does max the calculated variable to zero (X cant be below 0)
...
PumpEffect & PumpAllEffect: use the new param there
2017-07-16 15:12:35 +00:00
swordshine
bf072a831f
- C17: Added 4 cards
2017-07-15 13:45:01 +00:00
Agetian
bbfa486cd7
- TargetRestrictions: correctly process validTgts definitions such as Zombie.attacking for the purpose of canTgtCreature. Fixes, for instance, the AI using Accursed Horde to give indestructible to opponent's attacking zombies.
2017-07-15 04:29:27 +00:00
Agetian
ea4f8b67f2
- Unfortunately, have to revert r34731 - breaks mobile Forge (at least when running on desktop, e.g. for debugging purposes, but quite possibly on Android itself as well) and does not allow to cast anything from hand at all, making the single click on a card function as a selection (but not allowing to actually cast the spell).
2017-07-13 20:08:47 +00:00
Hanmac
690dba8549
TokenEffect: make the Kalitas + Anointed Possession working
2017-07-13 17:07:20 +00:00
Hanmac
02ba6bc889
ReplaceMoved: add Cause into params for SA
2017-07-13 17:03:02 +00:00
Hanmac
d7a0e7c674
SpellAbility: add hasReplacingObject
2017-07-13 17:01:53 +00:00
Agetian
d7ea4cdf6a
- NPE prevention for RememberMap in Card.
2017-07-13 06:32:29 +00:00
Hanmac
ce1e17acde
Cost now has better canPay and cost Parts now can differ between activator and payer of the cost
2017-07-13 05:05:05 +00:00
Myrd
1d3f91fb9c
Switch game thread executor to be a single-thread
...
executor instead, of a thread pool. This is needed
because when things need to execute on the game
thread, it's not thread safe so only one such thing
should be executing at a time.
This should fix ConcurrentModificationException
from CardAreaPanel.selectCard() on mobile.
This is a reland of r34680 with a fix for being able
to run tasks on the game thread while waiting for input
from the user. Specifically, tested paying costs and
using the dev panel, but should work with anything that
schedules tasks via GameAction.invoke().
2017-07-13 05:03:34 +00:00
Hanmac
7bc6761502
CardPredicates: add sharesCreatureTypeWith
2017-07-13 05:00:53 +00:00
Hanmac
a5a2d646f4
CardPredicates: add canReceiveCounters
2017-07-13 04:52:52 +00:00
Agetian
6f7546eedf
- Use TextUtil.join instead of String.join for Monstrosity (breaks on Android with the current API we're targeting).
2017-07-11 17:59:55 +00:00
Agetian
3a477ae24b
- FightEffect: damage should be dealt simultaneously (e.g. Hero of Iroas vs. Cystbearer fighting via Dromoka's Command giving a +1/+1 counter to Iroas should still make Hero of Iroas deal 4 damage).
2017-07-10 18:04:31 +00:00
Agetian
c7eb8359e0
- Only face down split cards should have an alternate state to show via the "transform arrows".
2017-07-10 12:30:46 +00:00
Hanmac
779ef1e0d1
fix CostAdjustment
2017-07-09 12:43:56 +00:00
Hanmac
4d1805fb27
CardFactory: Monstrosity: add ReduceCost param
2017-07-09 08:49:28 +00:00
Hanmac
c24476db9c
CostAdjustment: add RaiseCost and ReduceCost also add ValidSpell
2017-07-09 08:48:20 +00:00