Commit Graph

32619 Commits

Author SHA1 Message Date
pfps
8401eca0ec Don't show sa descriptions in prompt area if they are only one character. (But why is this rogue blank getting into the description?) 2017-01-22 14:04:34 +00:00
Hanmac
9926c8578f Mind Whip: add References 2017-01-22 14:00:44 +00:00
Agetian
7ba35a9e3c - Fixed fullscreen resolution init file not being loaded properly for forge-gui-mobile-dev 2017-01-22 13:41:43 +00:00
Agetian
991522655f - Removing non-existent subability from Demonic Hordes. 2017-01-22 13:18:37 +00:00
Hanmac
3e4909cffe fixed Footsteps of the Goryo 2017-01-22 13:04:37 +00:00
Agetian
61b06410ea - The AI should not try to illegally target a player in case it can't find any other legal target to provide (e.g. Muck Drebb + Lightning Bolt to the face). 2017-01-22 11:14:45 +00:00
Hanmac
b62dad0793 PlayEffect: remove isEncoded because its not needed anymore 2017-01-22 10:51:36 +00:00
Agetian
257cd5116e - Updating Cipher cards (IsEncoded parameter is no longer necessary). 2017-01-22 10:46:46 +00:00
Hanmac
8a59cf3b33 EncodeEffect: don't activate if host is a Token (copy of spell) 2017-01-22 10:08:28 +00:00
Agetian
0ef430763b - Fixed Spellskite crashing upon trying to retarget a SA with DividedAsYouChoose. 2017-01-22 09:41:40 +00:00
Agetian
b251f47347 - Fixed Trait Doctoring (currently wrote the DB Encode ability similar to how it's written on other Cipher cards, not sure if there's a bigger issue with it underneath) 2017-01-22 09:33:27 +00:00
Hanmac
ccb01399a2 Hoarders Greed: fixed card, because older format does not work anymore 2017-01-22 09:33:26 +00:00
Hanmac
56df189b9c fixed Variant type of Gisela deck 2017-01-22 09:19:19 +00:00
Hanmac
2a9def0a89 ChangeTargetsAi: make PhyrexianManaCheck more generic and update to new SpellAbilityAi format 2017-01-22 07:16:15 +00:00
Hanmac
59352ef487 ManaCost: add more functions for Phyrexian Mana 2017-01-22 07:15:05 +00:00
Agetian
5926cf9788 - Simpler test for Phyrexian mana shard in ChangeTargetsAi. 2017-01-22 06:36:18 +00:00
Agetian
359a5f343b - More crash prevention in ChangeTargetsAi. 2017-01-22 05:58:30 +00:00
Agetian
6867295a87 - Imports cleanup. 2017-01-22 05:57:27 +00:00
Agetian
2c39506879 - Some crash prevention in ChangeTargetsAi, the AI needs further improvement here if we're to teach it to retarget spells with multiple targets.
- Generalized ChangeTargetsAi not to mention Spellskite by name (so other creatures can gain its ability and be correctly used by the AI) and also not to use AI Logic and detect the ability via DefinedMagnet instead.
- Marking Muck Drubb as AI playable.
2017-01-22 05:56:30 +00:00
Agetian
13793ecf6f - Fixed logic in CostPayEnergy (fixes e.g. Confiscation Coup). 2017-01-22 04:23:44 +00:00
pfps
c425a08d58 Try to remove extra newline(s) at end of targetting prompts 2017-01-21 21:15:11 +00:00
Agetian
13c92798d8 - Fixed the name of the activating player not appearing in the AF Cipher description.
- Still need to somehow fix the fact that "...<player> chooses the card to encode" part appears in the stack description of the copied spell (it shouldn't).
2017-01-21 19:37:26 +00:00
Agetian
1e200bbcba - Formatting fix. 2017-01-21 19:21:23 +00:00
Agetian
828359c0bc - Fixed NPEs in the new prompt input code (we should not assume that SA vars will be filled in at all times). 2017-01-21 19:20:46 +00:00
Agetian
001b6aea84 - One more addition/cleanup in SpecialCardAi. 2017-01-21 18:20:17 +00:00
Agetian
bdf1660e1d - Some cleanup in SpecialCardAi. 2017-01-21 18:17:39 +00:00
Agetian
80097c5221 - Use a lessCMC predicate in SpecialCardAi.ForceOfWill#consider. 2017-01-21 18:16:15 +00:00
Agetian
9b25ce3cc6 - Fixed logic in CombatUtil#canBlock 2017-01-21 17:53:21 +00:00
pfps
97fe0ec046 Separate prompt from card descriptions in prompt area 2017-01-21 17:39:32 +00:00
Agetian
c06cbbfe0f - Made Mizzium Meddler use AI SpellMagnet and thus made it AI-playable. 2017-01-21 17:27:12 +00:00
pfps
dfbd677bf0 Tiny fix when showing abilities with no description in prompt pane 2017-01-21 17:18:52 +00:00
pfps
5924706b1a Move several confirm popups to prompt pane - required modifying prompt pane to have a cardview instead of a spellabilityview 2017-01-21 16:28:11 +00:00
Hanmac
ca45bf3da5 AbilityUtils: make calculateAmount with Triggered use getDefinedCards which does handle Trigger before
CardUtil: need to set CopiedPermanent for LKICopy
Scrap Trawler: use TriggeredCardLKICopy which might be more correct
2017-01-21 14:52:05 +00:00
Agetian
7beb11ad09 - Committing the previously missing PlayerPredicates update. 2017-01-21 14:41:08 +00:00
Agetian
9dfc0053ff - Allow the AI to pay phyrexian mana for Gut Shot if it deals a killing blow to an opponent. 2017-01-21 14:40:11 +00:00
Agetian
e864600058 - Preventing the AI from spending Phyrexian mana on some abilities on CMC 1 cards with Phyrexian-only mana that are not typically wise to spend Phyrexian on and the AI would generally use the possibility at inappropriate times. 2017-01-21 14:30:02 +00:00
Agetian
68641a0cfe - Implemented basic "spell magnet" AI (currently used by Spellskite).
- Made the AI able to pay mana costs consisting of only phyrexian mana symbols in absence of relevant colored mana sources (e.g. Mutagenic Growth, Spellskite activated ability).
- Fixed the AI killing itself when paying phyrexian mana while being at 2 life (we might want to consider actually implementing a certain "safe limit" above 2 life, maybe 4 or 5 life, at least outside the range of a typical burn spell).
2017-01-21 14:14:16 +00:00
Agetian
c587ec8cb6 - Fixed Parting Thoughts. 2017-01-21 11:27:34 +00:00
Agetian
a714af3a9c - AI should not ignore AF CopySpellAbility if it's a mandatory (e.g. triggered) activation. Fixes Precursor Golem and possibly other similar cards when they are controlled by the AI. 2017-01-21 10:14:04 +00:00
Hanmac
2f3d1026bc CardPredicates: add greaterCMC and lessCMC which does respect SplitCards 2017-01-21 09:28:18 +00:00
Agetian
32327187fa - Trying a smaller value for Targeting Overlay update rate once more, some additional testing needed. 2017-01-21 08:52:40 +00:00
Agetian
566ed71105 - Updated SpecialCardAi to use custom predicates for CMC checks. 2017-01-21 08:48:34 +00:00
excessum
5a6969b4c1 - Fixed whitespace for r33298 2017-01-21 08:37:44 +00:00
excessum
7fd46af03f - Fixed AI for Fatal Push 2017-01-21 08:34:34 +00:00
Agetian
9914c53016 - Setting Max Consecutive Updates to 3 in desktop Targeting Overlay, should get rid of the cases of "missing targeting arrows". 2017-01-21 06:01:07 +00:00
Agetian
7266a4f34e - Removing debug input. 2017-01-21 04:28:08 +00:00
Agetian
b98688eeed - Jabba the Hut -> Jabba the Hutt
- Please note that this changes the file name for the quest icon, we need to update this accordingly on the server.
2017-01-21 04:10:35 +00:00
Sol
00220845a3 - Fix description of Quicksmith Spy 2017-01-21 01:18:27 +00:00
pfps
ab867a40ee Better prompt messages for confirming optional triggers 2017-01-20 20:19:31 +00:00
Agetian
cc9e2caf2d - Imports formatting. 2017-01-20 19:18:44 +00:00