Commit Graph

30824 Commits

Author SHA1 Message Date
Agetian
00ada401d2 - Added a way to display a custom win message for a challenge.
- Made "Against All Odds" a persistent challenge with a custom win message that congratulates the player for beating the ultimate challenge in the quest.
2016-08-27 14:43:28 +00:00
Agetian
34c11c6b46 - Added a way to implement persistent challenges by adding Persistent=true to the challenge deck metadata. Persistent challenges do not disappear if a player lost the match (and thus stay until the player wins). 2016-08-27 14:12:48 +00:00
Agetian
8405b967ca - Even more corrections for quest worlds. 2016-08-27 10:15:32 +00:00
Agetian
423e794ee4 - Some additional corrections for quest worlds. 2016-08-27 09:27:04 +00:00
Agetian
1fe8c15b83 - Updated Xyx's quest worlds to the 16/06 build (added Mirage, updated various quest worlds, updated quest world names).
- Some files are renamed to satisfy the non-GNU tar requirement.
- Accented symbols [mostly] changed into non-accented ones for better compatibility across systems.
- "The End" (tier 4) opponent removed due to "Random Duel" potentially conflicting with it and giving the player a free win.
- Warning: may break compatibility with old World-based quest saves. If you experience a crash with an old quest save, you will have to delete it and start a new quest (or continue playing the old quest using the old version of the game).
2016-08-27 09:20:21 +00:00
Hanmac
1920224f23 AI: fixed copyCard with should have new id, should probably be better with LKI copy 2016-08-25 18:19:52 +00:00
Hanmac
848baaef96 ComputerUtilCard: getPumpedCreature need new id for copy for reasons.
probably should be done with LKI copy.
2016-08-25 18:01:11 +00:00
Hanmac
a2af4ced63 CardFactoryUtil: abilityMorphDown fixed ability for Morph cards 2016-08-25 13:59:12 +00:00
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