Commit Graph

3230 Commits

Author SHA1 Message Date
Hanmac
80963222d1 CopyPermanent: add Param for Chooser 2018-06-03 13:42:38 +02:00
Hanmac
ccb5e6d6a5 AssignGroup API: use for Friend or Foe 2018-06-02 20:36:37 +02:00
Hanmac
e97b814089 chooseSingleSpellAbility has map params now 2018-06-02 20:34:04 +02:00
Hanmac
6cb14c2568 Card: add removeRemembered for Iterable 2018-06-02 20:24:03 +02:00
Agetian
176c5f1871 - Simple AI support for Krav, the Unredeemed. 2018-06-02 16:44:28 +03:00
Hanmac
0b72fee8a3 Player: use sameTeam logic 2018-05-31 20:42:16 +02:00
austinio7116
e6af43b060 Implemented hand filtering properly using deck land ratio
Made hand filtering optional and disabled by default
2018-05-30 07:19:54 +01:00
austinio7116
14ba4e6894 Removed flicker when filtering starting hand 2018-05-30 06:50:25 +01:00
austinio7116
18e2d127be Experimental MTG Arena style double hand filtering 2018-05-30 06:50:25 +01:00
Hanmac
570677fe15 Player: added LifeGainedByTeamThisTurn logic 2018-05-30 07:17:04 +02:00
Hanmac
a5848f4467 FlipCoin: fixed if it has no SubAbility 2018-05-30 07:17:04 +02:00
swordshine
1b7bdd2e57 - Added Demon/Angel Partners 2018-05-28 22:40:34 +08:00
swordshine
52d3318a9c - Updated some scripts for multiplayer 2018-05-28 21:35:19 +08:00
Agetian
053726519c - Simple AI logic extension to make the Partner With commanders AI-playable. 2018-05-27 17:29:57 +03:00
Hanmac
ef96037555 Partner with: fixed , to ; replace 2018-05-27 14:56:45 +02:00
Hanmac
6481842482 Partner with: added Logic into CardRules and added Trigger 2018-05-27 13:42:16 +02:00
Hanmac
907825f53b Token & CopyPermanent: fixed RE changing controller 2018-05-26 18:19:15 +02:00
Michael Kamensky
32d276cb7e Merge branch 'cardTypeIntrinsic' into 'master'
Card type intrinsic

See merge request core-developers/forge!588
2018-05-26 15:26:20 +00:00
Hanmac
599407ff14 Cards: more on Animate Types, remove OverwriteTypes 2018-05-26 16:35:07 +02:00
Michael Kamensky
1a8b0bded3 Merge branch 'master' into 'master'
BBD: Added some cards

See merge request core-developers/forge!587
2018-05-26 13:27:45 +00:00
Hanmac
51a0a9e70a CardType: fixed seting specific SubTypes 2018-05-26 15:07:52 +02:00
Hanmac
8d3c4ff443 add TargetedOrController for spells that target player or planeswalker, extend OwnedBy and ControlledBy 2018-05-26 13:39:48 +02:00
Hanmac
31113133fc Oracle: update base code for their effects 2018-05-26 13:38:55 +02:00
swordshine
00360e55d2 - Added some cards 2018-05-26 13:02:23 +08:00
Hans Mackowiak
5a68bc4b79 Integer.max can't be used use Math.max 2018-05-23 20:17:07 +00:00
Hans Mackowiak
187256cdb7 fixed Deprecated warning 2018-05-22 15:25:42 +00:00
Hanmac
2973214976 CardTraitBase: make sVars cloneable, use in SpellAbility 2018-05-21 22:45:03 +02:00
Hanmac
8d03b23eb4 Suspend: reworked suspend, no need for SuspendCast anymore, Haste is done as Pump Effect 2018-05-21 18:14:20 +02:00
Michael Kamensky
9aeed6ac31 Merge branch 'counterGameCheck' into 'master'
Put Counter Effects check Game State

Closes #548

See merge request core-developers/forge!568
2018-05-20 17:14:43 +00:00
austinio7116
2b49f70ae3 Attempt to fix BoosterUtils Extended format issue in quests 2018-05-20 17:55:45 +01:00
Hanmac
3b5d273409 CounterEffects: use gameState and timestamp checks 2018-05-20 11:33:18 +02:00
Hanmac
8e7f055b59 try Spell.performanceMode only for other player, enable Bestow and Morph 2018-05-19 10:26:45 +02:00
Hanmac
ece779c88e unSuppress basicLandAbilities 2018-05-19 10:21:01 +02:00
Hanmac
c1da970c47 Card: move Abilities to Card and only create them once 2018-05-19 10:21:01 +02:00
Michael Kamensky
3505047c9b Merge branch 'brawlruleschanges' into 'master'
New Brawl rules updates

See merge request core-developers/forge!564
2018-05-19 05:25:26 +00:00
austinio7116
1458184500 New Brawl rules updates 2018-05-18 23:29:15 +01:00
Alexei Svitkine
63210a42b0 fix merge 2018-05-18 10:58:02 -04:00
Alexei Svitkine
09900a3457 Merge remote-tracking branch 'upstream/master' 2018-05-18 10:53:23 -04:00
Alexei Svitkine
7071be93f7 fix unit tests with anti flicker fixes, by having CurrentState be
settable when frozen if it's null
2018-05-18 10:40:30 -04:00
Alexei Svitkine
96a7d7d0d2 Prevent views flickering during gameplay when state-based affects
change card state (e.g. Painter's Servant, Ambush Commander, etc)
2018-05-18 10:02:16 -04:00
Michael Kamensky
ed034bdec7 Merge branch 'performancemode' into 'master'
Bandaid temporary performance preference to disable additional static abilities…

See merge request core-developers/forge!558
2018-05-16 04:43:30 +00:00
Sol
bbd8c0c752 Merge branch 'historicformats' into 'master'
Formatting and preparation of historicformats

See merge request core-developers/forge!342
2018-05-16 01:40:34 +00:00
austinio7116
e51fdd8c56 Bandaid temporary performance preference to disable additional static abilities checks when checking mayplay to support better performance on Mobile and for multiplayer
(cherry picked from commit 3e6a2e9)
2018-05-15 20:51:09 +01:00
austinio7116
8c695fd4d9 Added configurable option to enable/disable historic formats 2018-05-15 19:46:28 +01:00
Hans Mackowiak
7823c28540 Merge branch 'EquipRework' into 'master'
Equip Bludgeon Brawl

See merge request core-developers/forge!553
2018-05-15 09:15:10 +00:00
Hans Mackowiak
5bfb8aa8ac Game: FIX CardStateVisitor 2018-05-14 17:43:30 +00:00
Hanmac
790a461622 CardType: add removeArtifactTypes for Bludgeon Brawl
Equip: rework it to make Equip legendary creature better, also use AttachAi
2018-05-12 21:03:15 +02:00
Agetian
5c03d27538 - Fixed the AI trying to target Illusions from Jace, Cunning Castaway with buff spells.
- Fixed a NPE when a spell fizzles on a temporary object such as token for which getCardState would return null once it ceases to exist.
2018-05-12 16:20:27 +03:00
Michael Kamensky
2e8ee84485 Merge branch 'tokeninfo-color-fix' into 'master'
Fixed token color information processing which is critical for Puzzle Mode

See merge request core-developers/forge!548
2018-05-11 17:33:35 +00:00
Hans Mackowiak
fb1c545a98 Merge branch 'hasKeywordEnum' into 'master'
Card: add Keyword methods that work with Keyword Enum

See merge request core-developers/forge!535
2018-05-11 11:34:15 +00:00