Commit Graph

31895 Commits

Author SHA1 Message Date
Sol
53bf19e2e6 - Fix Deadlock Trap using wrong parameter 2016-10-18 12:24:34 +00:00
Hanmac
4d53b22a12 AnimateAi: add some logic for animateTgtAI and do some rewriting 2016-10-17 20:35:22 +00:00
Hanmac
6c01612e32 Cerulean Wisps: reorder sub abilities 2016-10-17 20:06:43 +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
facac231e6 - Fix Woodweaver's Puzzleknot missing activated ability description 2016-10-17 17:17:44 +00:00
Hanmac
e66c71226e cards: DigUntil with Target Opponent does need "IsCurse$ True" or else the AI will fail 2016-10-17 12:13:34 +00:00
Hanmac
0367777ff3 cards: fixed Incendiary Command 2016-10-17 11:53:31 +00:00
Agetian
10c8b9d048 - Fixed Engineered Might first mode. 2016-10-16 18:06:09 +00:00
Hanmac
97cfbba74f AnimateAi: replace copyCard with LKI copy 2016-10-16 13:14:41 +00:00
Agetian
a22f11c8ea - Removed duplicate CN2 commits (they are now in their proper folders). 2016-10-15 14:54:16 +00:00
Sol
aea5a9ad62 - Picture typo 2016-10-15 14:47:45 +00:00
Sol
cfc570ce3c - Adding 2 CN2 cards (I'm still very confused on why Hanmac hasn't committed these himself yet) 2016-10-15 14:47:11 +00:00
Hanmac
d657b85fa7 add two missing CN2 cards 2016-10-15 14:23:31 +00:00
Agetian
bd8292a6b4 - Fixed more non UTF-8 list symbols. 2016-10-15 05:57:38 +00:00
Agetian
0cd5937ab4 - Fixed list symbols in Engineered Might. 2016-10-15 05:38:48 +00:00
Hanmac
fadb09fca5 ComputerUtilCost: checkRemoveCounterCost allow Zero Loyality Abilities 2016-10-14 19:39:08 +00:00
Hanmac
8e220c866a MillAi: rewrote AI to work with multiple opponents
also try not to mill zero cards or itself
that should fix some cards
2016-10-14 15:20:00 +00:00
Sol
649953bd1a - Use Collections.sort instead of list.sort 2016-10-14 15:11:57 +00:00
Sol
3f0e630336 - Jilt subability should have 0 targets if its not kicked 2016-10-14 14:37:24 +00:00
Sol
d7947be4c4 - Fix issue with animation setting -1 to unset PT. 2016-10-14 14:24:22 +00:00
Hanmac
18b6701993 Brain in a Jar: add AILogic and use ChosenX 2016-10-14 10:56:44 +00:00
Hanmac
89f86202f7 cards: Clockwork Hydra add References 2016-10-14 10:55:52 +00:00
Hanmac
99bdf33774 SrcyAi: rewrote ScryAi to use new SpellAblityAi logic
add logic for Brain in a Jar
2016-10-14 10:55:18 +00:00
Hanmac
e690bdb3aa ComputerUtilCost: checkRemoveCounterCost now uses SpellAbility too
should not try to remove zero counters if its from Source or if PaymentDecision says zero
AiController: also remove getOpponent
2016-10-14 07:35:28 +00:00
Hanmac
94431e308c ComputerUtil: for CardPreference, don't use random, try to choose the worst card 2016-10-14 07:28:06 +00:00
Hanmac
a46d59d4b0 Card & CardPredicates: make hasCMC work with SplitCards 2016-10-14 07:24:16 +00:00
Sol
f2b58e3093 - Fix Spell Description for Metallurgic Summonings 2016-10-13 12:27:37 +00:00
Hanmac
5fb917e62b ManifestAi: rewrote it to use new SpellAbilityAi logic
also add some logic if ai can see its top card
2016-10-13 11:29:24 +00:00
Hanmac
60221cd5a7 AttachAi: add checks for canBeEnchantedBy and canBeEquippedBy 2016-10-12 13:30:12 +00:00
Hanmac
225301db64 CardPredicates: add canBeEnchantedBy and canBeEquippedBy 2016-10-12 13:28:13 +00:00
Hanmac
a9605ee3a0 cards: add DeckHints to cards with Fabricate, also fix TriggerDescription 2016-10-12 11:34:09 +00:00
Hanmac
bd9f7229ce Honorable Scout: fixed references 2016-10-12 11:27:22 +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
aae21a1653 Break of Day: fixed Fateful Hour condition 2016-10-11 15:04:22 +00:00
Hanmac
f9767cca3d Aetherborn Marauder: added References 2016-10-11 09:22:52 +00:00
Hanmac
55eebd3513 Underhanded Designs: add References$ X 2016-10-11 09:19:02 +00:00
Hanmac
120f16b512 cards: Dragonlair Spider add TokenImage and updated oracle 2016-10-11 09:17:00 +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
085d752460 Optimize doesCreatureAttackAI() by not simulating combat each time the question is asked. Instead, cache the Combat object and only reset each time we're choosing which ability to play.
This speeds up games that have lots of creatures as before this change, the combat simulation would be done multiple times redundantly.
2016-10-09 22:34:43 +00:00
Myrd
9e84290281 Fix some warnings. 2016-10-09 22:17:24 +00:00
Hanmac
bda4379e8b ChangeZoneAi: improved SameName for Declaration in Stone
for evaluate the creature lists, need to check them per opponent.
also add checks for isTargetableBy
2016-10-09 18:11:20 +00:00
Hanmac
e3d0e6ebfe ComputerUtilCard: add evaluateCreatureListByName 2016-10-09 17:23:06 +00:00
Agetian
b3a49e005f - For now, disregard both -1 and Integer.MAX_VALUE when rendering integer components in a table.
- Unfortunately, this means that Spinal Parasite does not have its P/T visualized in the deck editor table; but at least there won't be a lot of -1's elsewhere in the editor. Couldn't find a way to fix both of these at the same time for now.
- Revert processing default CMC as Integer.MAX_VALUE for the UI purposes.
2016-10-09 15:17:58 +00:00
Agetian
2b73fb48f4 - Removed unnecessary import. 2016-10-09 14:45:14 +00:00