Commit Graph

31256 Commits

Author SHA1 Message Date
Hanmac
44b4d16ee3 CardFactoryUtil: make Modular into new format
add Modular Keyword class for better formating of Modular:Sunburst
2016-11-04 09:14:37 +00:00
Hanmac
9dfce775c2 CardFactoryUtil: fixed Restriction for Offering 2016-11-04 06:29:04 +00:00
Myrd
004f12d5cb Fix exception in desktop UI with lazy card loading. 2016-11-04 04:24:43 +00:00
Myrd
acddffa267 Experimental feature (behind a pref) to not load all card rules at start up. In my testing, this improves startup speed significantly.
This is still experimental & behind a flag because there's some more work that needs to be done to fully support this - such as loading all cards when the deck builder UI is shown.
2016-11-04 04:19:51 +00:00
Sol
0a78b139e8 - Added a Preference for Card Sale Percentage Base and Max 2016-11-04 02:09:25 +00:00
Hanmac
6c47d22256 AiController: move more to PermanentAi 2016-11-03 09:30:20 +00:00
Hanmac
1d3e9527a0 GameActionUtil: fixed somethings with getRestrictions/setRestrictions 2016-11-03 07:50:38 +00:00
Hanmac
e14e883f47 AiController: move parts for SpellPermanent to PermanentCreatureAi and PermanentNonCreatureAi 2016-11-03 07:45:02 +00:00
Hanmac
002a20f4e8 CardFactoryUtil: reworked some keywords, like Dash, Surge and Evoke
Card doesn't need Evoked anymore, ask CastSA which has the info now
2016-11-02 21:19:25 +00:00
Hanmac
b099949a98 SpellPermanent: its now using ApiBased as Parent 2016-11-02 21:03:49 +00:00
Hanmac
c2b3628708 SpellAbilityVariables: make it cloneable, use it in copySpellAbility 2016-11-02 20:43:06 +00:00
Hanmac
e33d952fc6 PermanentEffect: add Base class for PermanentCreatureEffect and PermanentNoncreatureEffect 2016-11-02 20:40:24 +00:00
Hanmac
b67efa4a01 CardFactory: fixed setting ActivatingPlayer 2016-11-02 13:46:57 +00:00
Hanmac
dfdc097755 cards: update Exile until leaves Battlefield cards.
remove RememberChanged when not needed, if needed, use Cleanup
add ForgetOnMoved for the Exiled Cards,
and use EFFECTSOURCE for the Effect
2016-11-01 20:48:25 +00:00
Hanmac
4874117d98 Trigger: add EFFECTSOURCE in addition to CARDNAME 2016-11-01 20:40:30 +00:00
Hanmac
cec67c71cd CardFactoryUtil: fixed copySpellAbility with ActivatingPlayer 2016-11-01 20:13:18 +00:00
Hanmac
eecf564129 ChangeZoneAllAi: fixed problem with return from exile Effects
also upated the Code using PlayerPredicates, with getOpponents instead of just one
2016-11-01 08:56:03 +00:00
Hanmac
659134352c AiPlayerPredicates: special PlayerPredicates but having some AI Logic into it 2016-11-01 08:54:00 +00:00
Hanmac
ae59c0f385 PlayerPredicates: add new class like CardPredicates but for Players 2016-11-01 08:53:16 +00:00
Hanmac
d8d195af5c SpellAbilityAi: add more checks if it use Targeting and has Candidates to target 2016-10-31 22:09:34 +00:00
Hanmac
a8247019ec AnimateAi: add fallback if target is mandatory and no better card 2016-10-31 16:06:54 +00:00
Hanmac
1323860100 PlayerControllerAi: do not add to Stack if it cant go there (like missing targets) 2016-10-31 16:05:25 +00:00
swordshine
adfe129987 - Updated CounterTypes: spite and fury 2016-10-31 13:20:12 +00:00
Hanmac
57089618fe card: Silas Renn: fixed MayPlay effect, prevent it from casting lands 2016-10-31 10:15:36 +00:00
Hanmac
a72adc0e34 cards: fixed silas renn's name 2016-10-31 10:11:13 +00:00
Hanmac
9f50ab6266 CardFactoryUtil: remove unneeded correctAbilityChainSourceCard 2016-10-31 06:09:00 +00:00
Hanmac
6315d0760d CardFactoryUtil: fixed etb tapped 2016-10-31 05:49:03 +00:00
Krazy
ebbe189f4a [maven-release-plugin] prepare for next development iteration 2016-10-31 04:07:37 +00:00
Krazy
c6f6344d4f [maven-release-plugin] prepare release forge-1.5.57 forge-1.5.57 2016-10-31 04:07:26 +00:00
Hanmac
873d50b3cd cards: updated Myriad cards with DeckHints and new Oracle 2016-10-30 22:08:34 +00:00
Hanmac
f576edda8c Keyword: add Myriad in Keyword format 2016-10-30 22:07:39 +00:00
Hanmac
0371ea150e AttachAi: use getOpponents instead of getOpponent 2016-10-30 21:20:09 +00:00
Hanmac
8b03917cbe cards: updated Monstrosity and add DeckHints 2016-10-30 21:18:58 +00:00
Hanmac
47ed9b7545 Keyword: add Monstrosity in Keyword format 2016-10-30 21:14:32 +00:00
Hanmac
0c30e42c39 ComputerUtilMana: remove ManaProducingCard, replace it with static function 2016-10-30 18:09:43 +00:00
Hanmac
e48968bce1 ControlGainAi: use getOpponents() and add more logic into gain Control of something that would leave the Play 2016-10-30 17:53:39 +00:00
Myrd
e8487361d8 Fix some warnings 2016-10-30 17:28:06 +00:00
Hanmac
90a9a0d170 cards updated Renown cards, add DeckHints 2016-10-30 16:37:08 +00:00
Hanmac
0687b38c15 CardFactoryUtil: Renown use new Trigger format 2016-10-30 16:35:38 +00:00
Hanmac
b7b9d1b3cb cards: updated Living Weapon card, add DeckHints, updated Oracle 2016-10-30 15:58:48 +00:00
Hanmac
b767bac78a Keyword: update Living Weapon Reminder 2016-10-30 15:58:21 +00:00
Hanmac
e3765ecf3a CardFactoryUtil: turn Living Weapon into new Format 2016-10-30 15:51:05 +00:00
Hanmac
b21a9b36d0 KeywordWithCostAndAmount: fixed Parsing for Keywords with X as Amount (and Cost) 2016-10-30 15:09:20 +00:00
Hanmac
3c3d0ed431 cards: updated Cards with Tribute using new Format, and add DeckHints 2016-10-30 14:55:57 +00:00
Hanmac
f4cb8e1cdf do Tribute in new Keyword format 2016-10-30 14:54:22 +00:00
Hanmac
31ad39fb57 cards: updated the depletion ETB lands too 2016-10-30 13:42:54 +00:00
Hanmac
2e067a7f97 cards: vivid lands and Sphere of the Suns use ETBReplacement. Also add DeckHints 2016-10-30 13:40:16 +00:00
Hanmac
afc0cfc4de CardFactoryUtil: enters the battlefield tapped use ETBReplacement now 2016-10-30 13:38:24 +00:00
Hanmac
b57255b860 CardFactoryUtil: fixed some bugs with Morph and Manifest 2016-10-30 12:13:18 +00:00
Hanmac
49f73d51f4 CardFactoryUtil: move Awaken and Epic to new Format
both use appendSubAbility now, and Awaken uses Keyword for ReminderText
2016-10-30 11:39:17 +00:00