mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 10:18:01 +00:00
- Fix a logic error causing the AI to bounce lands like Dimir Aqueduct back to hand.
This commit is contained in:
@@ -1485,7 +1485,7 @@ public class ChangeZoneAi extends SpellAbilityAi {
|
|||||||
String logic = sa.getParam("AILogic");
|
String logic = sa.getParam("AILogic");
|
||||||
if ("NeverBounceItself".equals(logic)) {
|
if ("NeverBounceItself".equals(logic)) {
|
||||||
Card source = sa.getHostCard();
|
Card source = sa.getHostCard();
|
||||||
if (fetchList.contains(source) && (fetchList.size() > 1 && !sa.getTriggeringAbility().isMandatory())) {
|
if (fetchList.contains(source) && (fetchList.size() > 1 || !sa.getTriggeringAbility().isMandatory())) {
|
||||||
// For cards that should never be bounced back to hand with their own [e.g. triggered] abilities, such as guild lands.
|
// For cards that should never be bounced back to hand with their own [e.g. triggered] abilities, such as guild lands.
|
||||||
fetchList.remove(source);
|
fetchList.remove(source);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user