Commit Graph

35745 Commits

Author SHA1 Message Date
Seravy
b51ca84a8f Adding to cards where needed (and removing from cards where it isn't safe to rely on one copy, like Moat) 2018-02-11 00:28:22 +01:00
Seravy
3a9af0480d Improves "NonStackingEffect" Svar behavior for the AI.
The AI will now not play a second copy of these cards if and only if, there is no copy of the card owned by that AI in play, except copies that are enchanted by Auras owned by other players.
Later, a better logic that actually determines whether the enchanting aura removes the relevant ability from the card or not should be added - Warp Artifact will not stop a disk from activating, but Arrest will (if it's a creature).

Note : Only add NonStackingEffect to permanents the AI shouldn't play more than one of at a time if and only if, removal of enchantment is not pontentially leathal to the AI.
For example, do not add to Ensnaring Bridge or Moat, as loss of those allows the enemy to swing with possibly accumulated large armies for likely too much damage.
Those cards will need a different logic, that avoids playing a second copy if and only if the threat the card protects from is already too dangerous.
2018-02-10 23:21:03 +01:00
Seravy
36917c0d18 Fixes compile/run bugs in IntelliJ 2018-02-08 10:25:17 +01:00
Michael Kamensky
d474e6b8bb Merge branch 'assorted-fixes' into 'master'
- Do not allow the human to confirm a Reveal cost with 0 revealed cards (e.g. Morph - Reveal a green card when the player has no green card in hand)

See merge request core-developers/forge!167
2018-02-07 16:56:21 +00:00
Agetian
c3b655f675 - Do not allow the human to confirm a Reveal cost with 0 revealed cards if the minimum is more than zero (fixes e.g. Morph costs with "Reveal a X card" when the human player doesn't have that kind of card in hand). 2018-02-06 22:17:48 +03:00
Michael Kamensky
8b26deb477 Merge branch 'assorted-fixes' into 'master'
- Fixed the AI trying to e.g. Embalm a Vizier of Many Faces ignoring NeedsToPlay

See merge request core-developers/forge!166
2018-02-05 05:34:10 +00:00
Agetian
21fedd0d50 - Fixed Illusion of Choice. 2018-02-05 08:21:02 +03:00
Agetian
ecd4a5dedd - Fixed the AI trying to e.g. Embalm a Vizier of Many Faces ignoring the NeedsToPlay SVar requirement. 2018-02-04 20:24:51 +03:00
Hanmac
047ee71259 Card: Planeswalker + Creature get extra damage
Signed-off-by: Hanmac <hanmac@gmx.de>
2018-02-02 23:52:11 +01:00
Michael Kamensky
1b97eb777c Merge branch 'mobile-release' into 'master'
- Preparing Forge for Android publish 1.6.6.003 [incremental/bugfixes].

See merge request core-developers/forge!165
2018-01-31 10:54:51 +00:00
Agetian
cd31c4e513 - Preparing Forge for Android publish 1.6.6.003 [incremental/bugfixes]. 2018-01-31 13:54:05 +03:00
Hans Mackowiak
1582f5a7bd Merge branch 'assorted-fixes' into 'master'
- Indirect aura attachment: fix Sovereigns of Lost Alara not attaching Cartouches

See merge request core-developers/forge!164
2018-01-31 06:01:00 +00:00
Agetian
32facbbc74 - Indirect aura attachment: check by aura controller if aura activating player check fails, fixes Sovereign of Lost Alara not being able to attach a Cartouche. 2018-01-31 08:00:26 +03:00
Michael Kamensky
7696b9d69c Merge branch 'assorted-fixes' into 'master'
- AiController: a more robust check for potential targets (e.g. Wicked Akuba)

See merge request core-developers/forge!161
2018-01-31 04:57:08 +00:00
Michael Kamensky
d2e1d5aacb Merge branch 'patch-3' into 'master'
Masters 25

See merge request core-developers/forge!163
2018-01-31 04:18:08 +00:00
Michael Kamensky
e70affe6c3 Merge branch 'upcoming_rix2' into 'master'
Updates to card-based deck generation data and improvements to handling of…

See merge request core-developers/forge!162
2018-01-31 04:17:05 +00:00
Rob Schnautz
d38f9c39e4 Add new file 2018-01-30 23:02:54 +00:00
austinio7116
f7209ef32c Updates to card-based deck generation data and improvements to handling of non-basic land selection in those decks 2018-01-30 22:33:40 +00:00
Agetian
1f10ba936a Merge remote-tracking branch 'origin/assorted-fixes' into assorted-fixes 2018-01-30 23:36:36 +03:00
Agetian
0332975a9a - Reset activations when cloning things with Saheeli Rai (fixes e.g. Saheeli Rai cloning a Saheeli Rai under Liquimetal Coating not able to activate its abilities) 2018-01-30 23:18:07 +03:00
Agetian
369c4f77a0 - AiController: a more robust check for potential targets in order to avoid the AI activating an ability it can't legally target due to restrictions (e.g. Wicked Akuba). 2018-01-30 19:26:14 +03:00
Michael Kamensky
d8a284ebb9 Merge branch 'unstable-basic-lands' into 'master'
- Render Unstable basic lands borderless.

See merge request core-developers/forge!160
2018-01-30 16:22:08 +00:00
Agetian
dca62ce725 - AiController: a more robust check for potential targets in order to avoid the AI activating an ability it can't legally target due to restrictions (e.g. Wicked Akuba). 2018-01-30 19:20:24 +03:00
Michael Kamensky
1c64ebd05b Merge branch 'upcoming_rix2' into 'master'
Added HOU, XLN and RIX image file paths to the lists for quest mode

See merge request core-developers/forge!159
2018-01-30 15:39:53 +00:00
Agetian
0727c83a43 - Render Unstable basic lands borderless. 2018-01-30 18:14:06 +03:00
maustin
eb4a8caefc Removed unneeded targeting of opponent in Huatli Radiant Champion 2018-01-30 12:51:53 +00:00
Michael Kamensky
253efc6c6d Merge branch 'assorted-fixes' into 'master'
Several card fixes and an AI pump prediction fix

See merge request core-developers/forge!158
2018-01-30 10:45:28 +00:00
Agetian
d8be06c165 - Fixed Battle at the Bridge SpellDescription. 2018-01-30 13:17:43 +03:00
Agetian
e02baac897 - Fixed Wandering Fumarole not gaining its {0} ability properly 2018-01-30 13:17:32 +03:00
Agetian
46f19b6079 Merge remote-tracking branch 'origin/assorted-fixes' into assorted-fixes 2018-01-30 13:12:32 +03:00
austinio7116
2f3ba53a89 Added HOU, XLN and RIX image file paths to the lists for quest mode 2018-01-30 08:56:48 +00:00
Agetian
b763e06560 - AiAttackController: Don't check targeting restrictions if the ability doesn't target. 2018-01-30 08:45:25 +03:00
Agetian
2447ea4fb0 - AiAttackController/AiBlockController: do not count activated abilities that can't target the attacker/blocker when trying to predict P/T bonus from AF Pump (fixes the AI suicide attacking/blocking with cards like Pia Nalaar) 2018-01-30 08:45:25 +03:00
Agetian
75f86352be - AiAttackController: Don't check targeting restrictions if the ability doesn't target. 2018-01-30 08:44:16 +03:00
Agetian
19dd58d1d3 - AiAttackController/AiBlockController: do not count activated abilities that can't target the attacker/blocker when trying to predict P/T bonus from AF Pump (fixes the AI suicide attacking/blocking with cards like Pia Nalaar) 2018-01-30 08:34:01 +03:00
Hanmac
68843db5b8 Card: changed how instant and Sorcery show keywords 2018-01-29 22:52:02 +01:00
Hanmac
586c2eb9b0 cards: update Buyback scripts 2018-01-29 22:50:07 +01:00
Hanmac
156cdf812d CardFactoryUtil: use : for Buyback, make some effect Secondary 2018-01-29 22:49:51 +01:00
Michael Kamensky
5e6d9749fb Merge branch 'patch-3' into 'master'
Quick Start Set: Rivals

See merge request core-developers/forge!157
2018-01-29 05:00:54 +00:00
Rob Schnautz
2392aeeb0c Add new file 2018-01-28 20:01:16 +00:00
Hanmac
5a29b05e88 CardFactoryUtil: move Totem Armor to ReplacementAbilities 2018-01-28 14:40:37 +01:00
Hanmac
90b46f4c0f Card & CardState: add has functions to check for SpellAbility, Trigger and ReplacementEffects 2018-01-28 12:31:13 +01:00
Michael Kamensky
1281af0994 Merge branch 'assorted-fixes' into 'master'
- Fixed a compile time error caused by an unused import statement.

See merge request core-developers/forge!156
2018-01-28 08:47:48 +00:00
Agetian
b31069866a - Fixed a compile time error caused by an unused import statement. 2018-01-28 11:30:29 +03:00
Michael Kamensky
00f896bbb4 Merge branch 'patch-2' into 'master'
remove Code2, not needed for this.

See merge request core-developers/forge!154
2018-01-28 06:47:54 +00:00
Michael Kamensky
cd5c03926f Merge branch 'deck-descriptions' into 'master'
Deck descriptions

See merge request core-developers/forge!155
2018-01-28 06:46:20 +00:00
Rob Schnautz
11218913a4 description, premium Aegis Angel 2018-01-28 03:00:13 +00:00
Rob Schnautz
0a039e4f53 description 2018-01-28 02:40:17 +00:00
Rob Schnautz
7e37b3d760 description, premium Grove of the Guardian 2018-01-28 02:37:52 +00:00
Rob Schnautz
d577c229e3 description, premium Noosegraf Mob 2018-01-28 02:36:51 +00:00