Commit Graph

31374 Commits

Author SHA1 Message Date
Hanmac
561e656c44 Player: add OpponentOf to get the Opponents of a defined value 2016-10-07 08:31:35 +00:00
Hanmac
737fae947d PumpAiBase: updated isUsefulCurseKeyword to remove getOpponent
refactor Combat related stuff, for AI attacking, the card's controller need to be the one attacked.
2016-10-07 08:23:20 +00:00
Agetian
09b0db74cc - Added PLOT counter type for Deadly Designs. 2016-10-07 04:28:37 +00:00
Sol
c7428f4ea2 - Fix description 2016-10-06 20:29:21 +00:00
Agetian
cb9f92d419 - Kozilek's Pathfinder AI improvement: the AI should not consider the "target creature can't block CARDNAME this turn" ability if the source of the ability is tapped and not attacking. 2016-10-06 20:24:34 +00:00
Hanmac
d2fb20b341 ChangeZoneEffect: Ninjutsu need to attack the same Defender as Returned Creature 2016-10-06 15:51:04 +00:00
Hanmac
649305d7c2 cards: update Wormfang Crab with choosePlayer and ExiledWith 2016-10-06 10:30:11 +00:00
Hanmac
a8acd31ac6 cards: whirlpool warrior: use Winds of Change 2016-10-06 10:13:19 +00:00
Hanmac
4b55521488 cards: wharf infiltrator: fix layout and add DeckHints 2016-10-06 09:50:00 +00:00
Hanmac
565781e927 cards: Search for Survivors select opponent 2016-10-06 09:44:59 +00:00
Hanmac
a6c320c8e7 cards: Planeswalker's Fury use ParentTarget 2016-10-06 09:44:16 +00:00
Hanmac
42def1b481 cards: fixed Fateseal for selecting player first 2016-10-06 09:30:26 +00:00
Hanmac
91010ac4f5 cards: Last Stand has target opponent 2016-10-06 09:18:31 +00:00
Hanmac
199794a1ee cards: some oracle update 2016-10-06 09:16:57 +00:00
Hanmac
955e775d89 cards; Syphon Mind and Syphon Soul uses Other Player, not Opponent 2016-10-06 09:15:53 +00:00
excessum
c88cb274ae - Implemented AI for "can't block CARDNAME this turn" abilities (eg. Kozilek's Pathfinder) 2016-10-06 02:40:43 +00:00
excessum
b962bc9ca6 - Stopped AI from crewing vehicles with stronger or equal (ie. crew vehicle with another copy of crewed vehicle) creatures 2016-10-06 02:25:15 +00:00
Hanmac
d3faa45ab1 QuestUtilCards: fixed wasteCodes 2016-10-05 20:49:25 +00:00
Sol
47530518bb - Make Wastes always available in the spell shop 2016-10-05 20:14:56 +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
Hanmac
e58c4f815d Remorseless Punishment: use ; for Sac Cost 2016-10-05 11:44:35 +00:00
Hanmac
2898925011 HumanPlay: Fixed Sac<> in payCostDuringAbilityResolve 2016-10-05 11:43:12 +00:00
Agetian
1f06a098bf - Adding an AI preference to Harvester Troll per Hanmac's recommendation to temporarily work around the "sacrifice self" issue. 2016-10-05 11:27:12 +00:00
Agetian
ff89390820 - Reverted r32268, doesn't work nearly as well as expected (main problems: if nothing is sacrificed, the creature still gets counters; the AI will happily sac a much more powerful creature instead of deciding not to sac anything if it has e.g. one other creature on the battlefield). 2016-10-05 10:10:06 +00:00
Agetian
4496371a75 - Attempted to fix Harvester Troll AI, currently by adding an extra AI logic parameter that makes the AI skip the ETBing card itself when considering what to sacrifice.
- This should ideally be somehow generalized (e.g. somehow detect that an ability is an ETB ability which is either optional or has other possible targets?) and automatically work for all creatures that have an ETB sacrifice ability. A more generic solution would be highly appreciated.
2016-10-05 09:07:03 +00:00
Hanmac
5e2932ba62 CardDb: add AltName for Cards, specially the AEther one 2016-10-05 08:46:45 +00:00
Agetian
cafbd74e14 - Fixed Remorseless Punishment unless cost for "sacrifice a creature or planeswalker" + fixed choice descriptions. 2016-10-04 18:49:28 +00:00
Sol
3a510cbf4c - Improve Goblin Kites script 2016-10-04 15:34:41 +00:00
Hanmac
396f3d4096 DamageDealAI: fixed source for Energy Counter 2016-10-04 12:37:25 +00:00
excessum
04fd286627 - Implemented AI for Harnessed Lightning 2016-10-04 12:20:24 +00:00
Hanmac
c4f1caa790 cards: updated some "play" to "cast" things
that should not be make a difference because lands can't be played with flash.
2016-10-03 19:46:33 +00:00
Hanmac
05b337bdac cards: update old cards to monkey 2016-10-03 13:30:04 +00:00
excessum
27a3640c17 - Removed unwanted file from r32259 2016-10-03 12:33:12 +00:00
excessum
2ecfa4259d - Re-factored Vehicle animation logic into ComputerUtilCost.canPayCost() 2016-10-03 12:30:46 +00:00
excessum
4236cbf55a - Removed RemAiDeck for Selfless Spirit and Verdurous Gearhulk, AI is quite capable of using them 2016-10-03 10:52:35 +00:00
Hanmac
3db793be4e Energy Vortex uses Vortex Counters instead of Energy Counters now 2016-10-03 10:25:24 +00:00
Hanmac
28fd48e8d2 ComputerUtilCombat: canCrew now checks if the creatures can crew a vehicle, also use CardLists functions to clean up the code 2016-10-03 08:09:48 +00:00
Hanmac
e51c72d85a cards: update Homing Sliver to use new cycling 2016-10-02 20:56:27 +00:00
Hanmac
fda43166c8 CardFactoryUtil: update cycling to new format 2016-10-02 20:55:24 +00:00
Hanmac
8c3cc34183 cards: fixed Built to Last 2016-10-02 11:30:02 +00:00
Sol
3591d65ca9 - Temporarily set AEther Tradewinds back 2016-10-02 02:20:21 +00:00
Sol
a5d4de0a17 - Fix condition on Built to Smash 2016-10-02 02:15:01 +00:00
Sol
e053dceb05 - Fix Ripscale Predator oracle 2016-10-02 02:03:04 +00:00
Agetian
7a21c34259 - A somewhat cleaner distinction between normally adding a cost part and doing it in a hacky way for the purpose of EnchantedCost/ExiledCost. 2016-10-01 06:21:40 +00:00
Agetian
adbfea1e3d - More elegant typecasting related to the previous commit. 2016-10-01 06:17:05 +00:00
Agetian
bda9baa4fc - Trying to fix cards like Back from the Brink and Merseine resulting from incorrect copying of mana costs with \EnchantedCost or \Exiled restrictions.
- This is a hack, not sure if it works well enough and doesn't break anything, there's probably a better and more elegant way to fix this, please review.
2016-10-01 06:08:20 +00:00
Sol
76c4a7725e - Add very basic logic for Divine Reckoning 2016-10-01 02:26:17 +00:00
Sol
5ddd2a7fff - Fix issue with isMonarch on triggers using the wrong parameters 2016-10-01 00:16:46 +00:00
Sol
85e9080b12 - Updating KLD and FEM rankings 2016-09-30 21:26:03 +00:00
mcrawford620
ce00f14bad Deck hints for Return to Ravnica 2016-09-30 20:11:56 +00:00