Commit Graph

31284 Commits

Author SHA1 Message Date
Hanmac
7ce95a0956 ComputerUtil: add LastState to handlePlayingSpellAbility 2016-08-15 18:12:59 +00:00
Hanmac
397645d399 Conflagrate: fixed Min when using 0 for X
and remove Announce because it does cause problems with Play Effects
2016-08-15 13:32:49 +00:00
Hanmac
4a8c489e06 HumanPlaySpellAbility: announceValuesLikeX check for X in other CostParts too 2016-08-15 13:31:41 +00:00
Hanmac
7b8563516c TriggerHandler & TriggerWaiting: updated trigger for subabilities and waiting Trigger should look for the events they should trigger.
that does fix the problem with subabilities and changeZone Triggers (no need to check for LastStateBattlefield)
2016-08-15 08:03:33 +00:00
Hanmac
91f8fce6e8 Avacyn's Judgment: fixes References 2016-08-15 07:56:11 +00:00
Hanmac
2be9f32678 CountersPutAi: use Iterables.size for better size 2016-08-15 04:44:23 +00:00
Hanmac
c8b46ec38b CountersPutAi: add chooseSingleCard for Bolster and maybe others 2016-08-15 04:42:50 +00:00
Hanmac
2378ae4fdc cards: update some cards with LastStateBattlefield which does enter the battlefield with +1/+1 depending on something on the Battlefield 2016-08-14 14:27:41 +00:00
Hanmac
103f937ea1 cars: update some cards with LastStateGraveyard which does enter the battlefield with +1/+1 depending on something from the graveyard. 2016-08-14 12:26:12 +00:00
Hanmac
7ab1812ea8 AbilityUtils: add LastStateGraveyard and add both to CardFactoryUtil to work without SpellAbility 2016-08-14 09:02:07 +00:00
Hanmac
97d05b830c Game: update copyLastStateBattlefield to copyLastState 2016-08-14 09:00:03 +00:00
Hanmac
db520bd7eb SpellAbility: add LastStateGraveyard
updated TriggerHandler and MagicStack
add it to ReplacementHandler too
2016-08-14 08:59:17 +00:00
Hanmac
444b01ce8f Player: fixed BloodThrist also counting LostPlayers
also make Ferocious shorter using filterPower
2016-08-14 08:51:41 +00:00
Hanmac
1c00fdb204 PhaseHandler: clearAssignedDamage for LostPlayers too 2016-08-14 08:47:39 +00:00
Hanmac
f1b5502649 Game: add LastStateGraveyard (that is for something when its returned from the graveyard while counting itself)
also add getLostPlayers to clearup Damage of them after they lost
2016-08-14 08:46:21 +00:00
Hanmac
f99158c026 HumanPlaySpellAbility: fixed the reset of xPaid only for Spells 2016-08-14 08:35:10 +00:00
tojammot
eb9497e9f6 Made more quest opponent decks Vintage-legal. Feel free to adjust if you have better improvements. 2016-08-13 13:08:48 +00:00
Hanmac
55955dd317 Damping Engine: now scriptable 2016-08-13 10:28:56 +00:00
Hanmac
5af5cb61c0 Player: fixed Name of StaticAbility Effect 2016-08-13 10:27:40 +00:00
Hanmac
f4c3975e75 StaticAbilityContinuous: Player now can get StaticAblilities 2016-08-13 10:26:07 +00:00
Hanmac
c3b66dd8f2 GameAction: when Temporary Abilities are cleared, clear the Player ones too 2016-08-13 10:24:18 +00:00
Hanmac
6c27b0ed09 StaticAbility: fixed Layer, AddStaticAbility need to be Ability2 and IgnoreEffectCost need to be Rules 2016-08-13 10:23:07 +00:00
Hanmac
c67caaffa5 Player: add way to add StaticAbilities to Player over a hidden DetachedCardEffect 2016-08-13 10:21:43 +00:00
tojammot
bee95b4f75 Added a hard version of the Imperial Guard quest opponent and made the Regigigas deck Vintage-legal. 2016-08-13 03:48:14 +00:00
Hanmac
9b3e138fc0 Chord of Calling: remove Announce and set StackDescription 2016-08-12 19:13:58 +00:00
Hanmac
aab5e89e70 HumanPlaySpellAbility: announceValuesLikeX if needX is true, but Cost is zero, reset XManaCostPaid 2016-08-12 19:10:49 +00:00
Hanmac
66e16ed6ae SpellAbilityRestriction: should fix problem with MayPlay and others 2016-08-12 18:52:47 +00:00
Hanmac
56ff102560 cards: updated cards with DragonPresence 2016-08-12 16:16:31 +00:00
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