Commit Graph

3230 Commits

Author SHA1 Message Date
Agetian
a5aa83837d - Added puzzle PS_GRN7.
- Fixed effect cards lingering in the command zone across Setup Game State calls from the dev mode menu.
2018-11-20 08:15:23 +03:00
Agetian
8b566c0bbb - Dev mode: added a way to add a card to top of the library instead of the bottom.
- Fixed a bug that caused the zone index not to be accounted for during changeZone (not sure how many things were affected by this, but it prevented putting a card on top of the library via moveToLibrary).
2018-11-17 10:08:11 +03:00
Agetian
e1b18857fe - A better implementation for Mishra double damage AI count. 2018-11-14 23:16:52 +03:00
Agetian
f3912e4eb0 - Account for double damage coming from Mishra Vanguard avatar. 2018-11-14 23:14:28 +03:00
Michael Kamensky
9858baf52e Merge branch 'master' into 'master'
Commander quest mode

See merge request core-developers/forge!1053
2018-11-10 16:18:16 +00:00
Blacksmith
66c7f0745d [maven-release-plugin] prepare for next development iteration 2018-11-10 06:06:16 +00:00
Blacksmith
ed1febafe6 [maven-release-plugin] prepare release forge-1.6.18 2018-11-10 06:06:11 +00:00
Hanmac
396bb2c5b4 CopyPermanent: the final card need to have the State updated 2018-11-09 23:25:52 +01:00
Hans Mackowiak
36d6465e49 CardFactoryUtil: fixed Nexus 2018-11-09 14:05:33 +00:00
Hans Mackowiak
1c39671c27 CardFactoryUtil: update the Nexus of Fate RE 2018-11-09 13:40:01 +00:00
Jeremy Pelkala
71eaf70df5 Added Commander quest mode and world
-CardPool
 Added getFilteredPool() to easily get a Predicate applied copy of a CardPool.

 -GameRules
 Minor formatting change.

 -worlds.txt
 Added Random Commander to the list.

 -DeckConstructionRules
 New enum for defining the subformat a quest is using.

 -QuestAssets
 getLife() now has a switch for modifying the life for sub-formats.

 -QuestData
 New data save version. Includes a DeckConstructionRules enum.

 -QuestDataIO
 updateSaveFile will update old saves to have a default DeckConstructionRules complying with the new QuestData save version.

 -QuestController
 Updated to include support for DeckConstructionRules and specialized duel managers

 -QuestEvent
 Now have boolean to define if this is a "random" match for the duel list. Currently only QuestEventCommanderDuelManager makes use of this feature for Commander quests.

 -QuestEventCommanderDuel
 New QuestEventDuel used in the QuestEventCommanderDuelManager which contains a DeckProxy for use in generating random commander decks.

 -QuestEventCommanderDuelManager
 New duel manager to generate duels by difficulty for a Commander quest. Currently uses random generation to generate the decks of each opponent.

 -QuestSpellShop
 Sell Extras button now has a switch for taking into account special deck construction rules such as Commander only allowing singletons.

 -QuestUtil
 Starting a game now checks for various sub-format specific changes including a switch case for which variety of registered player to use.

 -QuestUtilCards
 Starting cardpool size is now modified by a switch case for sub-formats such as Commander.

 -QuestWinLoseController
 QuestEvents marked as random matches will now award a "Random Opponent Bonus" equal to the credit base. Currently only QuestEventCommanderDuelManager creates QuestEvents marked as such.

 -QuestWorld
 Added support for the Commander quest format and world.

 -CEditorQuest
 Many changes to add support for Commander in a style that, hopefully, also paths the way for future format support.

 -CSubmenuQuestData
 Support for Commander quests.

 -VSubmenuQuestData
 Support for Commander quests.
