mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
Protect only if we are actually needing to protect the card the ability will work on.
This commit is contained in:
@@ -180,7 +180,7 @@ public class ProtectAi extends SpellAbilityAi {
|
|||||||
}
|
}
|
||||||
// Affecting single card
|
// Affecting single card
|
||||||
if (cards.size() == 1) {
|
if (cards.size() == 1) {
|
||||||
if ((getProtectCreatures(ai, sa)).size() > 0) {
|
if ((getProtectCreatures(ai, sa)).contains(cards.get(0))) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user