Commit Graph

2908 Commits

Author SHA1 Message Date
Hanmac
0fb0837561 DamageDealEffect: add RelativeTarget for to be relative to Damage Source 2017-10-16 17:54:57 +00:00
Hanmac
6cff21f47b AbilityUtils: add CardController for getDefinedPlayers 2017-10-16 17:52:05 +00:00
Agetian
0d4a837be6 - Patched up PlayAi to enable the AI to play Hideaway lands. Marking the relevant cards as playable.
- Some improvement to Volrath's Shapeshifter AI.
2017-10-15 13:38:17 +00:00
Hanmac
b6ec9728d8 CardFactoryUtil: add Reinforce as Keyword 2017-10-15 08:10:44 +00:00
Agetian
f70e33a3ea - CostAdjustment: account for cases when subability uses targeting and the parent SA doesn't (e.g. Spellwild Ouphe targeted with an AF Charm instant). 2017-10-11 15:00:54 +00:00
Hanmac
857d6f87a0 CardFactoryUtil: moved Suspend to addSpellAbility 2017-10-11 06:20:51 +00:00
Hanmac
d3444621b9 CardFactoryUtil: move Fortify 2017-10-11 05:38:17 +00:00
Sol
9f4184974e Extract TokenInfo from CardFactory 2017-10-10 00:52:32 +00:00
Agetian
27c508caa0 - RemAIDeck update: next iteration (a couple E cards). 2017-10-09 06:12:47 +00:00
Agetian
fe4c836cd2 - CostAdjustment: check subabilities for valid targets (fixes Skulduggery targeting opponent's Kopala). 2017-10-09 03:34:57 +00:00
Agetian
43862a4b7b - Better check for Sunburst. 2017-10-08 10:55:19 +00:00
Agetian
036d672e7c - Better AI check for Clearwater Goblet. 2017-10-08 10:42:47 +00:00
Agetian
abbbae011f - Fixed Rebound for the AI. 2017-10-08 10:10:30 +00:00
Agetian
990345cda0 - Fixed keyword text generation for Morph. 2017-10-07 19:40:47 +00:00
Agetian
1cbf075036 - RemAIDeck update: next iteration. 2017-10-07 14:50:51 +00:00
Hanmac
da2faaeff4 Card: add addIntrinsicKeywords and fixed it in CardState
use it for CardFactory too
2017-10-07 12:55:36 +00:00
Agetian
cc0fdb302b - RemAIDeck update: next iteration. 2017-10-07 05:04:05 +00:00
Agetian
a40c362764 - Fixed getTriggeringAbility not finding triggering abilities in the middle of a subability chain, which can happen when e.g. a delayed trigger is generated in the middle of a chain (fixes Goblin Kites). 2017-10-06 12:44:55 +00:00
Agetian
b3c372a803 - Fixed Aftermath/Flashback as REs. 2017-10-06 10:48:48 +00:00
Hanmac
0ffe6051b6 Flashback and Aftermath as Replacement Effetcs 2017-10-06 06:39:03 +00:00
Hanmac
0733f7a69a ReplaceMoved: add missing part for Buyback 2017-10-05 16:56:06 +00:00
Agetian
697c41b0d0 - TriggerTapsForMana: check the root ability for the tap cost, fixes interaction between e.g. Nykthos, Shrine to Nyx and Burning Earth. 2017-10-04 03:52:30 +00:00
swordshine
ccd50fa98b - Updated Dueling Grounds 2017-10-03 13:14:56 +00:00
Hanmac
039dfb63ea Buyback as ReplacementEffect
Soulfire Grand Master as Effects without Keyword
2017-10-03 11:17:07 +00:00
Agetian
4051da7ee1 - Minor typo correction in a couple method names. 2017-10-02 14:11:07 +00:00
Hanmac
4a3e0b244c SpellAbility: add hasAdditonalAbility to be used in DelayedTrigger 2017-10-02 13:50:53 +00:00
Hanmac
70b0e7d6c0 Rebound: make it a ReplacementEffect as it should be
check for Fizzle in ReplaceMoved, so it only works when it resolved from Stack
2017-10-02 13:42:14 +00:00
Agetian
d962905799 - Fixed Vesuvan Doppelganger not staying blue when cloning (note that .addColor doesn't work for some reason from CloneEffect, even though a similar call works in AF Animate; no other cards currently use this and require additional colors in DB Clone, but if some ever do, then this code will require an update). 2017-10-02 13:39:26 +00:00
Agetian
db1839c402 - A less invasive Thought Lash hack for the AI. 2017-10-02 04:50:46 +00:00
Agetian
24b54a0937 - Removed an empty line. 2017-10-01 18:10:44 +00:00
Agetian
c3f7640c4d - A [hacky] fix to avoid the AI cheating with Thought Lash (otherwise it keeps exiling 1 card to it, no matter how many age counters are on it, essentially by "exiling" (not) the same card multiple times). A better solution is needed, feel free to improve. 2017-10-01 18:10:12 +00:00
Agetian
6f57f56d1d - Ixalan Oracle update: attacks/blocks each combat if able [please revise if possible, a bit of a many-sided modification]. 2017-10-01 07:22:26 +00:00
Hanmac
ba74b333cd GameAction: add params hash for changeZone game actions
add old functions as overload
MagicStack: add Fizzle and StackInfomation to the params when Card is removed from stack
2017-09-29 19:58:01 +00:00
Agetian
e276950caa - Removing triggers CombatDamageDoneOnce/DealtCombatDamageOnce (no longer needed, superseded by DamageDoneOnce/DamageDealtOnce). 2017-09-29 16:40:40 +00:00
Blacksmith
89da789a99 [maven-release-plugin] prepare for next development iteration 2017-09-29 16:14:05 +00:00
Blacksmith
f78f8006d6 [maven-release-plugin] prepare release forge-1.6.4 2017-09-29 16:13:56 +00:00
Agetian
f7d626d8c6 - Fixed split cards not being foiled correctly in all cases because the game assumed the foil effect to be stored on one of the halves instead of on the original card state.
- A more comprehensive fix for rotating split cards with foil in mobile Forge that does not break them in hand/graveyard/whatever. Also, turned it into an option since it doesn't look good in portrait mode, especially on smaller cellphones and in single card zoom mode.
2017-09-29 10:54:56 +00:00
Agetian
86f13e05d2 - Formatting fix. 2017-09-29 05:34:51 +00:00
Agetian
9a6146e1ba - One more tweak. 2017-09-28 18:22:17 +00:00
Agetian
0a8ce34252 - A more generic implementation for the previous commit. 2017-09-28 18:21:48 +00:00
Agetian
18529f47e7 - Special case for Bone Dancer and ordering graveyards in "With Relevant Cards" mode. 2017-09-28 18:19:33 +00:00
Agetian
215ee66a02 - Comment tweak. 2017-09-28 17:33:50 +00:00
Agetian
ec7f47dbe7 - Added Celestial Convergence.
- Added new effect AF GameDrawn that creates an intentional draw situation by game effect.
- Divine Intervention now uses this effect.
2017-09-28 17:31:04 +00:00
Agetian
9fe86bf72a - Vampire Nocturnus Avatar: ensure that its static ability only starts working when the game actually begins. 2017-09-28 16:08:38 +00:00
Agetian
b969f2eac6 - Fixed a NPE in DiscardEffect. 2017-09-27 17:02:23 +00:00
Agetian
06b887cd93 - A somewhat more fine-grained and less spoiler-y option to order graveyards, now with three states (Never / With Relevant Cards / Always). 2017-09-27 14:40:48 +00:00
Agetian
84a6876265 - Added an experimental option to allow ordering cards going to graveyard when playing with cards that care about graveyard order (Volrath's Shapeshifter and others). Disabled by default. 2017-09-26 19:40:44 +00:00
Agetian
e934071716 - Volrath's Shapeshifter: switched to a less aggressive update schedule (no update unless necessary), which fixes interaction with composite triggers that consist of several related parts (e.g. Undying, Persist).
- Volrath's Shapeshifter: QoL update: do not show the same text and discard ability twice if Volrath's Shapeshifter is attempting to copy the text of another Volrath's Shapeshifter that is on top of the graveyard.
2017-09-26 13:55:28 +00:00
Hanmac
0ddb8d9644 ExploreEffect: fixed trigger and counter part 2017-09-26 05:22:00 +00:00
Agetian
515ddbb28d - Removed one more portion of the leftover DamageDone|OnlyOnce code, I believe this is the last one. 2017-09-26 03:28:13 +00:00