2018-11-08 12:46:46 -05:00
imakunee
3b6bbbac10 Revert "-CardPool"
This reverts commit 37d9dc753f
2018-11-08 12:46:46 -05:00
Jeremy Pelkala
cccaf1760d Added Commander quest mode and world
-CardPool
 Added getFilteredPool() to easily get a Predicate applied copy of a CardPool.

 -GameRules
 Minor formatting change.

 -worlds.txt
 Added Random Commander to the list.

 -DeckConstructionRules
 New enum for defining the subformat a quest is using.

 -QuestAssets
 getLife() now has a switch for modifying the life for sub-formats.

 -QuestData
 New data save version. Includes a DeckConstructionRules enum.

 -QuestDataIO
 updateSaveFile will update old saves to have a default DeckConstructionRules complying with the new QuestData save version.

 -QuestController
 Updated to include support for DeckConstructionRules and specialized duel managers

 -QuestEvent
 Now have boolean to define if this is a "random" match for the duel list. Currently only QuestEventCommanderDuelManager makes use of this feature for Commander quests.

 -QuestEventCommanderDuel
 New QuestEventDuel used in the QuestEventCommanderDuelManager which contains a DeckProxy for use in generating random commander decks.

 -QuestEventCommanderDuelManager
 New duel manager to generate duels by difficulty for a Commander quest. Currently uses random generation to generate the decks of each opponent.

 -QuestSpellShop
 Sell Extras button now has a switch for taking into account special deck construction rules such as Commander only allowing singletons.

 -QuestUtil
 Starting a game now checks for various sub-format specific changes including a switch case for which variety of registered player to use.

 -QuestUtilCards
 Starting cardpool size is now modified by a switch case for sub-formats such as Commander.

 -QuestWinLoseController
 QuestEvents marked as random matches will now award a "Random Opponent Bonus" equal to the credit base. Currently only QuestEventCommanderDuelManager creates QuestEvents marked as such.

 -QuestWorld
 Added support for the Commander quest format and world.

 -CEditorQuest
 Many changes to add support for Commander in a style that, hopefully, also paths the way for future format support.

 -CSubmenuQuestData
 Support for Commander quests.

 -VSubmenuQuestData
 Support for Commander quests.
2018-11-08 12:46:43 -05:00
imakunee
03cd56d2a9 Revert "-CardPool"
This reverts commit 37d9dc753f
2018-11-08 12:46:43 -05:00
Jeremy Pelkala
6857eadd11 -CardPool
Added getFilteredPool() to easily get a Predicate applied copy of a CardPool.

 -GameRules
 Minor formatting change.

 -worlds.txt
 Added Random Commander to the list.

 -DeckConstructionRules
 New enum for defining the subformat a quest is using.

 -QuestAssets
 getLife() now has a switch for modifying the life for sub-formats.

 -QuestData
 New data save version. Includes a DeckConstructionRules enum.

 -QuestDataIO
 updateSaveFile will update old saves to have a default DeckConstructionRules complying with the new QuestData save version.

 -QuestController
 Updated to include support for DeckConstructionRules and specialized duel managers

 -QuestEvent
 Now have boolean to define if this is a "random" match for the duel list. Currently only QuestEventCommanderDuelManager makes use of this feature for Commander quests.

 -QuestEventCommanderDuel
 New QuestEventDuel used in the QuestEventCommanderDuelManager which contains a DeckProxy for use in generating random commander decks.

 -QuestEventCommanderDuelManager
 New duel manager to generate duels by difficulty for a Commander quest. Currently uses random generation to generate the decks of each opponent.

 -QuestSpellShop
 Sell Extras button now has a switch for taking into account special deck construction rules such as Commander only allowing singletons.

 -QuestUtil
 Starting a game now checks for various sub-format specific changes including a switch case for which variety of registered player to use.

 -QuestUtilCards
 Starting cardpool size is now modified by a switch case for sub-formats such as Commander.

 -QuestWinLoseController
 QuestEvents marked as random matches will now award a "Random Opponent Bonus" equal to the credit base. Currently only QuestEventCommanderDuelManager creates QuestEvents marked as such.

 -QuestWorld
 Added support for the Commander quest format and world.

 -CEditorQuest
 Many changes to add support for Commander in a style that, hopefully, also paths the way for future format support.

 -CSubmenuQuestData
 Support for Commander quests.

 -VSubmenuQuestData
 Support for Commander quests.
2018-11-08 12:46:43 -05:00
Hanmac
2d4174c6d8 Update ExtraTurn in PlayerView 2018-11-08 08:28:32 +01:00
Hanmac
ebdfd94f85 ExtraTurn in PlayerView 2018-11-08 07:27:34 +01:00
Hans Mackowiak
1281f6fba1 Merge branch '763-concurrentmodificationexception-in-getplayercommanderinfo' into 'master'
Resolve "ConcurrentModificationException in getPlayerCommanderInfo"

Closes #763

