Commit Graph

2240 Commits

Author SHA1 Message Date
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
Hanmac
ffa1495228 CharmEffect: use appendSubAbility 2016-10-30 11:34:24 +00:00
Hanmac
2c1ef7bbe1 SpellAbility: clone now makes a DeepCopy of the SubAbilities too
GameActionUtil: no need to copy the Subabilities extra and use appendSubAbility
CardFactory: no need to copy
2016-10-30 11:33:01 +00:00
Hanmac
9ce2106248 SpellAbilityCondition: removed DragonPresence which is not used anymore that way 2016-10-30 11:25:37 +00:00
Hanmac
563a4b075e CardFactoryUtil: move Vanishing to new Trigger format
updated Maelstrom Djinn to use new feature, no need for extra trigger
2016-10-30 10:31:39 +00:00
Hanmac
1219cc5e9a StaticAbilityContinuous: fixed KeywordMultiplier for Kemba's Legion 2016-10-29 05:49:53 +00:00
Hanmac
ce38d10307 CardFactoryUtil: make MorphUp and Manifest to Static API abilities in SetState (better for AI)
Suspend use new Trigger Format, better use for the temporal Suspend Effects
2016-10-28 12:55:58 +00:00
Hanmac
f2b68512b3 Card: add manifested property to cards 2016-10-28 12:05:55 +00:00
Hanmac
e587704c1f GameAction: fixed some problem with Suspend Cards and problem with Target Spells 2016-10-28 12:03:36 +00:00
swordshine
0ae7ac1376 - C16: Add 6 cards by Marek14 2016-10-28 11:06:22 +00:00
Hanmac
3989e8a89f TrackableProperty: Fixed Commander Type 2016-10-27 08:22:42 +00:00
Hanmac
d50a9c9e2b Keyword: add Partner as keyword 2016-10-26 14:28:38 +00:00
Hanmac
6caa12079f TriggerHandler: try to fix Marionette Master when it got destroyed with the artifacts 2016-10-26 12:15:44 +00:00
Hanmac
1c91afc974 PlayerView: fixed Cammander Info using TrackableCollection 2016-10-26 11:07:46 +00:00
Hanmac
74ade7435e CardFactoryUtil: add ColorsCtrl to xCount 2016-10-26 08:17:53 +00:00
Hanmac
d1018953cd Player: updated getColoredCardsInPlay, and add second form 2016-10-26 08:16:29 +00:00
Hanmac
4b9388c562 Makes the Game work with more than one Commander 2016-10-25 15:39:52 +00:00
Hanmac
2557715320 CardFactoryUtil: add Stive and Undaunted as Keywords 2016-10-25 08:40:43 +00:00
swordshine
3ec3279b27 - C16: Add Sublime Exhalation (keyword Undaunted) 2016-10-25 02:49:35 +00:00
Sol
d98965f3ed - Fix AI targeting for Blatant Thievery 2016-10-24 16:33:51 +00:00
Hanmac
5eaf01e0b7 GameActionUtil: prevent generic Flashback from working with Spells without cost 2016-10-24 09:12:35 +00:00
Hanmac
32209fc6c0 SpellAbility: add CostDescription function
CharmEffect: add CostDescription into the generated Charm Description
2016-10-24 08:10:35 +00:00
Hanmac
84771d5b47 TriggerHandler: changed OncePerEffect trigger for better checking 2016-10-19 10:36:17 +00:00
Hanmac
6ba369d1db SpellAbilityRestriction:checkZoneRestrictions have it return true for no ZoneRestriction
hopefully it does not break anything
2016-10-19 07:41:03 +00:00
Hanmac
a8654348eb Card: fixed length check for Kicker 2016-10-19 07:02:42 +00:00
Hanmac
5dadfaeda5 Card & CardFactoryUtil: changed Kicker and Multikicker to use better parsable code,
and add better output in the card text, use Reminder text too
2016-10-19 06:53:04 +00:00
Hanmac
68344a8c05 Kicker: do it as extra Keyword class, to do the special cases with double kicker 2016-10-18 21:09:29 +00:00
Agetian
b44cdc33dd - Attempting to fix Spelltwine by adding the information about the source card's controller to the spell copy for CopyMultipleSpells in AB CopySpellAbility. Please review/update if necessary. 2016-10-17 19:43:57 +00:00
Sol
649953bd1a - Use Collections.sort instead of list.sort 2016-10-14 15:11:57 +00:00
Sol
d7947be4c4 - Fix issue with animation setting -1 to unset PT. 2016-10-14 14:24:22 +00:00
Hanmac
a46d59d4b0 Card & CardPredicates: make hasCMC work with SplitCards 2016-10-14 07:24:16 +00:00
Hanmac
225301db64 CardPredicates: add canBeEnchantedBy and canBeEquippedBy 2016-10-12 13:28:13 +00:00
Hanmac
aa7e312229 PhaseHandler: reset ActiveTriggers before the BattleTriggers are check.
That does fix Finest Hour
2016-10-11 16:46:10 +00:00
Agetian
4213e1269d - Looks like combat phases are counted from 0 up? (fixes Finest Hour and possibly other cards that trigger "at first combat phase"). 2016-10-11 16:30:17 +00:00
Hanmac
0f4351952d Card: hide Cycling and TypeCycling in the Keyword list 2016-10-11 15:38:17 +00:00
Hanmac
2b40fdbf3e add Presence Keyword to abilityTextInstantSorcery 2016-10-11 09:14:48 +00:00
Hanmac
05cc9e39c2 CostPayEnergy: fixed toString output using Strings.repeat 2016-10-11 09:06:07 +00:00
Agetian
4ad65061f2 - Set CounterEffect to use the new comparison function (experimental, related to previous commit). 2016-10-10 12:31:52 +00:00
Agetian
f90122bdc9 - Attempting to fix Reality Smasher, Frost Titan, Diffusion Sliver and other similar cards by matching the countered spell instance on the stack to the spell ability by its ID as opposed to target choices. May potentially break something, please assist if possible. 2016-10-10 12:29:36 +00:00
Hanmac
ad397740ae MagicStack: update Active Trigger before card is removed from Stack 2016-10-10 11:44:03 +00:00
Myrd
9e84290281 Fix some warnings. 2016-10-09 22:17:24 +00:00
Agetian
2cd7016703 - More changes related to supporting negative power and toughness, please test to see this doesn't break anything.
- Fixed some visualization issues in the deck editor related to supporting negative P/T (e.g. non-creatures showing up as P/T 2 billion+ / 2 billion+).
2016-10-09 12:05:55 +00:00
Hanmac
9bf8710a2b CardFactoryUtil: add Retrace as Keyword 2016-10-07 10:41:51 +00:00
Hanmac
06522aedbe CardTraitBase & SpellAbility: mapParams need to be copied on clone too so they can be changed. 2016-10-07 10:39:58 +00:00
Hanmac
7ea58267da AbilityUtils: Defined$ Opponent needs to return all Opponents 2016-10-07 08:43:43 +00:00
Hanmac
561e656c44 Player: add OpponentOf to get the Opponents of a defined value 2016-10-07 08:31:35 +00:00
Agetian
09b0db74cc - Added PLOT counter type for Deadly Designs. 2016-10-07 04:28:37 +00:00
Hanmac
d2fb20b341 ChangeZoneEffect: Ninjutsu need to attack the same Defender as Returned Creature 2016-10-06 15:51:04 +00:00
Agetian
0dd3a36ca1 - Attempting to fix Spinal Parasite by adding support for negative power/toughness for creatures.
- Warning: this is an experimental fix which changes several aspects of card loading and P/T get/set functions, may potentially break things. Please test and update as necessary.
2016-10-05 18:11:35 +00:00