Commit Graph

30824 Commits

Author SHA1 Message Date
Hanmac
eb62bf1bef Thirsting Axe: updated it with new dealtCombatDamageThisTurn logic 2016-08-10 14:14:22 +00:00
Hanmac
a0678fc944 CardDamageHistory & Combat: add logic so it does register CombatDamage dealt between creatures
Card: add dealtCombatDamageThisTurn <valid> for better checking if Card dealt combat damage to something this turn
2016-08-10 14:11:43 +00:00
Sol
e9588c1c0e - Fix crash with a Soulshift card 2016-08-10 13:04:41 +00:00
Hanmac
83d23fdabf CardFactoryUtil: Poisonous now doing as Keyword over factory
GameActionUtil: remove executeCombatDamageToPlayerEffects, because not needed anymore
2016-08-10 12:23:18 +00:00
Hanmac
04267311f1 CardDamageHistory: now has Damage history for GameEntity instead of only Player 2016-08-10 12:19:06 +00:00
Hanmac
116fa75fee Altered Ego: use ETBReplacement Keyword for the effect 2016-08-10 11:29:16 +00:00
Hanmac
afbb901236 AbilityUtils: add logic for xPaid in Spellabilities when OriginalHost is not null 2016-08-10 05:46:07 +00:00
Hanmac
0181b9c859 CloneEffect: setOriginalHost for SpellAbilities and ReplacementEffects 2016-08-10 05:38:39 +00:00
Hanmac
5a033d066f CardFactoryUtil: createETBReplacement mixed up parameters for secondary and intrinsic in ETBReplacement 2016-08-10 05:36:45 +00:00
Hanmac
4cb35e7754 TriggerHandler: corner the special case where the ChangesZone Trigger should be active
only if its a dies (Battlefield -> Graveyard) trigger.
2016-08-09 15:23:52 +00:00
Agetian
1098dd39a1 - One long-standing known issue from CHANGES.txt was fixed, removing it. 2016-08-09 15:21:02 +00:00
Hanmac
b0069e3696 cards: update Soulshift creatures. Kodama of the Center Tree now works as it should. 2016-08-09 14:44:51 +00:00
Hanmac
d2a7a4c025 Combat: dealAssignedDamage: add copyLastStateBattlefield before the assignedDamage is dealt 2016-08-09 14:41:40 +00:00
Hanmac
84c4725c9d CardFactoryUtil: update code for Soulshift,
also fixed Kodama of the Center Tree
2016-08-09 14:39:47 +00:00
Hanmac
a7ddddb817 AbilityUtils: add special Soulshift for xCount similar than Valid but, it does check the LastStateBattlefield
(might be named more generic)
2016-08-09 14:36:53 +00:00
Hanmac
8f2648afe0 TriggerHandler: SpellAbility and WrappedAbility gets LastStateBattlefield set
also for the check if a Trigger is active:
if it's a ChangeZone Trigger only valid on the Battlefield and the card was on the battlefield before,
but now its not, the trigger is still active for the moment
2016-08-09 14:33:40 +00:00
Hanmac
bc8dc7f2b1 SpellAbility: add LastStateBattlefield to get the info of the battlefield before this was put on the stack 2016-08-09 14:30:27 +00:00
Hanmac
7cf1700218 MagicStack: before ability resolves, copyLastStateBattlefield 2016-08-09 14:26:33 +00:00
Hanmac
99a69107ba Game: add getLastStateBattlefield it does store the cards which where on the battlefield for a given moment 2016-08-09 14:24:06 +00:00
Hanmac
5d322f1bd7 TriggerReplacementBase: add getActiveZone to make it visible 2016-08-09 14:21:51 +00:00
Hanmac
27b5eb2103 SpellAbilityStackInstance: don't save SVars for wrapped abilities 2016-08-09 14:12:35 +00:00
Hanmac
4e37501912 SpellAbility & WrappedAbility: overwride getSVar for WrappedAbility to access it later 2016-08-09 10:03:40 +00:00
Hanmac
577784040b Zone: add getLKICopy to get a copy of that zone 2016-08-09 09:58:05 +00:00
Hanmac
2567ed40fe KeywordWithAmount: fixed adding extra to string 2016-08-09 09:57:03 +00:00
Sol
3bb913b4fc - Fixed issue with single set Fantasy Blocks 2016-08-09 02:06:36 +00:00
Hanmac
088879bdd0 ComputerUtil: scoreHand, prevent crash on zero lands deck 2016-08-08 12:21:22 +00:00
Hanmac
b0f357d0e8 Pillar Tombs of Aku: add card now with AI 2016-08-08 11:11:35 +00:00
Hanmac
59232efe17 ComputerUtil: add logic into choosePermanentsToSacrifice for Pillar Tombs of Aku 2016-08-08 11:08:59 +00:00
Hanmac
ce3a7800fa Volcanic Offering: now works, but might a bit more AI logic 2016-08-08 08:01:32 +00:00
Hanmac
a3c57c2f4b DamageDealAi: fixed for the AI is not the activator of the damage spell
might need some more AILogic.
2016-08-08 07:59:02 +00:00
Hanmac
e52b6c065a CardFactory: fixed RollPlanarDice with unorthodox way 2016-08-07 15:43:12 +00:00
Hanmac
ca5a592739 Kilnspire District: add card, now working as it should 2016-08-07 15:04:11 +00:00
Hanmac
1a7e80921c HumanPlay: forgot one for exiledList 2016-08-07 15:02:54 +00:00
Hanmac
3c823ffa4a CardFactory: use PlanarDiceCostX because it does colide with other cards 2016-08-07 15:00:23 +00:00
Hanmac
1af0477d1d Spell: remove unused Includes 2016-08-07 10:21:09 +00:00
Hanmac
781150c5cd Spell: Bestow only with Flash if the Aura Part has Flash instead of only the Creature 2016-08-07 10:20:13 +00:00
Hanmac
3119deefa2 Spell: apply special ruling that you can cast a Bestow spell if you can cast an Aura for Flash 2016-08-07 09:27:04 +00:00
Hanmac
d1b04f0aec Ib Halfheart, Goblin Tactician: fixed card, it used the wrong trigger 2016-08-06 19:15:17 +00:00
Hanmac
cfcdd37b4a Quicksilver Elemental: add new card 2016-08-06 17:34:30 +00:00
Hanmac
37ce4cafe7 HumanPlaySpellAbility: add ManaConvert Keyword to have the colors be converted for ActivatedAbilities
that should make Quicksilver Elemental possible.
2016-08-06 17:34:10 +00:00
Hanmac
34222fca62 StaticAbility: add IsPresent Parameters 2016-08-06 16:51:12 +00:00
swordshine
22350672e4 - A guick fix forRakshasa Vizier 2016-08-06 15:19:59 +00:00
Agetian
85425249c1 - A little more generic solution for ChooseType message formatting. 2016-08-06 14:34:08 +00:00
Agetian
f381875715 - Fixed a little mistype. 2016-08-06 14:28:10 +00:00
Agetian
4058c2e7a9 - Added Sultai Schemers KTK precon (now supported thanks to Rakshasa Vizier). 2016-08-06 14:13:26 +00:00
Hanmac
fa08387a93 Rakshasa Vizier: add new card, thanks to new trigger 2016-08-06 12:48:57 +00:00
Hanmac
0f18060d9f CostAdjustment: add ChangesZoneAll trigger 2016-08-06 12:27:31 +00:00
Hanmac
10adb4a042 HumanPlay: add ChangesZoneAll trigger 2016-08-06 12:22:01 +00:00
Hanmac
869bb7b09d ChangeZoneAllEffect: add ChangesZoneAll Trigger 2016-08-06 12:10:23 +00:00
Hanmac
ec4f0cf057 ChangeZoneEffect: add ChangesZoneAll Trigger 2016-08-06 12:08:36 +00:00