See merge request core-developers/forge!1063
2018-11-06 18:36:08 +00:00
Hans Mackowiak
8eb39e28b7 CardUtil:getLKICopy with Breadcrumb 2018-11-06 14:12:59 +00:00
Hanmac
e2dd52cf1c PlayerView: should fix ConcurrentModificationException 2018-11-05 08:25:31 +01:00
Michael Kamensky
be86f5be9b Added several M19-GRN quest opponent decks, fixed the AI for several cards in Standard. 2018-11-04 18:34:15 +00:00
Hanmac
877b0abd66 add Sentry Breadcrumb 2018-11-03 18:02:18 +01:00
Hanmac
70e2714cf3 Affinity as Keyword 2018-11-01 15:26:48 +01:00
Michael Kamensky
85aaf5c548 Fixed a double Taps trigger on Convoke/Improvise. 2018-10-31 09:10:10 +00:00
Agetian
3e91c95dcf - When making token copies of permanents, set the copied permanent so that its CMC can be calculated. 2018-10-26 22:58:16 +03:00
Agetian
f4db360265 - Prevent NPEs caused by the AI when testing for the new style AI hints from within AI methods on Card objects, which is dangerous because Card.getRules() is not guaranteed to be non-null, and may indeed be null for objects such as tokens (especially noticeable in Momir Basic and MoJhoSto).
- Currently relegated 99% of AI calls to those getAIHints tests to a wrapper method which checks for a non-null getRules.
- The card predicate has to test for non-null directly to avoid adding an unnecessary dependency on the AI module (the alternative would be to add the wrapper methods to the Card object, but that'll clutter it even more and the AI hints belong to the AI side of things, not the card itself).
2018-10-26 17:16:12 +03:00
Chris H
ff4622954f Fix NPEs reported by Sentry 2018-10-20 22:07:57 -04:00
Michael Kamensky
4b52ff05d5 Update direct references to RemAIDeck/RemRandomDeck to use the new format 2018-10-19 12:13:31 +00:00
Michael Kamensky
d12e6430a6 Merge branch 'epicRework' into 'master'
Epic rework

See merge request core-developers/forge!1018
2018-10-16 04:12:53 +00:00
swordshine
2e0a0c5560 Merge branch 'migrate-full-cost' into 'master'
Convert FullCost to PermanentCreature

See merge request core-developers/forge!1020
2018-10-16 03:56:08 +00:00
Chris H
a80396ae97 Convert FullCost to PermanentCreature 2018-10-15 22:18:23 -04:00
Hanmac
6c2dfcffff Epic rework 2018-10-15 22:05:13 +02:00
Blacksmith
b11830a12a [maven-release-plugin] prepare for next development iteration 2018-10-15 15:42:16 +00:00
Blacksmith
a8fbfce51f [maven-release-plugin] prepare release forge-1.6.17 2018-10-15 15:42:12 +00:00
swordshine
3143751550 Merge branch 'fix-lich' into 'master'
Fix Underrealm Lich revealing a card going to hand.

See merge request core-developers/forge!1013
2018-10-14 08:15:38 +00:00
Agetian
8653338f56 - Underrealm Lich should not reveal a card going to hand. 2018-10-14 08:57:06 +03:00
Michael Kamensky
7142751ef3 Merge branch 'add-jump-start-to-flashback' into 'master'
Improve flashback zone display

See merge request core-developers/forge!1012
2018-10-14 03:40:12 +00:00
Chris H
3889c75e32 Improve flashback zone display 2018-10-13 19:14:19 -04:00
Agetian
46c764d5ab - Temporarily revert a change in CostPartMana to avoid breaking Convoke, Improvise, and Delve. 2018-10-13 21:02:47 +03:00
Agetian
2a1a753182 - Minor mistype fix in SurveilEffect. 2018-10-13 19:48:05 +03:00
Jamin Collins
51bc066238 Merge branch 'fix+gonti' into 'master'
Fixing Mana types being inappropriately referenced in relation to Matrices

See merge request core-developers/forge!883
2018-10-12 23:13:33 +00:00
Michael Kamensky
bfa43bf157 Merge branch 'patch' into 'master'
Remaining C18 cards

See merge request core-developers/forge!1001
2018-10-11 11:12:20 +00:00
swordshine
e78028a254 - Updated Genesis Storm 2018-10-11 16:41:41 +08:00
Hanmac
b519896855 CloneEffect: now with NewName and GainThisAbility 2018-10-11 08:09:48 +02:00
swordshine
6c9ba7694d - Added some cards 2018-10-11 08:54:09 +08:00
Chris H
8ac960168d Cross my fingers 2018-10-09 21:43:48 -04:00
swordshine
a2761c868c - Updated more scripts 2018-10-09 23:14:28 +08:00
swordshine
68de368c46 - Commander Storm cards 2018-10-09 20:51:00 +08:00
swordshine
4089aefcde - migrate Aminatou, the Fateshifter 2018-10-09 15:55:06 +08:00
swordshine
375c1e0da7 - Added Aminatou, the Fateshifter 2018-10-09 12:03:29 +08:00