Commit Graph

31254 Commits

Author SHA1 Message Date
Hanmac
2fb4a314cf Game & GameAction & Player: add Monarch into Forge
that add a new BecomeMonarchEffect and a TriggerBecomeMonarch
Player has a new Property "isMonarch"
2016-08-21 09:23:15 +00:00
Hanmac
09967c576f LimitedPlayer: disable DraftPower include for now (because it does not exist yet) 2016-08-20 08:24:48 +00:00
Hanmac
8050bfe391 CardFactoryUtil: "Alternative Cost" only works for non-Lands 2016-08-20 08:24:02 +00:00
Hanmac
f4f703d7a5 ComputerUtil: add game value for playSpellAbilityForFree 2016-08-20 08:09:43 +00:00
Sol
9da706cbad - Rewriting Booster Draft to be a bit more capable of handling Draft Matters cards 2016-08-18 20:22:10 +00:00
Sol
26166ef1dd - Fix Make Mischief referencing a different card 2016-08-18 17:07:48 +00:00
Hanmac
638f50d160 ChangeZoneEffect: add only if OriginZone is not null 2016-08-18 15:52:49 +00:00
Hanmac
b2aeaff2d6 ComputerUtil: add more LastState 2016-08-18 15:48:23 +00:00
Hanmac
b65a16acf2 ChooseName now uses ICardFaces for selecting a CardName.
that now makes it working for naming an alternate state of a card.
2016-08-18 08:29:11 +00:00
Hanmac
157c20a82b Card: extended logic for sharesNameWith to be used with Strings to use it with NamedCard 2016-08-18 08:22:07 +00:00
Hanmac
4d4a7f0b23 GuiChoose: add logic to display ICardFace objects (it checks for PaperCard) 2016-08-18 08:18:43 +00:00
Hanmac
1eb38acc04 CardFacePredicates: add similar to RulesPredicates 2016-08-18 08:08:21 +00:00
Hanmac
cf45e9ff1a CardDb: add getter for UniqCards and CardFaces 2016-08-18 08:01:14 +00:00
Hanmac
9668b50b0b CardFace: add toString to return the name and add Comparable to ICardFace 2016-08-18 07:49:47 +00:00
mcrawford620
470e22bed2 Convert CardRanker to static 2016-08-16 22:57:13 +00:00
mcrawford620
1c9b707104 Merged from LimitedCardRanker because I forgot to switch branches
Update EMN draft rankings (hopefully better data) [from revision 31939]
Add DeckHints to Kamigawa [from revision 32001]
2016-08-16 22:35:13 +00:00
mcrawford620
0e1b4e847a Add DeckHints to Kamigawa 2016-08-16 22:19:14 +00:00
Sol
341238aeb1 - Some improvements to draft handling 2016-08-16 17:09:51 +00:00
swordshine
1cfdb0aa0c - CN2: Added Kaya, Ghost Assassin and Capital Punishment 2016-08-16 12:20:00 +00:00
Hanmac
8cc647bb93 TriggerSacrificed & Player: add Player Param because it might differ from the (original) controller of the card,
while copying does not seems to copy control effects too.
2016-08-16 10:30:11 +00:00
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