Commit Graph

31166 Commits

Author SHA1 Message Date
Hanmac
453c1e7f9f add Goad Effect, add it to AttackRequirement and CombatUtil
also add it to Ai logic
2016-08-25 12:15:54 +00:00
Sol
198c6d4a04 - Fix target prompt of Collective Defiance 2016-08-23 18:01:13 +00:00
Hanmac
41735176f6 CardFactoryUtil: add Melee as Keyword 2016-08-23 16:56:19 +00:00
Hanmac
317e9d3a4f AbilityUtils: add TriggeredPlayers to work with a List of Player objects 2016-08-23 16:54:21 +00:00
Hanmac
8f75c1070f CombatUtil & TriggerAttacks: add all Defenders as Triggered Object 2016-08-23 16:52:57 +00:00
Hanmac
a3e21d47b4 Teysa, Envoy of Ghosts: the trigger should be combat damage only 2016-08-22 14:51:39 +00:00
Hanmac
803c0fdaa9 cards: forget Rolling Thunder 2016-08-22 14:50:42 +00:00
Hanmac
b90a77b035 cards: updated some cards which does have Announce X with X in Cost
it does break when cards are cast without paying the mana cost
2016-08-22 14:49:41 +00:00
Hanmac
0d9e59061a Hunter Sliver: update Provoke 2016-08-22 14:46:19 +00:00
Hanmac
d4f31e10dd CardFactoryUtil: move Provoke to addTriggerAbility 2016-08-22 14:44:29 +00:00
swordshine
78b6e11ec2 - CN2: Fix Monarch's draw trigger 2016-08-21 14:24:49 +00:00
Hanmac
21aa02c7ea ComputerUtilCombat: does use LKI copy instead of copyCard for checking if card can transform in battle 2016-08-21 12:43:16 +00:00
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