Commit Graph

3359 Commits

Author SHA1 Message Date
Agetian
ee960c9c08 - Fixed an issue which caused DamageReceivedCondition not to work and always return 0 (looks like it needs an internal LKI check). 2018-12-13 15:55:42 +03:00
Agetian
5db2dd74b8 - Prevent a NPE on cloning a flipped card, ensure that the original image is loaded after cloning if the card is not flipped. 2018-12-12 20:19:15 +03:00
Agetian
16aca81508 - Added a TODO entry for future rework. 2018-12-11 13:54:33 +03:00
Agetian
366c836d3a - Make the local check for Hollow One work for static abilities only. 2018-12-11 08:38:37 +03:00
Agetian
35a7af2a5e - Fixed Hollow One cost reduction (currently uses a fixed check on PropertyYou, not sure how to make it work better since it's not coming from a SpellAbility with checkable activator). 2018-12-11 08:36:59 +03:00
Blacksmith
e8c581b402 [maven-release-plugin] prepare for next development iteration 2018-12-09 06:52:11 +00:00
Blacksmith
a990b9ff69 [maven-release-plugin] prepare release forge-1.6.19 2018-12-09 06:52:07 +00:00
Agetian
e10f90cf49 - Fix Myr Welder + Ornate Kanzashi, make Myr Welder use the Imprint mechanism. 2018-12-08 10:51:35 +03:00
Agetian
5143505bd4 - Set the original host on subabilities and additional abilities, fixes a crash with Myr Welder + Ornate Kanzashi. 2018-12-08 10:51:35 +03:00
Agetian
74c7dd0305 - Tweaked the comment. 2018-12-06 17:28:13 +03:00
Agetian
9cbada32aa - 2018-12-06 10:23:12 +03:00
Agetian
e23790fd90 - Attempting to fix Venerated Loxodon not giving counters to creatures that helped convoke it. 2018-12-06 10:23:12 +03:00
Hans Mackowiak
fb77b652a7 Update CardFactoryUtil
Closes #775
2018-12-05 10:53:38 +00:00
Agetian
a2ca811136 - Minor logic tweak (Buyback)
- hasXInAnyCostPart doesn't need a SA parameter now that it's in Cost.
- Fixed a minor mistype on mobile Forge.
2018-12-04 16:11:08 +03:00
Agetian
373cd9bd24 - Further updated mana ritual cards to properly account for Battery effect. 2018-12-04 12:21:04 +03:00
Agetian
fc2ba648c6 - Fix Protection from X mechanic. 2018-11-25 20:32:45 +03:00
Michael Kamensky
e608f55f36 Merge branch 'attachCombine' into 'master'
Attach combine

Closes #561

See merge request core-developers/forge!1111
2018-11-25 04:22:22 +00:00
Agetian
79b7b1f935 - Added a ReorderTopOfLibrary AI logic.
- Marked the relevant cards AI playable.
2018-11-24 22:15:10 +03:00
Agetian
3fff9efa39 - Attempting to refactor names to not be ambiguous/confusing. 2018-11-24 11:22:12 +03:00
Agetian
05ac8b0b53 - Attempting to refactor names to not be ambiguous/confusing. 2018-11-24 10:53:06 +03:00
Hanmac
d0857ad696 attach: rework attaching names 2018-11-23 22:24:57 +01:00
Hanmac
596ad849dc Attach: refactor names 2018-11-23 08:21:38 +01:00
Hanmac
f2f34bc4db CantAttach: remove 'can't be enchanted in the future' 2018-11-23 08:21:38 +01:00
Hanmac
cde486cfa0 Card: remove CantEquip 2018-11-23 08:21:38 +01:00
Hanmac
df83e7c783 ST: CantAttach begins to replace other cases 2018-11-23 08:21:37 +01:00
Agetian
7eda172ef7 - Fix compile for mobile Forge, update imports. 2018-11-23 08:21:36 +01:00
Hanmac
6bd06999f3 CI stylefix 2018-11-23 08:21:36 +01:00
Hanmac
2f913724cb Attached: combine Enchant+Equip+Fortify 2018-11-23 08:21:36 +01:00
Hanmac
1ab462f949 TriggerType: rename Unequip to Unattach 2018-11-23 08:21:36 +01:00
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