Commit Graph

31206 Commits

Author SHA1 Message Date
Hanmac
6fa7c5b291 CardFactoryUtil: add Presence to Count$ 2016-08-12 16:11:46 +00:00
Hanmac
b5d2e7a62e StaticAbility: add Presence condition too
StaticAbility should use Common checks from CardTraitBase
2016-08-12 15:57:28 +00:00
Hanmac
89d4c41267 CardTraitBase: add Presence for DragonPresence cards, coded flexible for type change 2016-08-12 15:53:59 +00:00
Hanmac
b25b3b0eda ComputerUtil: set CastSA for AI 2016-08-12 15:50:24 +00:00
Hanmac
411d23a3a4 GameAction: reset CastSA when its moved somewhere else 2016-08-12 15:42:27 +00:00
Hanmac
597a705e0a AbilityUtils: use LastStateBattlefield instead of Soulshift 2016-08-12 15:41:30 +00:00
Hanmac
ac880166ce CardFactoryUtil: add Presence as Keyword, it now just is a special Kicker
add Count$LastStateBattlefield
2016-08-12 15:40:39 +00:00
Hanmac
23d628eac8 CardUtil: add Presence to modifiable Keywords 2016-08-12 15:38:18 +00:00
Hanmac
04db9ebce5 CardFactory: copy castSA 2016-08-12 15:37:08 +00:00
Hanmac
ea7255254d MagicStack: create a copy of the Battlefield when the Stack is empty 2016-08-12 15:35:41 +00:00
Hanmac
e7a2be533b HumanPlaySpellAbility: set CastSA and LastStateBattlefield when casting a spell 2016-08-12 15:34:42 +00:00
Hanmac
ca4d5adc5d Card: add CastSA that will be used to have infomation what SpellAbility was used to cast this card 2016-08-12 15:33:12 +00:00
Hanmac
46a17d3a7f Keyword: add DragonPresence as Keyword 2016-08-12 15:25:08 +00:00
Hanmac
2aba133c3c Cost: should not add Zero ManaCost 2016-08-12 09:00:46 +00:00
Hanmac
b2f1b012ea SpellAbilityRestriction: fixed MayPlay blocking other optional costs 2016-08-12 08:56:13 +00:00
Hanmac
26e9f880b4 Spell: the check if Bestow has Flash should only happed if the card is not already Bestowed 2016-08-12 07:18:35 +00:00
Hanmac
e2d9001b66 SpellAbility: add MayPlayOriginal, it does store the original SpellAbility
GameActionUtil: when creating MayPlay copies, set the original
MagicStack: when having a MayPlay copy, set the TotalManaSpent for the original too.
2016-08-12 06:54:00 +00:00
Hanmac
06930c4550 Morphic Tide: add card, similar to Warp World 2016-08-11 15:45:25 +00:00
Hanmac
8fa502bae3 Glimmervoid Basin: add card now working 2016-08-11 15:24:17 +00:00
Hanmac
33e482584b CopySpellAbilityEffect: extend CopyForEachCanTarget that it can copy for players too 2016-08-11 15:21:29 +00:00
Sloth
d966c4e08e - The AI will ignore the ability fo Nether Void for cards that can't be countered. 2016-08-11 13:34:10 +00:00
Hanmac
56d6435d81 ComputerUtilMana: fixed that AI can bypass the RollDiceCost 2016-08-11 09:28:16 +00:00
Hanmac
e711366e9a Glen Elendra: now scriptable with dealtCombatDamageThisCombat and wasDealtCombatDamageThisCombatBy 2016-08-11 07:47:28 +00:00
Hanmac
20af5a070a Player: add wasDealtCombatDamageThisCombatBy 2016-08-11 07:42:27 +00:00
Hanmac
c89505a372 Card: add dealtCombatDamageThisCombat 2016-08-11 07:40:41 +00:00
Hanmac
e3d1a2a580 CardDamageHistory: add getThisCombatDamaged 2016-08-11 07:39:53 +00:00
swordshine
dd6530dfe9 - Update Planeswalker types 2016-08-11 07:02:58 +00:00
Sol
469ed298c8 - Improve target prompt in Blessed Alliance 2016-08-11 01:04:07 +00:00
mcrawford620
adb1ccbb91 Update EMN draft rankings (hopefully better data) 2016-08-10 22:07:30 +00:00
Hanmac
454b13d857 Thirsting Axe: using notDealtCombatDamageThisTurn now 2016-08-10 15:25:51 +00:00
Hanmac
8fcfba9e03 Card: fixed notDealtCombatDamageThisTurn 2016-08-10 15:17:29 +00:00
Hanmac
ca72abc65c Card: add notDealtCombatDamageThisTurn as negation 2016-08-10 15:02:31 +00:00
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